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
This commit is contained in:
parent
22061ed4ab
commit
97b138c3d1
@ -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
|
||||
system-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
|
||||
|
@ -61,7 +61,7 @@ dracut -f -v --persistent-policy by-uuid
|
||||
%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