mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-24 15:11:19 +02:00
Merge pull request #447 from mjg59/master
Ensure that selinux policy is installed in correct location
This commit is contained in:
commit
0bc560d6ad
@ -321,7 +321,7 @@ finish_image() {
|
|||||||
|
|
||||||
# Build the selinux policy
|
# Build the selinux policy
|
||||||
if pkg_use_enabled coreos-base/coreos selinux; then
|
if pkg_use_enabled coreos-base/coreos selinux; then
|
||||||
sudo chroot "${root_fs_dir}" bash -c "cd /usr/share/selinux/mcs && semodule -i *.pp"
|
sudo chroot "${root_fs_dir}" bash -c "cd /usr/share/selinux/mcs && semodule -s mcs -i *.pp"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# We only need to disable rw and apply dm-verity in prod with a /usr partition
|
# We only need to disable rw and apply dm-verity in prod with a /usr partition
|
||||||
|
Loading…
x
Reference in New Issue
Block a user