lorax-composer: Install selinux-policy-targeted in images

This is required to ensure that SELinux is configured properly while
building. It fixes the problem with building tar, and should be
installed in the other image types for consistency.

Resolves: rhbz#1654795
This commit is contained in:
Brian C. Lane 2018-11-27 13:56:00 -08:00
parent 6b17850739
commit 60c7ab3e91
5 changed files with 6 additions and 2 deletions

View File

@ -27,5 +27,7 @@ rm /var/lib/systemd/random-seed
%end
%packages --nobase
# Packages requires to support this output format go here
selinux-policy-targeted
# NOTE lorax-composer will add the blueprint packages below here, including the final %end

View File

@ -347,6 +347,7 @@ kernel
memtest86+
syslinux
-dracut-config-rescue
selinux-policy-targeted
# This package is needed to boot the iso on UEFI
shim

View File

@ -31,7 +31,7 @@ rm /var/lib/systemd/random-seed
%packages
kernel
-dracut-config-rescue
selinux-policy-targeted
grub2
# NOTE lorax-composer will add the blueprint packages below here, including the final %end

View File

@ -31,6 +31,7 @@ rm /var/lib/systemd/random-seed
%packages
kernel
-dracut-config-rescue
selinux-policy-targeted
grub2
# NOTE lorax-composer will add the blueprint packages below here, including the final %end

View File

@ -29,6 +29,6 @@ rm /var/lib/systemd/random-seed
# NOTE Do NOT add any other sections after %packages
%packages
# Packages requires to support this output format go here
selinux-policy-targeted
# NOTE lorax-composer will add the blueprint packages below here, including the final %end