Skip to content
This repository was archived by the owner on Sep 18, 2020. It is now read-only.

Commit 31d43fb

Browse files
dm0-glevand
authored andcommitted
build_library: Use qemu-aarch64-static to install SELinux modules
1 parent 9fb032d commit 31d43fb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build_library/build_image_util.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,9 @@ EOF
517517

518518
# Build the selinux policy
519519
if pkg_use_enabled coreos-base/coreos selinux; then
520+
setup_qemu_static "${root_fs_dir}"
520521
sudo chroot "${root_fs_dir}" bash -c "cd /usr/share/selinux/mcs && semodule -s mcs -i *.pp"
522+
clean_qemu_static "${root_fs_dir}"
521523
fi
522524

523525
# Make the filesystem un-mountable as read-write and setup verity.

0 commit comments

Comments
 (0)