mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 02:27:54 +02:00
in config metadata we can configure busybox based init and device initializer ( mdev ) using e.g. VIRTUAL-RUNTIME_dev_manager = "busybox-mdev" VIRTUAL-RUNTIME_login_manager = "busybox" VIRTUAL-RUNTIME_init_manager = "busybox" VIRTUAL-RUNTIME_initscripts = "initscripts" VIRTUAL-RUNTIME_keymaps = "keymaps" DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit" busybox can be used to provide init system combined with mdev it makes it a complete init system for really tiny systems. This patch uses above defines to configure features in busybox to enable the init system and mdev in a configurable manner (From OE-Core rev: 75cb4fe38fade382450c5f6f35d5dcf55962143e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
336 B
336 B
#!/bin/sh
busybox init does not have LSB ( sysvinit ) like initlevels
so lets fake it to 5 which is what we default anyway
this helps with opkg post installs where it tries to invoke
update-rc.d ad post install step.
for package upgrades
See code in update-rc.d around line 190 where it calls runlevel
program
echo "5"