diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2017-09-26 16:41:38 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-26 11:07:40 +0100 |
commit | c1d3dbb5bdbea42c3f4b4706872bd2444e850c7c (patch) | |
tree | 2246b5cad2285b1a23732101bddf97384af0655c /meta/recipes-core/systemd | |
parent | 85f55343bc5d9cabdfda35fb0f1c4274a5c51cf9 (diff) | |
download | poky-c1d3dbb5bdbea42c3f4b4706872bd2444e850c7c.tar.gz |
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.
(From OE-Core rev: abf2e9526a11bcb51b71b90a7b76bd33af656494)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd')
-rw-r--r-- | meta/recipes-core/systemd/systemd-serialgetty.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd-serialgetty.bb b/meta/recipes-core/systemd/systemd-serialgetty.bb index 74b5986730..d9347163b5 100644 --- a/meta/recipes-core/systemd/systemd-serialgetty.bb +++ b/meta/recipes-core/systemd/systemd-serialgetty.bb | |||
@@ -48,3 +48,5 @@ python () { | |||
48 | if not bb.utils.contains ('DISTRO_FEATURES', 'systemd', True, False, d): | 48 | if not bb.utils.contains ('DISTRO_FEATURES', 'systemd', True, False, d): |
49 | raise bb.parse.SkipPackage("'systemd' not in DISTRO_FEATURES") | 49 | raise bb.parse.SkipPackage("'systemd' not in DISTRO_FEATURES") |
50 | } | 50 | } |
51 | |||
52 | ALLOW_EMPTY_${PN} = "1" | ||