mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
be145ad5dc
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>
12 lines
336 B
Bash
12 lines
336 B
Bash
#!/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"
|
|
|