TEST-06-SELINUX: Various fixes
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 9 Jul 2024 10:26:11 +0000 (12:26 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 10 Jul 2024 16:52:29 +0000 (18:52 +0200)
commitdedd712dd9b4883678765b9bc1a8ac349cf24f3b
tree583ad04649c6a0200c26b4fa363f70fe5406677f
parent877842ed521c5cdf5dd0b50127b51466959a606e
TEST-06-SELINUX: Various fixes

- Stop installing the policy in the initramfs as it's not really
supported anyway (https://github.com/fedora-selinux/selinux-policy/issues/2221)
- Stop relabeling on first boot and prefer to do it at image build time
- Disable mkosi relabeling by default but enable it in CI
- Build image as root in CI so the SELinux relabeling works properly
.github/workflows/mkosi.yml
mkosi.conf
mkosi.conf.d/10-centos-fedora/mkosi.conf.d/10-selinux.conf
mkosi.extra/.autorelabel [deleted file]
mkosi.extra/usr/lib/systemd/system-preset/00-mkosi.preset
test/TEST-06-SELINUX/meson.build