1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-08 08:58:27 +03:00

Merge pull request #27904 from DaanDeMeyer/lsm

mkosi: Enable more options
This commit is contained in:
Luca Boccassi 2023-06-02 23:57:21 +01:00 committed by GitHub
commit 58a5a2362c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 0 deletions

View File

@ -39,3 +39,7 @@ KernelCommandLineExtra=systemd.crash_shell
# Lower the default device timeout so we get a shell earlier if the root device does
# not appear for some reason.
systemd.default_device_timeout_sec=10
# Make sure no LSMs are enabled by default.
apparmor=0
selinux=0
enforcing=0

View File

@ -134,6 +134,14 @@ if [ ! -f "$BUILDDIR"/build.ninja ]; then
-D analyze=true
-D bpf-framework=true
-D ukify=true
-D seccomp=true
-D selinux=auto
-D apparmor=auto
-D smack=true
-D ima=true
-D first-boot-full-preset=true
-D initrd=true
-D fexecve=true
)
# On debian-like systems the library directory is not /usr/lib64 but /usr/lib/<arch-triplet>/.

View File

@ -6,6 +6,7 @@ Distribution=debian ubuntu
[Content]
Packages=
dmsetup
libapparmor1
libfdisk1
libfido2-1
libglib2.0-0
@ -28,6 +29,7 @@ BuildPackages=
dpkg-dev
g++
libacl1-dev
libapparmor-dev
libaudit-dev
libblkid-dev
libbpf-dev