Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] systemd-serialtty: allow empty package
@ 2017-09-26  8:41 Chen Qi
  2017-09-26  8:41 ` [PATCH 1/1] " Chen Qi
  0 siblings, 1 reply; 2+ messages in thread
From: Chen Qi @ 2017-09-26  8:41 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit f7c3a0267aeae74a216de9f081b2cb189388ad88:

  qemurunner: print tail qemu log in case bootlog is empty (2017-09-25 14:16:53 +0100)

are available in the git repository at:

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

Chen Qi (1):
  systemd-serialtty: allow empty package

 meta/recipes-core/systemd/systemd-serialgetty.bb | 2 ++
 1 file changed, 2 insertions(+)

-- 
1.9.1



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] systemd-serialtty: allow empty package
  2017-09-26  8:41 [PATCH 0/1] systemd-serialtty: allow empty package Chen Qi
@ 2017-09-26  8:41 ` Chen Qi
  0 siblings, 0 replies; 2+ messages in thread
From: Chen Qi @ 2017-09-26  8:41 UTC (permalink / raw)
  To: openembedded-core

If SERIAL_CONSOLES is set to empty for some reason, we would have rootfs
failure like below.

  - nothing provides systemd-serialgetty needed by systemd-1:234-r0.core2_64

This is because systemd-serialgetty package is not generated when
SERIAL_CONSOLES is empty.

Set ALLOW_EMPTY to "1" for this recipe to allow for generation of empty
systemd-serialgetty package to avoid the above error.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 meta/recipes-core/systemd/systemd-serialgetty.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-core/systemd/systemd-serialgetty.bb b/meta/recipes-core/systemd/systemd-serialgetty.bb
index 74b5986..d934716 100644
--- a/meta/recipes-core/systemd/systemd-serialgetty.bb
+++ b/meta/recipes-core/systemd/systemd-serialgetty.bb
@@ -48,3 +48,5 @@ python () {
     if not bb.utils.contains ('DISTRO_FEATURES', 'systemd', True, False, d):
         raise bb.parse.SkipPackage("'systemd' not in DISTRO_FEATURES")
 }
+
+ALLOW_EMPTY_${PN} = "1"
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-09-26  8:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-26  8:41 [PATCH 0/1] systemd-serialtty: allow empty package Chen Qi
2017-09-26  8:41 ` [PATCH 1/1] " Chen Qi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox