From: Chen Qi Date: Tue, 26 Sep 2017 08:41:38 +0000 (+0800) Subject: systemd-serialtty: allow empty package X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~19852 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abf2e9526a11bcb51b71b90a7b76bd33af656494;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Chen Qi Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/systemd/systemd-serialgetty.bb b/meta/recipes-core/systemd/systemd-serialgetty.bb index 74b59867304..d9347163b55 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"