Use the fedora-release-container package to get the release version
Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
parent
d8c1268e61
commit
ab0f96678e
@ -63,7 +63,7 @@ echo "%_install_langs $LANG" > /etc/rpm/macros.image-language-conf
|
||||
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1400682
|
||||
echo "Import RPM GPG key"
|
||||
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
||||
releasever=$(rpm -q --qf '%{version}\n' fedora-release-container)
|
||||
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-primary
|
||||
|
||||
echo "# fstab intentionally empty for containers" > /etc/fstab
|
||||
|
Loading…
Reference in New Issue
Block a user