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
|
%packages
|
||||||
kernel
|
kernel
|
||||||
-dracut-config-rescue
|
-dracut-config-rescue
|
||||||
|
selinux-policy-targeted
|
||||||
grub2
|
grub2
|
||||||
|
|
||||||
chrony
|
chrony
|
||||||
|
@ -34,5 +34,6 @@ touch /etc/machine-id
|
|||||||
%packages --nocore
|
%packages --nocore
|
||||||
# Packages requires to support this output format go here
|
# Packages requires to support this output format go here
|
||||||
policycoreutils
|
policycoreutils
|
||||||
|
selinux-policy-targeted
|
||||||
|
|
||||||
# NOTE lorax-composer will add the blueprint packages below here, including the final %end
|
# NOTE lorax-composer will add the blueprint packages below here, including the final %end
|
||||||
|
@ -357,6 +357,7 @@ syslinux
|
|||||||
dracut-config-generic
|
dracut-config-generic
|
||||||
dracut-live
|
dracut-live
|
||||||
system-logos
|
system-logos
|
||||||
|
selinux-policy-targeted
|
||||||
|
|
||||||
# This package is needed to boot the iso on UEFI
|
# This package is needed to boot the iso on UEFI
|
||||||
shim
|
shim
|
||||||
|
@ -36,6 +36,7 @@ touch /etc/machine-id
|
|||||||
%packages
|
%packages
|
||||||
kernel
|
kernel
|
||||||
-dracut-config-rescue
|
-dracut-config-rescue
|
||||||
|
selinux-policy-targeted
|
||||||
grub2
|
grub2
|
||||||
|
|
||||||
# Make sure virt guest agents are installed
|
# Make sure virt guest agents are installed
|
||||||
|
@ -33,7 +33,7 @@ touch /etc/machine-id
|
|||||||
%packages
|
%packages
|
||||||
kernel
|
kernel
|
||||||
-dracut-config-rescue
|
-dracut-config-rescue
|
||||||
|
selinux-policy-targeted
|
||||||
grub2
|
grub2
|
||||||
|
|
||||||
# NOTE lorax-composer will add the blueprint packages below here, including the final %end
|
# NOTE lorax-composer will add the blueprint packages below here, including the final %end
|
||||||
|
@ -33,6 +33,7 @@ touch /etc/machine-id
|
|||||||
%packages
|
%packages
|
||||||
kernel
|
kernel
|
||||||
-dracut-config-rescue
|
-dracut-config-rescue
|
||||||
|
selinux-policy-targeted
|
||||||
grub2
|
grub2
|
||||||
|
|
||||||
# Make sure virt guest agents are installed
|
# Make sure virt guest agents are installed
|
||||||
|
@ -34,6 +34,6 @@ touch /etc/machine-id
|
|||||||
%packages --nocore
|
%packages --nocore
|
||||||
# Packages requires to support this output format go here
|
# Packages requires to support this output format go here
|
||||||
policycoreutils
|
policycoreutils
|
||||||
|
selinux-policy-targeted
|
||||||
|
|
||||||
# NOTE lorax-composer will add the blueprint packages below here, including the final %end
|
# 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
|
%packages
|
||||||
kernel
|
kernel
|
||||||
-dracut-config-rescue
|
-dracut-config-rescue
|
||||||
|
selinux-policy-targeted
|
||||||
grub2
|
grub2
|
||||||
|
|
||||||
chrony
|
chrony
|
||||||
|
@ -36,7 +36,7 @@ touch /etc/machine-id
|
|||||||
%packages
|
%packages
|
||||||
kernel
|
kernel
|
||||||
-dracut-config-rescue
|
-dracut-config-rescue
|
||||||
|
selinux-policy-targeted
|
||||||
grub2
|
grub2
|
||||||
|
|
||||||
chrony
|
chrony
|
||||||
|
Loading…
Reference in New Issue
Block a user