]> 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)
committerSaul Wold <sgw@linux.intel.com>
Fri, 23 May 2014 16:09:38 +0000 (09:09 -0700)
| 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.

(From OE-Core rev: 33c7892326de296cc6d143577be5b395ac887d91)

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 = ""