mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2024-12-26 18:58:20 +01:00
use sysvinit
This commit is contained in:
parent
98cfc9467c
commit
4eaa3b3aee
@ -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."
|
||||||
|
@ -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"
|
Loading…
Reference in New Issue
Block a user