rpm_verify: use absolute path for key import

This commit is contained in:
Marek Marczykowski-Górecki 2014-11-22 01:10:24 +01:00
parent 1535273f9b
commit e4d5e43abd

View File

@ -38,7 +38,7 @@ if [ $# -lt 1 ]; then
fi
# Make sure that the right Qubes release key is imported (in chroot)
rpm --import qubes-release/RPM-GPG-KEY-qubes-*-primary
rpm --import `dirname $0`/qubes-release/RPM-GPG-KEY-qubes-*-primary
for FILE in "$@"; do
verify_rpm $FILE || exit 1