summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/busybox
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2019-09-16 12:24:23 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-09-18 12:09:02 +0100
commit8f38568a6450856e9335a8e7d49c84ecfc7ada9e (patch)
tree34720d67d958928d60c023d3e706e444a7b0a0ff /meta/recipes-core/busybox
parentf2b682e0016210e3a1f9dd1b09590d3ea5a73d50 (diff)
downloadpoky-8f38568a6450856e9335a8e7d49c84ecfc7ada9e.tar.gz
busybox: rcS and rcK should not be writeable by everyone
(From OE-Core rev: 917789ab3c61784ca7b3cdef6b76ff091abcf8c1) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/busybox')
-rw-r--r--meta/recipes-core/busybox/busybox.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc
index 956cccac61..d08fa8d3d9 100644
--- a/meta/recipes-core/busybox/busybox.inc
+++ b/meta/recipes-core/busybox/busybox.inc
@@ -319,8 +319,8 @@ do_install () {
319 fi 319 fi
320 fi 320 fi
321 if grep -q "CONFIG_INIT=y" ${B}/.config; then 321 if grep -q "CONFIG_INIT=y" ${B}/.config; then
322 install -D -m 0777 ${WORKDIR}/rcS ${D}${sysconfdir}/init.d/rcS 322 install -D -m 0755 ${WORKDIR}/rcS ${D}${sysconfdir}/init.d/rcS
323 install -D -m 0777 ${WORKDIR}/rcK ${D}${sysconfdir}/init.d/rcK 323 install -D -m 0755 ${WORKDIR}/rcK ${D}${sysconfdir}/init.d/rcK
324 fi 324 fi
325 325
326 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then 326 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then