From: Arne Fitzenreiter Date: Sun, 20 Nov 2022 09:46:42 +0000 (+0000) Subject: u-boot: create signed bootscript at build time X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=afa464fd4aebfab35badb0d4231b492dde1fe728;p=people%2Fms%2Fipfire-2.x.git u-boot: create signed bootscript at build time before this was as binary in git which make no real sense. Signed-off-by: Arne Fitzenreiter Acked-by: Peter Müller Reviewed-by: Michael Tremer --- diff --git a/config/u-boot/boot.scr b/config/u-boot/boot.scr deleted file mode 100644 index 875e09dc23..0000000000 Binary files a/config/u-boot/boot.scr and /dev/null differ diff --git a/lfs/u-boot b/lfs/u-boot index 3452efddbc..e5a48ef91e 100644 --- a/lfs/u-boot +++ b/lfs/u-boot @@ -240,6 +240,9 @@ endif # config (uEnv.txt and boot.*) cp -vf $(DIR_SRC)/config/u-boot/* /boot/ + # create signed binary boot script (boot.scr) + mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr + # patch real Kernel version to uEnv.txt sed -e "s/xxxKVERxxx/$(KVER)/g" -i /boot/uEnv.txt