summaryrefslogtreecommitdiffstats
path: root/meta
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 17:24:14 +0100
commite0a351b9131918d0ee7ade4c02f4e012a69dc837 (patch)
tree468e400145735cce535fc02c4eb7f34e019e5a9d /meta
parent5f9ee672a0c187fab6f0a60237796808457e6569 (diff)
downloadpoky-e0a351b9131918d0ee7ade4c02f4e012a69dc837.tar.gz
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] (From OE-Core rev: e33e4c30a4fa5b98903d6a46cdcc5bca9cf50848) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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
24S = "${WORKDIR}/sysvinit-${PV}" 24S = "${WORKDIR}/sysvinit-${PV}"
25B = "${S}/src" 25B = "${S}/src"
26 26
27inherit update-alternatives useradd 27inherit update-alternatives
28DEPENDS_append = " update-rc.d-native" 28DEPENDS_append = " update-rc.d-native base-passwd"
29 29
30ALTERNATIVE_${PN} = "init mountpoint halt reboot runlevel shutdown poweroff last mesg utmpdump wall" 30ALTERNATIVE_${PN} = "init mountpoint halt reboot runlevel shutdown poweroff last mesg utmpdump wall"
31 31
@@ -53,9 +53,6 @@ ALTERNATIVE_LINK_NAME[sulogin.8] = "${mandir}/man8/sulogin.8"
53ALTERNATIVE_LINK_NAME[utmpdump.1] = "${mandir}/man1/utmpdump.1" 53ALTERNATIVE_LINK_NAME[utmpdump.1] = "${mandir}/man1/utmpdump.1"
54ALTERNATIVE_LINK_NAME[wall.1] = "${mandir}/man1/wall.1" 54ALTERNATIVE_LINK_NAME[wall.1] = "${mandir}/man1/wall.1"
55 55
56USERADD_PACKAGES = "${PN}"
57GROUPADD_PARAM_${PN} = "--system shutdown"
58
59PACKAGES =+ "sysvinit-pidof sysvinit-sulogin" 56PACKAGES =+ "sysvinit-pidof sysvinit-sulogin"
60FILES_${PN} += "${base_sbindir}/* ${base_bindir}/*" 57FILES_${PN} += "${base_sbindir}/* ${base_bindir}/*"
61FILES_sysvinit-pidof = "${base_bindir}/pidof.sysvinit ${base_sbindir}/killall5" 58FILES_sysvinit-pidof = "${base_bindir}/pidof.sysvinit ${base_sbindir}/killall5"