1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2024-12-27 11:08:21 +01: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
fi fi
exec /sbin/init
# active the back light # active the back light
echo 0 > /sys/class/backlight/backlight/bl_power echo 0 > /sys/class/backlight/backlight/bl_power
@ -159,7 +161,6 @@ for m in $MODULES_DIR/*; do
done done
done done
exec /sbin/init
# Catch all # Catch all
fatal "ERROR: Initramfs failed to initialize the system." fatal "ERROR: Initramfs failed to initialize the system."

View File

@ -25,7 +25,7 @@ do_install() {
install -d ${D}/etc/init.d install -d ${D}/etc/init.d
# base # base
# install -m 0755 ${WORKDIR}/init ${D}/init install -m 0755 ${WORKDIR}/init ${D}/init
# udev # udev
# install -m 0755 ${WORKDIR}/udev ${D}/init.d/01-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"