From a02647862a103cd347043b9b5178fc7bbeeee3f7 Mon Sep 17 00:00:00 2001 From: Ricardo Pardini Date: Thu, 7 Jul 2022 13:44:49 +0200 Subject: [PATCH] armbian-next: u-boot: add debug info when hacking `CONFIG_ENV_IS_IN_EXT4` in u-boot `.config` --- lib/functions/compilation/uboot.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/functions/compilation/uboot.sh b/lib/functions/compilation/uboot.sh index e8ad3f135..6e225a336 100644 --- a/lib/functions/compilation/uboot.sh +++ b/lib/functions/compilation/uboot.sh @@ -75,6 +75,7 @@ function compile_uboot_target() { # for modern (? 2018-2019?) kernel and non spi targets if [[ ${BOOTBRANCH} =~ ^tag:v201[8-9](.*) && ${target} != "spi" && -f .config ]]; then + display_alert "Hacking ENV stuff in u-boot config 2018-2019" "for ${target}" "debug" sed -i 's/^.*CONFIG_ENV_IS_IN_FAT.*/# CONFIG_ENV_IS_IN_FAT is not set/g' .config sed -i 's/^.*CONFIG_ENV_IS_IN_EXT4.*/CONFIG_ENV_IS_IN_EXT4=y/g' .config sed -i 's/^.*CONFIG_ENV_IS_IN_MMC.*/# CONFIG_ENV_IS_IN_MMC is not set/g' .config