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

Khem Raj raj.khem at gmail.com
Mon May 9 23:50:37 UTC 2016


> 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?

>                    hibernate \
>                    timedated \
>                    timesyncd \
> --
> 2.8.0
> 
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160509/1a51dee6/attachment-0002.sig>


More information about the Openembedded-core mailing list