diff --git a/common/Kconfig b/common/Kconfig index b97392cfd..93787839c 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -575,6 +575,7 @@ config DEFAULT_ENVIRONMENT_GENERIC select CMD_CRC select CMD_CRC_CMP select CMD_AUTOMOUNT if HAVE_DEFAULT_ENVIRONMENT_NEW + select CMD_GLOBAL prompt "Default environment generic" help With this option barebox will use the generic default diff --git a/defaultenv/bin/init b/defaultenv/bin/init index f535e3781..adb3c43a6 100644 --- a/defaultenv/bin/init +++ b/defaultenv/bin/init @@ -3,6 +3,8 @@ PATH=/env/bin export PATH +global hostname + . /env/config if [ -e /dev/nor0 -a -n "$nor_parts" ]; then addpart /dev/nor0 $nor_parts