Skip to content

Commit

Permalink
fix: copy only built rpms
Browse files Browse the repository at this point in the history
  • Loading branch information
p5 authored Oct 21, 2024
1 parent 83aaeda commit 6ceba58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _scripts/final.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -oeux pipefail

mkdir -p /rpms
for rpm in $(find /var/cache -name '*.rpm'); do
for rpm in $(find /var/cache/rpms -name '*.rpm'); do
echo "Copying $rpm..."
cp -a $rpm /rpms
done
Expand Down
2 changes: 1 addition & 1 deletion _scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ install -Dm644 /tmp/certs/private_key.priv /etc/pki/akmods/private/private_key.p
chmod 1777 /tmp /var/tmp

# create directories for later copying resulting artifacts
mkdir -p /var/cache/rpms/{kmods,eternal}
mkdir -p /var/cache/rpms

0 comments on commit 6ceba58

Please sign in to comment.