mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-09 14:06:58 +02:00
commit
28da405b75
@ -298,6 +298,11 @@ finish_image() {
|
||||
sudo fstrim "${root_fs_dir}/usr" || true
|
||||
fi
|
||||
|
||||
# Build the selinux policy
|
||||
if [[ "$BOARD" = amd64* ]]; then
|
||||
sudo chroot ${root_fs_dir} bash -c "cd /usr/share/selinux/mcs; semodule -i *.pp"
|
||||
fi
|
||||
|
||||
# Sign the kernels after /usr is in a consistent state
|
||||
if [[ ${COREOS_OFFICIAL:-0} -ne 1 ]]; then
|
||||
sudo sbsign --key /usr/share/sb_keys/DB.key \
|
||||
|
Loading…
Reference in New Issue
Block a user