996247ba7dfffbeb444f793f7e105fcfb5ffa939 moved the power flags (POWEROFF, HALT, REBOOT) to a fragment init.cfg which is only included when busybox is selected as the init_manager. This assumption is incorrect in scenarios where installation mechanism is provided through live images and almost all the initramfs scripts use the reboot command at the end of installation. Without this change we see reboot: not found
Signed-off-by: Awais Belal <[email protected]> --- meta/recipes-core/busybox/busybox/defconfig | 2 +- meta/recipes-core/busybox/busybox/init.cfg | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/meta/recipes-core/busybox/busybox/defconfig b/meta/recipes-core/busybox/busybox/defconfig index 59d93c7079..eb7665dfa2 100644 --- a/meta/recipes-core/busybox/busybox/defconfig +++ b/meta/recipes-core/busybox/busybox/defconfig @@ -470,7 +470,7 @@ CONFIG_FEATURE_XARGS_SUPPORT_REPL_STR=y # CONFIG_FEATURE_BOOTCHARTD_CONFIG_FILE is not set # CONFIG_HALT is not set # CONFIG_POWEROFF is not set -# CONFIG_REBOOT is not set +CONFIG_REBOOT=y # CONFIG_FEATURE_CALL_TELINIT is not set # CONFIG_TELINIT_PATH is not set # CONFIG_INIT is not set diff --git a/meta/recipes-core/busybox/busybox/init.cfg b/meta/recipes-core/busybox/busybox/init.cfg index 3c1fdd42b6..3b839c515c 100644 --- a/meta/recipes-core/busybox/busybox/init.cfg +++ b/meta/recipes-core/busybox/busybox/init.cfg @@ -2,7 +2,6 @@ CONFIG_INIT=y CONFIG_FEATURE_USE_INITTAB=y CONFIG_HALT=y CONFIG_POWEROFF=y -CONFIG_REBOOT=y CONFIG_FEATURE_KILL_DELAY=0 CONFIG_TELINIT_PATH="" CONFIG_INIT_TERMINAL_TYPE="" -- 2.11.1 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
