Sign rpms before createrepo_c
This commit is contained in:
parent
26c136900e
commit
48e18e0408
1 changed files with 4 additions and 4 deletions
|
|
@ -85,15 +85,15 @@ echo "==> Updating RPM repo..."
|
|||
mkdir -p "$RPM_REPO"
|
||||
cp "${BUILD_OUTPUT}/rpm/"*.rpm "$RPM_REPO/"
|
||||
|
||||
for file in `ls -1 "$PWD/dist/rpm"`; do
|
||||
rpmsign --addsign "$PWD/dist/rpm/$file"
|
||||
done
|
||||
|
||||
createrepo_c "$RPM_REPO"
|
||||
|
||||
echo "==> Signing repomd.xml..."
|
||||
qubes-gpg-client --local-user "$KEYID" --detach-sign --armor "$RPM_REPO/repodata/repomd.xml" > "$RPM_REPO/repodata/repomd.xml.asc"
|
||||
|
||||
for file in `ls -1 "$PWD/dist/rpm"`; do
|
||||
rpmsign --addsign "$PWD/dist/rpm/$file"
|
||||
done
|
||||
|
||||
echo "==> Syncing repo to server..."
|
||||
rsync -aHPvz --exclude=.git --delete "$REPO_ROOT/" "$REMOTE/"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue