Skip to content

Commit 568e01d

Browse files
mulderjeKyleGospocastrojobsherman
authored
chore: pull all build scripts under build_files directory (#177)
Co-authored-by: Kyle Gospodnetich <[email protected]> Co-authored-by: Jorge O. Castro <[email protected]> Co-authored-by: Benjamin Sherman <[email protected]>
1 parent adc4bb6 commit 568e01d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+63
-147
lines changed

Containerfile.common

+7-30
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,24 @@ ARG KERNEL_FLAVOR="${KERNEL_FLAVOR:-main}"
1717
ARG RPMFUSION_MIRROR=""
1818
ARG DUAL_SIGN="true"
1919

20-
COPY build*.sh dual-sign*.sh /tmp/
20+
COPY build_files/common build_files/shared /tmp/
2121
COPY certs /tmp/certs
2222

2323
# cached kernel rpms
2424
COPY --from=kernel_cache /tmp/rpms /tmp/kernel_cache
2525

2626
# files for akmods
27-
COPY ublue-os-akmods-addons.spec /tmp/ublue-os-akmods-addons/ublue-os-akmods-addons.spec
28-
COPY ublue-os-ucore-addons.spec /tmp/ublue-os-ucore-addons/ublue-os-ucore-addons.spec
2927
ADD https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/repo/fedora-${FEDORA_MAJOR_VERSION}/ublue-os-akmods-fedora-${FEDORA_MAJOR_VERSION}.repo \
3028
/tmp/ublue-os-akmods-addons/rpmbuild/SOURCES/_copr_ublue-os-akmods.repo
3129
ADD https://negativo17.org/repos/fedora-multimedia.repo \
3230
/tmp/ublue-os-akmods-addons/rpmbuild/SOURCES/negativo17-fedora-multimedia.repo
3331

3432
RUN --mount=type=cache,dst=/var/cache/dnf \
33+
if grep -qv "surface" <<< "${KERNEL_FLAVOR}"; then \
34+
export KERNEL_NAME="kernel" \
35+
; else \
36+
export KERNEL_NAME="kernel-surface" \
37+
; fi && \
3538
/tmp/build-prep.sh && \
3639
if [[ "${KERNEL_FLAVOR}" =~ "coreos" ]]; then \
3740
/tmp/build-ublue-os-ucore-addons.sh && \
@@ -41,11 +44,6 @@ RUN --mount=type=cache,dst=/var/cache/dnf \
4144
/tmp/build-ublue-os-akmods-addons.sh && \
4245
cp /tmp/ublue-os-akmods-addons/rpmbuild/RPMS/noarch/ublue-os-akmods-addons*.rpm \
4346
/var/cache/rpms/ublue-os/ && \
44-
if grep -qv "surface" <<< "${KERNEL_FLAVOR}"; then \
45-
export KERNEL_NAME="kernel" \
46-
; else \
47-
export KERNEL_NAME="kernel-surface" \
48-
; fi && \
4947
/tmp/build-kmod-framework-laptop.sh && \
5048
/tmp/build-kmod-kvmfr.sh && \
5149
/tmp/build-kmod-openrazer.sh && \
@@ -54,28 +52,7 @@ RUN --mount=type=cache,dst=/var/cache/dnf \
5452
/tmp/build-kmod-xpadneo.sh && \
5553
/tmp/build-kmod-xone.sh && \
5654
/tmp/dual-sign.sh && \
57-
for RPM in $(find /var/cache/akmods/ -type f -name \*.rpm); do \
58-
cp "${RPM}" /var/cache/rpms/kmods/; \
59-
done && \
60-
for RPM in $(find /root/rpmbuild/RPMS/"$(uname -m)"/ -type f -name \*.rpm); do \
61-
cp "${RPM}" /var/cache/rpms/kmods/; \
62-
done && \
63-
find /var/cache/rpms
64-
65-
# Remove kernel version from kmod package names
66-
# FIXME: The sed is a gross hack, maybe PR upstream?
67-
RUN set -e; \
68-
sed -i -e 's/args = \["rpmbuild", "-bb"\]/args = \["rpmbuild", "-bb", "--buildroot", "#{build_path}\/BUILD"\]/g' /usr/local/share/gems/gems/fpm-*/lib/fpm/package/rpm.rb; \
69-
kernel_version=$(rpm -q --qf "%{VERSION}-%{RELEASE}.%{ARCH}\n" kernel-core | head -n 1); \
70-
for rpm in $(find /var/cache/rpms/kmods -type f -name \*.rpm); do \
71-
basename=$(basename ${rpm}); \
72-
name=${basename%%-${kernel_version}*}; \
73-
if [[ "$basename" == *"$kernel_version"* ]]; then \
74-
fpm --verbose -s rpm -t rpm -p ${rpm} -f --name ${name} ${rpm}; \
75-
else \
76-
echo "Skipping $basename rebuild as its name does not contain $kernel_version"; \
77-
fi; \
78-
done
55+
/tmp/build-post.sh
7956

8057
FROM scratch
8158

Containerfile.extra

+3-25
Original file line numberDiff line numberDiff line change
@@ -17,26 +17,25 @@ ARG KERNEL_FLAVOR="${KERNEL_FLAVOR:-main}"
1717
ARG RPMFUSION_MIRROR=""
1818
ARG DUAL_SIGN="true"
1919

20-
COPY build*.sh dual-sign*.sh /tmp/
20+
COPY build_files/extra build_files/shared /tmp/
2121
COPY certs /tmp/certs
2222

2323
# cached kernel rpms
2424
COPY --from=kernel_cache /tmp/rpms /tmp/kernel_cache
2525

2626
# files for akmods
27-
COPY ublue-os-akmods-addons.spec /tmp/ublue-os-akmods-addons/ublue-os-akmods-addons.spec
2827
ADD https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/repo/fedora-${FEDORA_MAJOR_VERSION}/ublue-os-akmods-fedora-${FEDORA_MAJOR_VERSION}.repo \
2928
/tmp/ublue-os-akmods-addons/rpmbuild/SOURCES/_copr_ublue-os-akmods.repo
3029
ADD https://negativo17.org/repos/fedora-multimedia.repo \
3130
/tmp/ublue-os-akmods-addons/rpmbuild/SOURCES/negativo17-fedora-multimedia.repo
3231

3332
RUN --mount=type=cache,dst=/var/cache/dnf \
34-
/tmp/build-prep.sh && \
3533
if grep -qv "surface" <<< "${KERNEL_FLAVOR}"; then \
3634
export KERNEL_NAME="kernel" \
3735
; else \
3836
export KERNEL_NAME="kernel-surface" \
3937
; fi && \
38+
/tmp/build-prep.sh && \
4039
if grep -qv "asus" <<< "${KERNEL_FLAVOR}"; then \
4140
/tmp/build-kmod-zenergy.sh && \
4241
/tmp/build-kmod-evdi.sh \
@@ -58,28 +57,7 @@ RUN --mount=type=cache,dst=/var/cache/dnf \
5857
/tmp/build-kmod-vhba.sh && \
5958
/tmp/build-kmod-VirtualBox.sh && \
6059
/tmp/dual-sign.sh && \
61-
for RPM in $(find /var/cache/akmods/ -type f -name \*.rpm); do \
62-
cp "${RPM}" /var/cache/rpms/kmods/; \
63-
done && \
64-
for RPM in $(find /root/rpmbuild/RPMS/"$(uname -m)"/ -type f -name \*.rpm); do \
65-
cp "${RPM}" /var/cache/rpms/kmods/; \
66-
done && \
67-
find /var/cache/rpms
68-
69-
# Remove kernel version from kmod package names
70-
# FIXME: The sed is a gross hack, maybe PR upstream?
71-
RUN set -e; \
72-
sed -i -e 's/args = \["rpmbuild", "-bb"\]/args = \["rpmbuild", "-bb", "--buildroot", "#{build_path}\/BUILD"\]/g' /usr/local/share/gems/gems/fpm-*/lib/fpm/package/rpm.rb; \
73-
kernel_version=$(rpm -q --qf "%{VERSION}-%{RELEASE}.%{ARCH}\n" kernel-core | head -n 1); \
74-
for rpm in $(find /var/cache/rpms/kmods -type f -name \*.rpm); do \
75-
basename=$(basename ${rpm}); \
76-
name=${basename%%-${kernel_version}*}; \
77-
if [[ "$basename" == *"$kernel_version"* ]]; then \
78-
fpm --verbose -s rpm -t rpm -p ${rpm} -f --name ${name} ${rpm}; \
79-
else \
80-
echo "Skipping $basename rebuild as its name does not contain $kernel_version"; \
81-
fi; \
82-
done
60+
/tmp/build-post.sh
8361

8462
FROM scratch
8563

Containerfile.nvidia

+7-30
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,13 @@ ARG KERNEL_FLAVOR="${KERNEL_FLAVOR:-main}"
1717
ARG RPMFUSION_MIRROR=""
1818
ARG DUAL_SIGN="true"
1919

20-
COPY build*.sh dual-sign*.sh /tmp/
20+
COPY build_files/nvidia build_files/shared /tmp/
2121
COPY certs /tmp/certs
2222

2323
# cached kernel rpms
2424
COPY --from=kernel_cache /tmp/rpms /tmp/kernel_cache
2525

2626
# files for nvidia
27-
COPY ublue-os-nvidia-addons.spec /tmp/ublue-os-nvidia-addons/ublue-os-nvidia-addons.spec
28-
COPY ublue-os-ucore-nvidia.spec /tmp/ublue-os-ucore-nvidia/ublue-os-ucore-nvidia.spec
2927
COPY files/etc/sway/environment /tmp/ublue-os-nvidia-addons/rpmbuild/SOURCES/environment
3028
COPY files/usr/lib/systemd/system/ublue-nvctk-cdi.service /tmp/ublue-os-nvidia-addons/rpmbuild/SOURCES/ublue-nvctk-cdi.service
3129
COPY files/usr/lib/systemd/system/ublue-nvctk-cdi.service /tmp/ublue-os-ucore-nvidia/rpmbuild/SOURCES/ublue-nvctk-cdi.service
@@ -34,6 +32,11 @@ COPY files/usr/lib/systemd/system-preset/70-ublue-nvctk-cdi.preset /tmp/ublue-os
3432
COPY files/etc/udev/rules.d/60-nvidia-extra-devices-pm.rules /tmp/ublue-os-nvidia-addons/rpmbuild/SOURCES/60-nvidia-extra-devices-pm.rules
3533

3634
RUN --mount=type=cache,dst=/var/cache/dnf \
35+
if grep -qv "surface" <<< "${KERNEL_FLAVOR}"; then \
36+
export KERNEL_NAME="kernel" \
37+
; else \
38+
export KERNEL_NAME="kernel-surface" \
39+
; fi && \
3740
/tmp/build-prep.sh && \
3841
if [[ "${KERNEL_FLAVOR}" =~ "coreos" ]]; then \
3942
/tmp/build-ublue-os-ucore-nvidia.sh && \
@@ -43,35 +46,9 @@ RUN --mount=type=cache,dst=/var/cache/dnf \
4346
/tmp/build-ublue-os-nvidia-addons.sh && \
4447
cp /tmp/ublue-os-nvidia-addons/rpmbuild/RPMS/noarch/ublue-os-nvidia-addons*.rpm \
4548
/var/cache/rpms/ublue-os/ && \
46-
if grep -qv "surface" <<< "${KERNEL_FLAVOR}"; then \
47-
export KERNEL_NAME="kernel" \
48-
; else \
49-
export KERNEL_NAME="kernel-surface" \
50-
; fi && \
5149
/tmp/build-kmod-nvidia.sh kernel && \
5250
/tmp/dual-sign.sh && \
53-
for RPM in $(find /var/cache/akmods/ -type f -name \*.rpm); do \
54-
cp "${RPM}" /var/cache/rpms/kmods/; \
55-
done && \
56-
for RPM in $(find /root/rpmbuild/RPMS/"$(uname -m)"/ -type f -name \*.rpm); do \
57-
cp "${RPM}" /var/cache/rpms/kmods/; \
58-
done && \
59-
find /var/cache/rpms
60-
61-
# Remove kernel version from kmod package names
62-
# FIXME: The sed is a gross hack, maybe PR upstream?
63-
RUN set -e; \
64-
sed -i -e 's/args = \["rpmbuild", "-bb"\]/args = \["rpmbuild", "-bb", "--buildroot", "#{build_path}\/BUILD"\]/g' /usr/local/share/gems/gems/fpm-*/lib/fpm/package/rpm.rb; \
65-
kernel_version=$(rpm -q --qf "%{VERSION}-%{RELEASE}.%{ARCH}\n" kernel-core | head -n 1); \
66-
for rpm in $(find /var/cache/rpms/kmods -type f -name \*.rpm); do \
67-
basename=$(basename ${rpm}); \
68-
name=${basename%%-${kernel_version}*}; \
69-
if [[ "$basename" == *"$kernel_version"* ]]; then \
70-
fpm --verbose -s rpm -t rpm -p ${rpm} -f --name ${name} ${rpm}; \
71-
else \
72-
echo "Skipping $basename rebuild as its name does not contain $kernel_version"; \
73-
fi; \
74-
done
51+
/tmp/build-post.sh
7552

7653
FROM scratch
7754

Containerfile.nvidia-open

+7-30
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,13 @@ ARG KERNEL_FLAVOR="${KERNEL_FLAVOR:-main}"
1717
ARG RPMFUSION_MIRROR=""
1818
ARG DUAL_SIGN="true"
1919

20-
COPY build*.sh dual-sign*.sh /tmp/
20+
COPY build_files/nvidia build_files/shared /tmp/
2121
COPY certs /tmp/certs
2222

2323
# cached kernel rpms
2424
COPY --from=kernel_cache /tmp/rpms /tmp/kernel_cache
2525

2626
# files for nvidia
27-
COPY ublue-os-nvidia-addons.spec /tmp/ublue-os-nvidia-addons/ublue-os-nvidia-addons.spec
28-
COPY ublue-os-ucore-nvidia.spec /tmp/ublue-os-ucore-nvidia/ublue-os-ucore-nvidia.spec
2927
COPY files/etc/sway/environment /tmp/ublue-os-nvidia-addons/rpmbuild/SOURCES/environment
3028
COPY files/usr/lib/systemd/system/ublue-nvctk-cdi.service /tmp/ublue-os-nvidia-addons/rpmbuild/SOURCES/ublue-nvctk-cdi.service
3129
COPY files/usr/lib/systemd/system/ublue-nvctk-cdi.service /tmp/ublue-os-ucore-nvidia/rpmbuild/SOURCES/ublue-nvctk-cdi.service
@@ -34,6 +32,11 @@ COPY files/usr/lib/systemd/system-preset/70-ublue-nvctk-cdi.preset /tmp/ublue-os
3432
COPY files/etc/udev/rules.d/60-nvidia-extra-devices-pm.rules /tmp/ublue-os-nvidia-addons/rpmbuild/SOURCES/60-nvidia-extra-devices-pm.rules
3533

3634
RUN --mount=type=cache,dst=/var/cache/dnf \
35+
if grep -qv "surface" <<< "${KERNEL_FLAVOR}"; then \
36+
export KERNEL_NAME="kernel" \
37+
; else \
38+
export KERNEL_NAME="kernel-surface" \
39+
; fi && \
3740
/tmp/build-prep.sh && \
3841
if [[ "${KERNEL_FLAVOR}" =~ "coreos" ]]; then \
3942
/tmp/build-ublue-os-ucore-nvidia.sh && \
@@ -43,35 +46,9 @@ RUN --mount=type=cache,dst=/var/cache/dnf \
4346
/tmp/build-ublue-os-nvidia-addons.sh && \
4447
cp /tmp/ublue-os-nvidia-addons/rpmbuild/RPMS/noarch/ublue-os-nvidia-addons*.rpm \
4548
/var/cache/rpms/ublue-os/ && \
46-
if grep -qv "surface" <<< "${KERNEL_FLAVOR}"; then \
47-
export KERNEL_NAME="kernel" \
48-
; else \
49-
export KERNEL_NAME="kernel-surface" \
50-
; fi && \
5149
/tmp/build-kmod-nvidia.sh kernel-open && \
5250
/tmp/dual-sign.sh && \
53-
for RPM in $(find /var/cache/akmods/ -type f -name \*.rpm); do \
54-
cp "${RPM}" /var/cache/rpms/kmods/; \
55-
done && \
56-
for RPM in $(find /root/rpmbuild/RPMS/"$(uname -m)"/ -type f -name \*.rpm); do \
57-
cp "${RPM}" /var/cache/rpms/kmods/; \
58-
done && \
59-
find /var/cache/rpms
60-
61-
# Remove kernel version from kmod package names
62-
# FIXME: The sed is a gross hack, maybe PR upstream?
63-
RUN set -e; \
64-
sed -i -e 's/args = \["rpmbuild", "-bb"\]/args = \["rpmbuild", "-bb", "--buildroot", "#{build_path}\/BUILD"\]/g' /usr/local/share/gems/gems/fpm-*/lib/fpm/package/rpm.rb; \
65-
kernel_version=$(rpm -q --qf "%{VERSION}-%{RELEASE}.%{ARCH}\n" kernel-core | head -n 1); \
66-
for rpm in $(find /var/cache/rpms/kmods -type f -name \*.rpm); do \
67-
basename=$(basename ${rpm}); \
68-
name=${basename%%-${kernel_version}*}; \
69-
if [[ "$basename" == *"$kernel_version"* ]]; then \
70-
fpm --verbose -s rpm -t rpm -p ${rpm} -f --name ${name} ${rpm}; \
71-
else \
72-
echo "Skipping $basename rebuild as its name does not contain $kernel_version"; \
73-
fi; \
74-
done
51+
/tmp/build-post.sh
7552

7653
FROM scratch
7754

Containerfile.test

+2-3
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ ARG KERNEL_FLAVOR="${KERNEL_FLAVOR:-main}"
2121
ARG RPMFUSION_MIRROR=""
2222
ARG DUAL_SIGN="true"
2323

24-
COPY test-prep.sh dual-sign-check.sh /tmp/
25-
COPY check-signatures.sh /
24+
COPY build_files/shared /tmp/
2625
COPY certs /tmp/certs
2726

2827
# cached kernel rpms
@@ -37,4 +36,4 @@ RUN --mount=type=cache,dst=/var/cache/dnf \
3736
; fi && \
3837
/tmp/test-prep.sh
3938

40-
CMD ["/check-signatures.sh"]
39+
CMD ["/tmp/check-signatures.sh"]

Containerfile.zfs

+4-18
Original file line numberDiff line numberDiff line change
@@ -18,37 +18,23 @@ ARG DUAL_SIGN="true"
1818
ARG RPMFUSION_MIRROR=""
1919
ARG ZFS_MINOR_VERSION="${ZFS_MINOR_VERSION:-2.2}"
2020

21-
COPY build*.sh dual-sign*.sh /tmp/
21+
COPY build_files/zfs build_files/shared /tmp/
2222
COPY certs /tmp/certs
2323

2424
# cached kernel rpms
2525
COPY --from=kernel_cache /tmp/rpms /tmp/kernel_cache
2626

2727
# Set kernel name
2828
RUN --mount=type=cache,dst=/var/cache/dnf \
29-
/tmp/build-prep.sh && \
3029
if grep -qv "surface" <<< "${KERNEL_FLAVOR}"; then \
3130
export KERNEL_NAME="kernel" \
3231
; else \
3332
export KERNEL_NAME="kernel-surface" \
3433
; fi && \
34+
/tmp/build-prep.sh && \
3535
/tmp/build-kmod-zfs.sh && \
36-
/tmp/dual-sign-zfs.sh
37-
38-
# Remove kernel version from kmod package names
39-
# FIXME: The sed is a gross hack, maybe PR upstream?
40-
RUN set -e; \
41-
sed -i -e 's/args = \["rpmbuild", "-bb"\]/args = \["rpmbuild", "-bb", "--buildroot", "#{build_path}\/BUILD"\]/g' /usr/local/share/gems/gems/fpm-*/lib/fpm/package/rpm.rb; \
42-
kernel_version=$(rpm -q --qf "%{VERSION}-%{RELEASE}.%{ARCH}\n" kernel-core | head -n 1); \
43-
for rpm in $(find /var/cache/rpms/kmods -type f -name \*.rpm); do \
44-
basename=$(basename ${rpm}); \
45-
name=${basename%%-${kernel_version}*}; \
46-
if [[ "$basename" == *"$kernel_version"* ]]; then \
47-
fpm --verbose -s rpm -t rpm -p ${rpm} -f --name ${name} ${rpm}; \
48-
else \
49-
echo "Skipping $basename rebuild as its name does not contain $kernel_version"; \
50-
fi; \
51-
done
36+
/tmp/dual-sign-zfs.sh && \
37+
/tmp/build-post.sh
5238

5339
FROM scratch
5440

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

build_files/shared/build-post.sh

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#!/bin/sh
2+
3+
set -oeux pipefail
4+
5+
# Ensure packages get copied to /var/cache/rpms
6+
if [ -d /var/cache/akmods ]; then
7+
for RPM in $(find /var/cache/akmods/ -type f -name \*.rpm); do
8+
cp "${RPM}" /var/cache/rpms/kmods/
9+
done
10+
fi
11+
12+
if [ -d /root/rpmbuild/RPMS/"$(uname -m)" ]; then
13+
for RPM in $(find /root/rpmbuild/RPMS/"$(uname -m)"/ -type f -name \*.rpm); do
14+
cp "${RPM}" /var/cache/rpms/kmods/
15+
done
16+
fi
17+
18+
# Remove kernel version from kmod package names
19+
# FIXME: The sed is a gross hack, maybe PR upstream?
20+
sed -i -e 's/args = \["rpmbuild", "-bb"\]/args = \["rpmbuild", "-bb", "--buildroot", "#{build_path}\/BUILD"\]/g' /usr/local/share/gems/gems/fpm-*/lib/fpm/package/rpm.rb
21+
kernel_version=$(rpm -q --qf "%{VERSION}-%{RELEASE}.%{ARCH}\n" "${KERNEL_NAME}" | head -n 1)
22+
for rpm in $(find /var/cache/rpms/kmods -type f -name \*.rpm); do
23+
basename=$(basename ${rpm})
24+
name=${basename%%-${kernel_version}*}
25+
if [[ "$basename" == *"$kernel_version"* ]]; then
26+
fpm --verbose -s rpm -t rpm -p ${rpm} -f --name ${name} ${rpm}
27+
else
28+
echo "Skipping $basename rebuild as its name does not contain $kernel_version"
29+
fi
30+
done
31+
32+
find /var/cache/rpms

build-prep.sh build_files/shared/build-prep.sh

+1-5
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,7 @@ mkdir -p /var/lib/alternatives
1616
echo "Installing ${KERNEL_FLAVOR} kernel-cache RPMs..."
1717
# fedora image has no kernel so this needs nothing fancy, just install
1818
dnf install -y /tmp/kernel_cache/*.rpm
19-
if [[ "${KERNEL_FLAVOR}" == "surface" ]]; then
20-
KERNEL_VERSION=$(rpm -q kernel-surface|cut -d '-' -f2-)
21-
else
22-
KERNEL_VERSION=$(rpm -q kernel|cut -d '-' -f2-)
23-
fi
19+
KERNEL_VERSION=$(rpm -q "${KERNEL_NAME}" | cut -d '-' -f2-)
2420

2521
# enable more repos
2622
RPMFUSION_MIRROR_RPMS="https://mirrors.rpmfusion.org"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

dual-sign-zfs.sh build_files/zfs/dual-sign-zfs.sh

-6
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,3 @@ if [[ "${DUAL_SIGN}" == "true" ]]; then
4545
done
4646
mv -f /root/rpmbuild/RPMS/"$(uname -m)"/kmod-*.rpm /var/cache/rpms/kmods/zfs/
4747
fi
48-
49-
for RPM in $(find /var/cache/akmods/ -type f -name \*.rpm); do
50-
cp "${RPM}" /var/cache/rpms/kmods/
51-
done
52-
53-
find /var/cache/rpms

0 commit comments

Comments
 (0)