diff mbox series

[meta-selinux,1/2] README: use simpler syntax to enable systemd

Message ID 20240621121239.594152-1-ecordonnier@snap.com
State New
Headers show
Series [meta-selinux,1/2] README: use simpler syntax to enable systemd | expand

Commit Message

Etienne Cordonnier June 21, 2024, 12:12 p.m. UTC
From: Etienne Cordonnier <ecordonnier@snap.com>

The variable INIT_MANAGER was added in yocto version Zeus / 3.0 and makes the selection of systemd easier.
See https://git.yoctoproject.org/poky/commit/?id=7508711b3835cc7890d46fda1b4a1c3da196ec9a for details.

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
---
 README | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/README b/README
index 67708f7..ce91cc1 100644
--- a/README
+++ b/README
@@ -69,10 +69,7 @@  By default selinux enabled images coming up with "sysvinit" as init manager,
 we can use "systemd" as an init manager using below changes to local.conf
 
 * enable systemd as init manager changes to local.conf
-DISTRO_FEATURES:remove = " sysvinit"
-DISTRO_FEATURES:append = " systemd"
-VIRTUAL-RUNTIME_init_manager = "systemd"
-DISTRO_FEATURES_BACKFILL_CONSIDERED = ""
+INIT_MANAGER = "systemd"
 
 
 Enable labeling on first boot