summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/base-passwd
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2013-09-24 00:18:58 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-24 11:59:45 +0100
commit47ebf756efeb88727459165e00c16671854e19a9 (patch)
treec2fc8942b7d16b02931365055d72a4f380824495 /meta/recipes-core/base-passwd
parent44fafdb5eca1fc8766bf649bc78e770e1d18979d (diff)
downloadopenembedded-core-contrib-47ebf756efeb88727459165e00c16671854e19a9.tar.gz
openembedded-core-contrib-47ebf756efeb88727459165e00c16671854e19a9.tar.bz2
openembedded-core-contrib-47ebf756efeb88727459165e00c16671854e19a9.zip
base-passwd: add shutdown group
Since using useradd in sysvinit causes core-image-minimal to gain shadow utilites instead of using busybox, we add the shutdown group directly. [YOCTO #5230] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/base-passwd')
-rw-r--r--meta/recipes-core/base-passwd/base-passwd-3.5.26/add_shutdown.patch19
-rw-r--r--meta/recipes-core/base-passwd/base-passwd_3.5.26.bb1
2 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-core/base-passwd/base-passwd-3.5.26/add_shutdown.patch b/meta/recipes-core/base-passwd/base-passwd-3.5.26/add_shutdown.patch
new file mode 100644
index 0000000000..eb75559c49
--- /dev/null
+++ b/meta/recipes-core/base-passwd/base-passwd-3.5.26/add_shutdown.patch
@@ -0,0 +1,19 @@
+
+We need to have a shutdown group to allow the shutdown icon
+to work correctly. Any users that want to use shutdown like
+the xuser should be added to this group.
+
+Upstream-Status: Inapporpriate [Embedded]
+
+Signed-off-by: Saul Wold <sgw@linux.intel.com>
+Index: base-passwd-3.5.26/group.master
+===================================================================
+--- base-passwd-3.5.26.orig/group.master
++++ base-passwd-3.5.26/group.master
+@@ -36,5 +36,6 @@ sasl:*:45:
+ plugdev:*:46:
+ staff:*:50:
+ games:*:60:
++shutdown:*:70:
+ users:*:100:
+ nogroup:*:65534:
diff --git a/meta/recipes-core/base-passwd/base-passwd_3.5.26.bb b/meta/recipes-core/base-passwd/base-passwd_3.5.26.bb
index 1c7e6b0e1d..4d94dcca65 100644
--- a/meta/recipes-core/base-passwd/base-passwd_3.5.26.bb
+++ b/meta/recipes-core/base-passwd/base-passwd_3.5.26.bb
@@ -6,6 +6,7 @@ LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a"
SRC_URI = "${DEBIAN_MIRROR}/main/b/base-passwd/base-passwd_${PV}.tar.gz \
+ file://add_shutdown.patch \
file://nobash.patch \
file://input.patch"