]> code.ossystems Code Review - openembedded-core.git/commitdiff
shadow: fix building systemd with useradd-staticids.bbclass enabled
authorAndreas Müller <schnitzeltony@googlemail.com>
Thu, 10 Apr 2014 18:07:48 +0000 (20:07 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Apr 2014 10:41:03 +0000 (11:41 +0100)
| groupadd: 'systemd-journal-gateway' is not a valid group name

Without useradd-staticids enabled, group 'systemd-journal-gateway' is created
by useradd and that seems not to care for GROUP_NAME_MAX_LENGTH which has 16 by
default.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/shadow/shadow.inc

index d6bf73b591e4cba02996cb486ababbc883528034..a4e9634a567ce970254540e17d56fa9e0b7fa0dc 100644 (file)
@@ -60,6 +60,7 @@ inherit autotools gettext
 EXTRA_OECONF += "--without-audit \
                  --without-libcrack \
                  --without-selinux \
+                 --with-group-name-max-length=24 \
                  ${NSCDOPT}"
 
 NSCDOPT = ""