summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/sysvinit
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2013-09-24 00:20:45 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-24 12:00:02 +0100
commite33e4c30a4fa5b98903d6a46cdcc5bca9cf50848 (patch)
tree77087b1d9b609084f9f287c235f66c5e9c7dab2d /meta/recipes-core/sysvinit
parent47ebf756efeb88727459165e00c16671854e19a9 (diff)
downloadopenembedded-core-contrib-e33e4c30a4fa5b98903d6a46cdcc5bca9cf50848.tar.gz
openembedded-core-contrib-e33e4c30a4fa5b98903d6a46cdcc5bca9cf50848.tar.bz2
openembedded-core-contrib-e33e4c30a4fa5b98903d6a46cdcc5bca9cf50848.zip
sysvinit: don't use useradd
It causes shadow to be used in core-image-minimal and increase the size by 1.5M. We will add the shutdown user to group via base-passwd which we depend upon instead. [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/sysvinit')
-rw-r--r--meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb7
1 files changed, 2 insertions, 5 deletions
diff --git a/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb b/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb
index 97ecc51c4d..50842e2fb6 100644
--- a/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb
+++ b/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb
@@ -24,8 +24,8 @@ SRC_URI[sha256sum] = "60bbc8c1e1792056e23761d22960b30bb13eccc2cabff8c7310a01f4d5
S = "${WORKDIR}/sysvinit-${PV}"
B = "${S}/src"
-inherit update-alternatives useradd
-DEPENDS_append = " update-rc.d-native"
+inherit update-alternatives
+DEPENDS_append = " update-rc.d-native base-passwd"
ALTERNATIVE_${PN} = "init mountpoint halt reboot runlevel shutdown poweroff last mesg utmpdump wall"
@@ -53,9 +53,6 @@ ALTERNATIVE_LINK_NAME[sulogin.8] = "${mandir}/man8/sulogin.8"
ALTERNATIVE_LINK_NAME[utmpdump.1] = "${mandir}/man1/utmpdump.1"
ALTERNATIVE_LINK_NAME[wall.1] = "${mandir}/man1/wall.1"
-USERADD_PACKAGES = "${PN}"
-GROUPADD_PARAM_${PN} = "--system shutdown"
-
PACKAGES =+ "sysvinit-pidof sysvinit-sulogin"
FILES_${PN} += "${base_sbindir}/* ${base_bindir}/*"
FILES_sysvinit-pidof = "${base_bindir}/pidof.sysvinit ${base_sbindir}/killall5"