[OE-core] [PATCH v2 1/2] systemd: add sysusers config option to defaults

Stephano Cetola stephano.cetola at linux.intel.com
Tue May 10 00:24:13 UTC 2016


On 05/09, Khem Raj wrote:
> 
> > On May 9, 2016, at 4:42 PM, Stephano Cetola <stephano.cetola at linux.intel.com> wrote:
> > 
> > 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 <stephano.cetola at linux.intel.com>
> > ---
> > 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)} \
> 
> sysusers did not compile with uclibc, did you test this patch with uclibc?
You are correct, it still fails. Sorry, you can drop this from the
series.
> 
> >                    hibernate \
> >                    timedated \
> >                    timesyncd \
> > --
> > 2.8.0
> > 
> > --
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core at lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-core
> 





More information about the Openembedded-core mailing list