Skip to contentSkip to conversation

poky: Use INIT_MANAGER in main distro config

PATCH New Richard Purdie 1 participant 1 message Apr 13, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 poky: Use INIT_MANAGER in main distro config

Just to keep things standard and clear, use the new INIT_MANAGER variable in the main distro config. This matches the default config with the addition of some DISTRO_FEATURES tweaks.

---
 meta-poky/conf/distro/poky-altcfg.conf | 4 ++--
 meta-poky/conf/distro/poky.conf        | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)
meta-poky/conf/distro/poky-altcfg.conf +2 -2
index fbfabecd9d0..f03306e7986 100644
@@ -8,8 +8,8 @@ DISTRO = "poky-altcfg"
 DISTROOVERRIDES = "poky:poky-altcfg"
 #DISTROOVERRIDES = "poky:linuxstdbase"
 
-INIT_MANAGER ?= "systemd"
+INIT_MANAGER:poky-altcfg = "systemd"
 # systemd isn't suitable with musl
-INIT_MANAGER:libc-musl ?= "sysvinit"
+INIT_MANAGER:poky-altcfg:libc-musl = "sysvinit"
 
 require conf/distro/include/poky-distro-alt-test-config.inc
meta-poky/conf/distro/poky.conf +2 -0
index 179329f5fa0..5790094ea96 100644
@@ -65,3 +65,5 @@ INHERIT += "uninative"
 
 BB_SIGNATURE_HANDLER ?= "OEEquivHash"
 BB_HASHSERVE ??= "auto"
+
+INIT_MANAGER = "sysvinit"
Signature · 1 line
2.32.0