1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2024-07-03 16:09:48 +02:00

use sysvinit

This commit is contained in:
DanyLE 2023-08-02 00:29:37 +02:00
parent 98cfc9467c
commit 4eaa3b3aee
2 changed files with 4 additions and 3 deletions

View File

@ -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."

View File

@ -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"