3bfaf9c014
rpm-4.13 stopped bringing alt-gpgkeys in, and specifying it explicitly for STAGE1_PACKAGES didn't help somehow; don't presume /usr/lib/alt-gpgkeys/ existence anyways.
10 lines
268 B
Bash
Executable File
10 lines
268 B
Bash
Executable File
#!/bin/sh
|
|
# generate current plaintext rpm pubring representation
|
|
KEYDIR="/usr/lib/alt-gpgkeys"
|
|
|
|
if [ -d "$KEYDIR" ]; then
|
|
gpg --export --armor --homedir="$KEYDIR" >$WORKDIR/RPM-GPG-KEY
|
|
else
|
|
echo "** warning: skipping RPM-GPG-KEY generation, $KEYDIR missing" >&2
|
|
fi
|