Skip to content

Commit

Permalink
fix: copy addons
Browse files Browse the repository at this point in the history
  • Loading branch information
p5 authored Oct 21, 2024
1 parent 6ceba58 commit 59da9eb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions kmods/nvidia-open/scripts/build/01-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,14 @@ rpmbuild -ba \
mkdir -p /var/cache/rpms

for rpm in $(find /var/cache/akmods/ -type f -name \*.rpm); do
echo "COPY ${rpm} TO /var/cache/rpms/"
cp "${rpm}" /var/cache/rpms/;
done

for rpm in $(find ${ADDONS_DIR}/rpmbuild/RPMS/"$(uname -m)"/ -type f -name \*.rpm); do
echo "COPY ${rpm} TO /var/cache/rpms/"
cp "${rpm}" /var/cache/rpms/;
done

for rp in $(find ${ADDONS_DIR}/rpmbuild/RPMS/noarch/ -type f -name \*.rpm); do
cp "${rpm}" /var/cache/rpms/;
done

Expand Down
6 changes: 4 additions & 2 deletions kmods/nvidia/scripts/build/01-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,14 @@ rpmbuild -ba \
mkdir -p /var/cache/rpms

for rpm in $(find /var/cache/akmods/ -type f -name \*.rpm); do
echo "COPY ${rpm} TO /var/cache/rpms/"
cp "${rpm}" /var/cache/rpms/;
done

for rpm in $(find ${ADDONS_DIR}/rpmbuild/RPMS/"$(uname -m)"/ -type f -name \*.rpm); do
echo "COPY ${rpm} TO /var/cache/rpms/"
cp "${rpm}" /var/cache/rpms/;
done

for rp in $(find ${ADDONS_DIR}/rpmbuild/RPMS/noarch/ -type f -name \*.rpm); do
cp "${rpm}" /var/cache/rpms/;
done

Expand Down

0 comments on commit 59da9eb

Please sign in to comment.