diff options
| author | INAGAKI Hiroshi | 2024-04-07 00:38:35 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2025-06-22 20:17:20 +0000 |
| commit | 2c379af5437b8b95a9f5e39c1890ade1eb002416 (patch) | |
| tree | 342b53b93d14942109a3075825ef73a8e0f90bc4 | |
| parent | 61f3e2d1326e2bbb7396538c66549e649a6cf9b7 (diff) | |
| download | openwrt-2c379af5437b8b95a9f5e39c1890ade1eb002416.tar.gz | |
mvebu: add specific signature support to Build/boot-scr
Add image-specific signature support to Build/boot-scr.
This is required to switch root devices passed to the kernel on Check
Point V-80 and V-81.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16904
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
| -rw-r--r-- | target/linux/mvebu/image/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/mvebu/image/Makefile b/target/linux/mvebu/image/Makefile index 9d6f207b3f..1dc62d244f 100644 --- a/target/linux/mvebu/image/Makefile +++ b/target/linux/mvebu/image/Makefile @@ -14,7 +14,7 @@ KERNEL_LOADADDR := 0x00008000 define Build/boot-scr rm -f $@-boot.scr sed \ - -e 's#@ROOT@#$(IMG_PART_SIGNATURE)#g' \ + -e 's#@ROOT@#$(if $(1),$(1),$(IMG_PART_SIGNATURE))#g' \ -e 's#@DTB@#$(firstword $(DEVICE_DTS))#g' \ $(BOOT_SCRIPT).bootscript > $@-new.bootscript mkimage -A arm -O linux -T script -C none -a 0 -e 0 -d $@-new.bootscript $@-boot.scr |