[oe-commits] =?UTF-8?Q?Andreas=20M=C3=BCller=20?=: shadow: fix building systemd with useradd-staticids.bbclass enabled

git at git.openembedded.org git at git.openembedded.org
Wed Apr 23 10:44:18 UTC 2014


Module: openembedded-core.git
Branch: master
Commit: 33c7892326de296cc6d143577be5b395ac887d91
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=33c7892326de296cc6d143577be5b395ac887d91

Author: Andreas Müller <schnitzeltony at googlemail.com>
Date:   Thu Apr 10 20:07:48 2014 +0200

shadow: fix building systemd with useradd-staticids.bbclass enabled

| 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 at googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-extended/shadow/shadow.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-extended/shadow/shadow.inc b/meta/recipes-extended/shadow/shadow.inc
index d6bf73b..a4e9634 100644
--- a/meta/recipes-extended/shadow/shadow.inc
+++ b/meta/recipes-extended/shadow/shadow.inc
@@ -60,6 +60,7 @@ inherit autotools gettext
 EXTRA_OECONF += "--without-audit \
                  --without-libcrack \
                  --without-selinux \
+                 --with-group-name-max-length=24 \
                  ${NSCDOPT}"
 
 NSCDOPT = ""



More information about the Openembedded-commits mailing list