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 <arne_f@ipfire.org>
Acked-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Arne Fitzenreiter 2022-11-20 09:46:42 +00:00 committed by Peter Müller
parent 6163e1b766
commit afa464fd4a
2 changed files with 3 additions and 0 deletions

Binary file not shown.

View 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