mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
f2b682e001
commit
8f38568a64
@@ -319,8 +319,8 @@ do_install () {
|
||||
fi
|
||||
fi
|
||||
if grep -q "CONFIG_INIT=y" ${B}/.config; then
|
||||
install -D -m 0777 ${WORKDIR}/rcS ${D}${sysconfdir}/init.d/rcS
|
||||
install -D -m 0777 ${WORKDIR}/rcK ${D}${sysconfdir}/init.d/rcK
|
||||
install -D -m 0755 ${WORKDIR}/rcS ${D}${sysconfdir}/init.d/rcS
|
||||
install -D -m 0755 ${WORKDIR}/rcK ${D}${sysconfdir}/init.d/rcK
|
||||
fi
|
||||
|
||||
if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
|
||||
|
||||
Reference in New Issue
Block a user