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#1645189
(cherry picked from commit 9ac4508135
)
This commit is contained in:
parent
4a4a415f88
commit
99d867db65
@ -42,7 +42,7 @@ sed -i 's/cloud-user/ec2-user/' /etc/cloud/cloud.cfg
|
||||
%packages
|
||||
kernel
|
||||
-dracut-config-rescue
|
||||
|
||||
selinux-policy-targeted
|
||||
grub2
|
||||
|
||||
chrony
|
||||
|
@ -34,5 +34,6 @@ touch /etc/machine-id
|
||||
%packages --nocore
|
||||
# Packages requires to support this output format go here
|
||||
policycoreutils
|
||||
selinux-policy-targeted
|
||||
|
||||
# NOTE lorax-composer will add the blueprint packages below here, including the final %end
|
||||
|
@ -357,6 +357,7 @@ syslinux
|
||||
dracut-config-generic
|
||||
dracut-live
|
||||
generic-logos
|
||||
selinux-policy-targeted
|
||||
|
||||
# This package is needed to boot the iso on UEFI
|
||||
shim
|
||||
|
@ -36,6 +36,7 @@ touch /etc/machine-id
|
||||
%packages
|
||||
kernel
|
||||
-dracut-config-rescue
|
||||
selinux-policy-targeted
|
||||
grub2
|
||||
|
||||
# Make sure virt guest agents are installed
|
||||
|
@ -33,7 +33,7 @@ touch /etc/machine-id
|
||||
%packages
|
||||
kernel
|
||||
-dracut-config-rescue
|
||||
|
||||
selinux-policy-targeted
|
||||
grub2
|
||||
|
||||
# NOTE lorax-composer will add the blueprint packages below here, including the final %end
|
||||
|
@ -33,6 +33,7 @@ touch /etc/machine-id
|
||||
%packages
|
||||
kernel
|
||||
-dracut-config-rescue
|
||||
selinux-policy-targeted
|
||||
grub2
|
||||
|
||||
# Make sure virt guest agents are installed
|
||||
|
@ -34,6 +34,6 @@ touch /etc/machine-id
|
||||
%packages --nocore
|
||||
# Packages requires to support this output format go here
|
||||
policycoreutils
|
||||
|
||||
selinux-policy-targeted
|
||||
|
||||
# NOTE lorax-composer will add the blueprint packages below here, including the final %end
|
||||
|
@ -39,7 +39,7 @@ touch /etc/machine-id
|
||||
%packages
|
||||
kernel
|
||||
-dracut-config-rescue
|
||||
|
||||
selinux-policy-targeted
|
||||
grub2
|
||||
|
||||
chrony
|
||||
|
@ -36,7 +36,7 @@ touch /etc/machine-id
|
||||
%packages
|
||||
kernel
|
||||
-dracut-config-rescue
|
||||
|
||||
selinux-policy-targeted
|
||||
grub2
|
||||
|
||||
chrony
|
||||
|
Loading…
Reference in New Issue
Block a user