Unify obtaining 'relesever'

Continuation of https://pagure.io/fedora-kickstarts/c/19a7b3b113d97db14d27f6a86db3c7479453a5ea?branch=master
but across entire repository.
This commit is contained in:
Damian Wrobel
2019-07-17 10:49:05 +02:00
parent 2976215122
commit 68b6257e0e
7 changed files with 7 additions and 7 deletions

View File

@@ -62,7 +62,7 @@ glibc-all-langpacks
# Setup Raspberry Pi firmware
cp -P /usr/share/uboot/rpi_3/u-boot.bin /boot/efi/rpi3-u-boot.bin
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
releasever=$(rpm --eval '%{fedora}')
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-primary
echo "Packages within this disk image"
rpm -qa