Without the sysusers config option, the build will not know which users
need to be added for systemd. This is especially necessary if the
filesystem is readonly, as these users cannot be added at runtime.

Signed-off-by: Stephano Cetola <[email protected]>
---
 meta/recipes-core/systemd/systemd_229.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-core/systemd/systemd_229.bb 
b/meta/recipes-core/systemd/systemd_229.bb
index c23c749..aba73df 100644
--- a/meta/recipes-core/systemd/systemd_229.bb
+++ b/meta/recipes-core/systemd/systemd_229.bb
@@ -23,6 +23,7 @@ DEPENDS = "kmod docbook-sgml-dtd-4.1-native intltool-native 
gperf-native acl rea
 SECTION = "base/shell"
 
 inherit useradd pkgconfig autotools perlnative update-rc.d update-alternatives 
qemu systemd ptest gettext bash-completion
+USERADDEXTENSION += " useradd-staticids"
 
 SRCREV = "714c62b46379abb7558c544665522aca91691e10"
 
@@ -80,7 +81,8 @@ PACKAGECONFIG ??= "xz \
                    quotacheck \
                    bootchart \
                    hostnamed \
-                   ${@bb.utils.contains('TCLIBC', 'glibc', 'myhostname 
sysusers', '', d)} \
+                   sysusers \
+                   ${@bb.utils.contains('TCLIBC', 'glibc', 'myhostname', '', 
d)} \
                    hibernate \
                    timedated \
                    timesyncd \
-- 
2.8.0

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to