[oe-commits] [openembedded-core] branch master updated: systemd-serialtty: allow empty package

git at git.openembedded.org git at git.openembedded.org
Tue Sep 26 10:08:03 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

The following commit(s) were added to refs/heads/master by this push:
     new abf2e95  systemd-serialtty: allow empty package
abf2e95 is described below

commit abf2e9526a11bcb51b71b90a7b76bd33af656494
Author: Chen Qi <Qi.Chen at windriver.com>
AuthorDate: Tue Sep 26 16:41:38 2017 +0800

    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 <Qi.Chen at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 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"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list