mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2024-12-26 02:38:22 +01:00
use sysvinit
This commit is contained in:
parent
98cfc9467c
commit
4eaa3b3aee
@ -120,6 +120,8 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
exec /sbin/init
|
||||
|
||||
# active the back light
|
||||
echo 0 > /sys/class/backlight/backlight/bl_power
|
||||
|
||||
@ -159,7 +161,6 @@ for m in $MODULES_DIR/*; do
|
||||
done
|
||||
done
|
||||
|
||||
exec /sbin/init
|
||||
|
||||
# Catch all
|
||||
fatal "ERROR: Initramfs failed to initialize the system."
|
||||
|
@ -25,7 +25,7 @@ do_install() {
|
||||
install -d ${D}/etc/init.d
|
||||
|
||||
# base
|
||||
# install -m 0755 ${WORKDIR}/init ${D}/init
|
||||
install -m 0755 ${WORKDIR}/init ${D}/init
|
||||
|
||||
# udev
|
||||
# install -m 0755 ${WORKDIR}/udev ${D}/init.d/01-udev
|
||||
@ -42,4 +42,4 @@ do_install() {
|
||||
}
|
||||
|
||||
|
||||
FILES:${PN} = "/etc /dev"
|
||||
FILES:${PN} = "/etc /init /dev"
|
Loading…
Reference in New Issue
Block a user