Sign rpms before createrepo_c
This commit is contained in:
parent
d332828551
commit
54f02f0757
1 changed files with 4 additions and 4 deletions
|
|
@ -58,15 +58,15 @@ echo "==> Updating RPM repo..."
|
||||||
mkdir -p "$RPM_REPO"
|
mkdir -p "$RPM_REPO"
|
||||||
cp "${BUILD_OUTPUT}/rpm/"*.rpm "$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"
|
createrepo_c "$RPM_REPO"
|
||||||
|
|
||||||
echo "==> Signing repomd.xml..."
|
echo "==> Signing repomd.xml..."
|
||||||
qubes-gpg-client --local-user "$KEYID" --detach-sign --armor "$RPM_REPO/repodata/repomd.xml" > "$RPM_REPO/repodata/repomd.xml.asc"
|
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..."
|
echo "==> Syncing repo to server..."
|
||||||
rsync -aHPvz --exclude=.git --delete "$REPO_ROOT/" "$REMOTE/"
|
rsync -aHPvz --exclude=.git --delete "$REPO_ROOT/" "$REMOTE/"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue