generic-poky/meta
Ioan-Adrian Ratiu 6805ae0f2a useradd_base: keep group if it still has users
perform_groupdel() tries to delete a group irrespective if other
users have it as their primary group, thus the call to groupdel will
fail with the following error error:

groupdel: cannot remove the primary group of user '<user>'

Add a check to perform_groupdel() to determine if there are other
users and keep the group, printing a warning. This is called right
after a user is deleted to delete it's group. If the last user is
deleted, only then the group is also deleted.

(From OE-Core rev: bba1f02cb6d80279c6fed34bb18f010aa921fc1e)

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-26 10:44:27 +00:00
..
classes useradd_base: keep group if it still has users 2017-01-26 10:44:27 +00:00
conf sanity/abi-version: Force a clean TMPDIR after recipe specific sysroot changes 2017-01-23 23:30:14 +00:00
files Switch to Recipe Specific Sysroots 2017-01-23 12:05:17 +00:00
lib classes/oeqa: Replace subprocess.check_call() with check_output() 2017-01-23 23:30:57 +00:00
recipes-bsp u-boot: Update to 2017.01 release 2017-01-23 12:05:22 +00:00
recipes-connectivity ppp: update SRC_URI 2017-01-26 10:44:27 +00:00
recipes-core build-appliance-image: Update to master head revision 2017-01-23 23:32:23 +00:00
recipes-devtools rsync: update SRC_URI 2017-01-26 10:44:27 +00:00
recipes-extended ed: use yoctoproject mirror for SRC_URI 2017-01-23 22:40:38 +00:00
recipes-gnome gobject-introspection: Fix sysroot postinst scripting error 2017-01-23 23:30:14 +00:00
recipes-graphics Switch to Recipe Specific Sysroots 2017-01-23 12:05:17 +00:00
recipes-kernel linux-yocto/4.9: merge 4.9.3 and ethernet config changes 2017-01-23 12:05:23 +00:00
recipes-lsb4 libpng12: Handle no static libs 2016-02-15 16:28:46 +00:00
recipes-multimedia tremor: Use mirror tarball instead of svn url 2017-01-23 22:38:49 +00:00
recipes-rt meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
recipes-sato matchbox-session-sato: Add PACKAGE_WRITE_DEPS for postinst 2017-01-20 11:53:50 +00:00
recipes-support nss: Add PACKAGE_WRITE_DEPS 2017-01-20 11:53:50 +00:00
site siteinfo.bbclass: Add mipsisa{32, 64}r6{el, } support 2016-10-07 16:43:57 +01:00
COPYING.GPLv2 Fix license notices for OE-Core 2014-01-02 12:58:54 +00:00
COPYING.MIT
recipes.txt qt4: remove recipes and classes 2016-01-07 13:40:14 +00:00