Skip to contentSkip to conversation

systemd-serialtty: allow empty package

PATCH New Chen Qi 1 participant 2 messages Sep 26, 2017

lore
Share & tools
lore

Chen Qi

author
#0 lore raw

cover systemd-serialtty: allow empty package

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(+)
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH 1/1 systemd-serialtty: allow empty package

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.

---
 meta/recipes-core/systemd/systemd-serialgetty.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-core/systemd/systemd-serialgetty.bb +2 -0
index 74b5986..d934716 100644
@@ -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"
Signature · 1 line
1.9.1