Skip to contentSkip to conversation

local.conf.sample: make systemd as default init manager

PATCH Superseded [email protected] 2 participants 6 messages Dec 6, 2018 – Jan 4, 2019

v1 of 7 Superseded Latest is v7 →

lore
Share & tools
lore
#0 lore raw

cover local.conf.sample: make systemd as default init manager

From: Kai Kang <[email protected]>

Test with build and login with

$ for m in qemuarm qemuarm64 qemumips qemumips64 qemuppc qemux86 qemux86-64; do echo $m; MACHINE=$m bitbake core-image-sato; done

and sdk

$ for m in qemuarm qemuarm64 qemumips qemumips64 qemuppc qemux86 qemux86-64; do echo $m; MACHINE=$m bitbake core-image-sato -c populate_sdk; done

The following changes since commit aa93957c8353d222961f08e54fe8d4095dad72c1:

tcl: Upgrade to 8.6.9 (2018-12-05 22:30:19 +0000)

are available in the Git repository at:

git://git.pokylinux.org/poky-contrib kangkai/systemd
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/systemd

Kai Kang (1):
local.conf.sample: make systemd as default init manager

 meta-poky/conf/local.conf.sample          | 8 ++++++++
 meta-poky/conf/local.conf.sample.extended | 8 --------
 2 files changed, 8 insertions(+), 8 deletions(-)
Signature · 1 line
2.19.0.rc2
#1 lore raw

PATCH 1/1 local.conf.sample: make systemd as default init manager

From: Kai Kang <[email protected]>

Move configurations from local.conf.sample.extended to local.conf.sample to make systemd as default init manager for poky.

