Skip to contentSkip to conversation

local.conf.sample: Add DISTRO_FEATURES_INITMAN

PATCH In review Radu Moisan 4 participants 6 messages Jan 22, 2013 – Jan 23, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 local.conf.sample: Add DISTRO_FEATURES_INITMAN

Default option is sysvinit

---
 meta-yocto/conf/local.conf.sample |    3 +++
 1 file changed, 3 insertions(+)
meta-yocto/conf/local.conf.sample +3 -0
index 200b4af..273e0eb 100644
@@ -243,3 +243,6 @@ BB_DISKMON_DIRS = "\
 # track the version of this file when it was generated. This can safely be ignored if
 # this doesn't mean anything to you.
 CONF_VERSION = "1"
+
+# set default init manager: sysvinit or systemd
+DISTRO_FEATURES_INITMAN ?= "sysvinit"
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 12 lines · Radu Moisan

Default option is sysvinit

---
 meta-yocto/conf/local.conf.sample |    3 +++
 1 file changed, 3 insertions(+)
meta-yocto/conf/local.conf.sample +0 -0
index 200b4af..273e0eb 100644

meta-yocto/conf/local.conf.sample BB_DISKMON_DIRS = "\ · line 248

Quoted 6 lines
meta-yocto/conf/local.conf.sample +3 -0
@@ -243,3 +243,6 @@ BB_DISKMON_DIRS = "\
 # track the version of this file when it was generated. This can safely be ignored if
 # this doesn't mean anything to you.
 CONF_VERSION = "1"
+
+# set default init manager: sysvinit or systemd
+DISTRO_FEATURES_INITMAN ?= "sysvinit"

Please put this in the sample.extended file. This isn't something a brand new user needs to see right away.

Cheers,

Richard

#2 lore raw
Quoted 8 lines · Richard Purdie
Quoted 7 lines · Radu Moisan

Default option is sysvinit

---
 meta-yocto/conf/local.conf.sample |    3 +++
 1 file changed, 3 insertions(+)
Quoted 11 lines

meta-yocto/conf/local.conf.sample BB_DISKMON_DIRS = "\ · line 248

Quoted 11 lines
meta-yocto/conf/local.conf.sample +3 -0
index 200b4af..273e0eb 100644
@@ -243,3 +243,6 @@ BB_DISKMON_DIRS = "\
 # track the version of this file when it was generated. This can safely be ignored if
 # this doesn't mean anything to you.
 CONF_VERSION = "1"
+
+# set default init manager: sysvinit or systemd
+DISTRO_FEATURES_INITMAN ?= "sysvinit"

Is tiny-init also an appropriate value here?

How does this differ from VIRTUAL_RUNTIME_init_manager?

Signature · 3 lines
Darren Hart
Intel Open Source Technology Center
Yocto Project - Technical Lead - Linux Kernel
#3 lore raw
Quoted 10 lines · Darren Hart
Quoted 8 lines · Richard Purdie
Quoted 7 lines · Radu Moisan

Default option is sysvinit

---
  meta-yocto/conf/local.conf.sample |    3 +++
  1 file changed, 3 insertions(+)
Quoted 12 lines
Quoted 11 lines

meta-yocto/conf/local.conf.sample BB_DISKMON_DIRS = "\ · line 248

Quoted 11 lines
meta-yocto/conf/local.conf.sample +3 -0
index 200b4af..273e0eb 100644
@@ -243,3 +243,6 @@ BB_DISKMON_DIRS = "\
  # track the version of this file when it was generated. This can safely be ignored if
  # this doesn't mean anything to you.
  CONF_VERSION = "1"
+
+# set default init manager: sysvinit or systemd
+DISTRO_FEATURES_INITMAN ?= "sysvinit"

Is tiny-init also an appropriate value here?

No it is not. We could consider it though.

Quoted 3 lines

How does this differ from VIRTUAL_RUNTIME_init_manager?

It's just a naming style issue, I used VIRTUAL_RUNTIME_init_manager when I started and eventually Richard suggested the new variant.

Radu

#4 lore raw
Quoted 25 lines · Radu Moisan
Quoted 10 lines · Darren Hart
Quoted 8 lines · Richard Purdie
Quoted 7 lines · Radu Moisan

Default option is sysvinit

---
  meta-yocto/conf/local.conf.sample |    3 +++
  1 file changed, 3 insertions(+)
Quoted 12 lines
Quoted 11 lines

meta-yocto/conf/local.conf.sample BB_DISKMON_DIRS = "\ · line 248

Quoted 11 lines
meta-yocto/conf/local.conf.sample +3 -0
index 200b4af..273e0eb 100644
@@ -243,3 +243,6 @@ BB_DISKMON_DIRS = "\
  # track the version of this file when it was generated. This can safely be ignored if
  # this doesn't mean anything to you.
  CONF_VERSION = "1"
+
+# set default init manager: sysvinit or systemd
+DISTRO_FEATURES_INITMAN ?= "sysvinit"

Is tiny-init also an appropriate value here?

Quoted 8 lines

No it is not. We could consider it though.

Quoted 3 lines

How does this differ from VIRTUAL_RUNTIME_init_manager?

It's just a naming style issue, I used VIRTUAL_RUNTIME_init_manager when I started and eventually Richard suggested the new variant.

Is VIRTUAL_RUNTIME_init_manager deprecated? Does it need to be replaced in all the distro configs?

Signature · 3 lines
Darren Hart
Intel Open Source Technology Center
Yocto Project - Technical Lead - Linux Kernel
#5 lore raw
Quoted 31 lines · Darren Hart
Quoted 28 lines · Radu Moisan
Quoted 10 lines · Darren Hart
Quoted 8 lines · Richard Purdie
Quoted 7 lines · Radu Moisan

Default option is sysvinit

---
   meta-yocto/conf/local.conf.sample |    3 +++
   1 file changed, 3 insertions(+)
Quoted 12 lines
Quoted 11 lines

meta-yocto/conf/local.conf.sample BB_DISKMON_DIRS = "\ · line 248

Quoted 11 lines
meta-yocto/conf/local.conf.sample +3 -0
index 200b4af..273e0eb 100644
@@ -243,3 +243,6 @@ BB_DISKMON_DIRS = "\
   # track the version of this file when it was generated. This can safely be ignored if
   # this doesn't mean anything to you.
   CONF_VERSION = "1"
+
+# set default init manager: sysvinit or systemd
+DISTRO_FEATURES_INITMAN ?= "sysvinit"

Is tiny-init also an appropriate value here?

No it is not. We could consider it though.

Quoted 1 line
Quoted 9 lines
Quoted 5 lines
Quoted 2 lines

How does this differ from VIRTUAL_RUNTIME_init_manager?

It's just a naming style issue, I used VIRTUAL_RUNTIME_init_manager when I started and eventually Richard suggested the new variant.

Is VIRTUAL_RUNTIME_init_manager deprecated? Does it need to be replaced in all the distro configs?

I will have a poky-tiny patch set here soon as it's more that just this, also poky-tiny will simply over ride this with a direct setting of DISTRO_FEATURE_INITMAN.

It looks like VIRTUAL_RUNTIME_init_manager gets set from DISTRO_FEATURE_INITMAN, so it might be duplication, not sure if RP intended that or if there is another round of cleanup that needs to happen here.

Sau!