]> git.ipfire.org Git - people/mlorenz/ipfire-2.x.git/commitdiff
u-boot: create signed bootscript at build time
authorArne Fitzenreiter <arne_f@ipfire.org>
Sun, 20 Nov 2022 09:46:42 +0000 (09:46 +0000)
committerPeter Müller <peter.mueller@ipfire.org>
Mon, 21 Nov 2022 11:06:52 +0000 (11:06 +0000)
before this was as binary in git which make no real sense.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Acked-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
config/u-boot/boot.scr [deleted file]
lfs/u-boot

diff --git a/config/u-boot/boot.scr b/config/u-boot/boot.scr
deleted file mode 100644 (file)
index 875e09d..0000000
Binary files a/config/u-boot/boot.scr and /dev/null differ
index 3452efddbc99052943bc6ac71eb52b634edfff7d..e5a48ef91e2a982b7cc40a5009ddad0f7a8872ab 100644 (file)
@@ -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