[YOCTO #13031]

---
 meta-poky/conf/local.conf.sample          | 8 ++++++++
 meta-poky/conf/local.conf.sample.extended | 8 --------
 2 files changed, 8 insertions(+), 8 deletions(-)
meta-poky/conf/local.conf.sample +8 -0
index cf96598819..5168679f41 100644
@@ -247,3 +247,11 @@ PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
 # 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"
+
+#
+# Use systemd for system initialization
+#
+DISTRO_FEATURES_append = " systemd"
+DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"
+VIRTUAL-RUNTIME_init_manager = "systemd"
+VIRTUAL-RUNTIME_initscripts = "systemd-compat-units"
meta-poky/conf/local.conf.sample.extended +0 -8
index 3ba99f4896..17135d0ef1 100644
@@ -389,11 +389,3 @@
 #VIRTUAL-RUNTIME_initscripts = "initscripts"
 #VIRTUAL-RUNTIME_keymaps = "keymaps"
 #DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"
-
-#
-# Use systemd for system initialization
-#
-#DISTRO_FEATURES_append = " systemd"
-#DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"
-#VIRTUAL-RUNTIME_init_manager = "systemd"
-#VIRTUAL-RUNTIME_initscripts = "systemd-compat-units"
Signature · 1 line
2.19.0.rc2
#2 lore raw
Quoted 6 lines · On Thu, 2018-12-06 at 20:53 +0800, [email protected] wrote:

From: Kai Kang <[email protected]>

Move configurations from local.conf.sample.extended to local.conf.sample
to make systemd as default init manager for poky.

Quoted 7 lines

[YOCTO #13031]

---
 meta-poky/conf/local.conf.sample          | 8 ++++++++
 meta-poky/conf/local.conf.sample.extended | 8 --------
 2 files changed, 8 insertions(+), 8 deletions(-)

I had a feeling there would be some issues to fix before we could do this by default:

systemd fails to compile with x32:
https://autobuilder.yoctoproject.org/typhoon/#/builders/57/builds/76

sanity tests on qemux86-64 core-image-sato-sdk:
https://autobuilder.yoctoproject.org/typhoon/#/builders/73/builds/77/steps/7/logs/step1c

sanity tests on qemuarm core-image-sato-sdk with poky-lsb:
https://autobuilder.yoctoproject.org/typhoon/#/builders/38/builds/77/steps/7/logs/step1c

dpkg issues:
https://autobuilder.yoctoproject.org/typhoon/#/builders/76/builds/77/steps/7/logs/step2c
https://autobuilder.yoctoproject.org/typhoon/#/builders/50/builds/77/steps/7/logs/step1c

wic failure:
https://autobuilder.yoctoproject.org/typhoon/#/builders/56/builds/33/steps/7/logs/step2d
(postinstall problem?)

musl sanity test issue:
https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/77/steps/7/logs/step1c
https://autobuilder.yoctoproject.org/typhoon/#/builders/45/builds/78/steps/7/logs/step1c

Hopefully its a small number of issues at the heart of this but we need to sort this out before it can merge.

Cheers,

Richard

author
#3 lore raw
Quoted 30 lines · Richard Purdie
Quoted 6 lines · On Thu, 2018-12-06 at 20:53 +0800, [email protected] wrote:

From: Kai Kang <[email protected]>

Move configurations from local.conf.sample.extended to local.conf.sample
to make systemd as default init manager for poky.

Quoted 7 lines

[YOCTO #13031]

---
  meta-poky/conf/local.conf.sample          | 8 ++++++++
  meta-poky/conf/local.conf.sample.extended | 8 --------
  2 files changed, 8 insertions(+), 8 deletions(-)

I had a feeling there would be some issues to fix before we could do this by default:

systemd fails to compile with x32:
https://autobuilder.yoctoproject.org/typhoon/#/builders/57/builds/76

sanity tests on qemux86-64 core-image-sato-sdk:
https://autobuilder.yoctoproject.org/typhoon/#/builders/73/builds/77/steps/7/logs/step1c

sanity tests on qemuarm core-image-sato-sdk with poky-lsb:
https://autobuilder.yoctoproject.org/typhoon/#/builders/38/builds/77/steps/7/logs/step1c

dpkg issues:
https://autobuilder.yoctoproject.org/typhoon/#/builders/76/builds/77/steps/7/logs/step2c
https://autobuilder.yoctoproject.org/typhoon/#/builders/50/builds/77/steps/7/logs/step1c

Quoted 7 lines

wic failure:
https://autobuilder.yoctoproject.org/typhoon/#/builders/56/builds/33/steps/7/logs/step2d
(postinstall problem?)

musl sanity test issue:
https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/77/steps/7/logs/step1c
https://autobuilder.yoctoproject.org/typhoon/#/builders/45/builds/78/steps/7/logs/step1c

Got it. I am going to fix fix them.

Regards,
Kai

Quoted 10 lines

Hopefully its a small number of issues at the heart of this but we need to sort this out before it can merge.

Cheers,

Richard

Signature · 2 lines
Regards,
Neil | Kai Kang
author
#4 lore raw
In reply to Richard Purdie
Quoted 14 lines · Richard Purdie
Quoted 6 lines · On Thu, 2018-12-06 at 20:53 +0800,[email protected] wrote:

From: Kai Kang<[email protected]>

Move configurations from local.conf.sample.extended to local.conf.sample
to make systemd as default init manager for poky.

Quoted 7 lines

[YOCTO #13031]

---
  meta-poky/conf/local.conf.sample          | 8 ++++++++
  meta-poky/conf/local.conf.sample.extended | 8 --------
  2 files changed, 8 insertions(+), 8 deletions(-)
Quoted 5 lines

I had a feeling there would be some issues to fix before we could do this by default:

systemd fails to compile with x32:
https://autobuilder.yoctoproject.org/typhoon/#/builders/57/builds/76

Fixed.

Quoted 2 lines

sanity tests on qemux86-64 core-image-sato-sdk:
https://autobuilder.yoctoproject.org/typhoon/#/builders/73/builds/77/steps/7/logs/step1c

| RESULTS - stap.StapTest.test_stap - Testcase 1652: FAILED (674.37s)

Can't reproduce.

Quoted 6 lines

sanity tests on qemuarm core-image-sato-sdk with poky-lsb:
https://autobuilder.yoctoproject.org/typhoon/#/builders/38/builds/77/steps/7/logs/step1c

dpkg issues:
https://autobuilder.yoctoproject.org/typhoon/#/builders/76/builds/77/steps/7/logs/step2c
https://autobuilder.yoctoproject.org/typhoon/#/builders/50/builds/77/steps/7/logs/step1c

| RESULTS - parselogs.ParseLogsTest.test_parselogs - Testcase 1059: FAILED (36.92s)

Can't reproduce

Quoted 3 lines

wic failure:
https://autobuilder.yoctoproject.org/typhoon/#/builders/56/builds/33/steps/7/logs/step2d
(postinstall problem?)

wic.Wic.test_iso_image: can't reproduce

wic.Wic2.test_iso_image: RR sendgb

Quoted 3 lines

musl sanity test issue:
https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/77/steps/7/logs/step1c
https://autobuilder.yoctoproject.org/typhoon/#/builders/45/builds/78/steps/7/logs/step1c

| RESULTS - systemd.SystemdJournalTests.test_systemd_boot_time - Testcase -1: SKIPPED (0.19s)

Fixed.

Would you like to try this patch again? Thanks.

--Kai

Quoted 10 lines

Hopefully its a small number of issues at the heart of this but we need to sort this out before it can merge.

Cheers,

Richard

Signature · 1 line
Kai Kang
author
#5 lore raw
In reply to [email protected]

Sorry, something wrong with the email causes send  the mails twice.

Quoted 24 lines · On 2018/12/6 下午9:36, [email protected] wrote:

From: Kai Kang <[email protected]>

Test with build and login with

$ for m in qemuarm qemuarm64 qemumips qemumips64 qemuppc qemux86 qemux86-64; do echo $m; MACHINE=$m bitbake core-image-sato; done

and sdk

$ for m in qemuarm qemuarm64 qemumips qemumips64 qemuppc qemux86 qemux86-64; do echo $m; MACHINE=$m bitbake core-image-sato -c populate_sdk; done

The following changes since commit aa93957c8353d222961f08e54fe8d4095dad72c1:

   tcl: Upgrade to 8.6.9 (2018-12-05 22:30:19 +0000)

are available in the Git repository at:

git://git.pokylinux.org/poky-contrib kangkai/systemd
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/systemd

Kai Kang (1):
local.conf.sample: make systemd as default init manager

  meta-poky/conf/local.conf.sample          | 8 ++++++++
  meta-poky/conf/local.conf.sample.extended | 8 --------
  2 files changed, 8 insertions(+), 8 deletions(-)
Signature · 2 lines
Regards,
Neil | Kai Kang