ar71xx/image/edimax shorten the revision to 13 character
edimax fails if the revision is longer than 13 characters. Also change the name from OpenWrt to LEDE Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
This commit is contained in:
parent
65ae9db41a
commit
2a9f03adea
1 changed files with 2 additions and 2 deletions
|
@ -541,11 +541,11 @@ define Image/Build/Belkin
|
||||||
$(eval rootsize=$(call mtdpartsize,rootfs,$(4)))
|
$(eval rootsize=$(call mtdpartsize,rootfs,$(4)))
|
||||||
$(call Sysupgrade/RKuImage,$(1),$(2),$(kernsize),$(rootsize))
|
$(call Sysupgrade/RKuImage,$(1),$(2),$(kernsize),$(rootsize))
|
||||||
if [ -e "$(call sysupname,$(1),$(2))" ]; then \
|
if [ -e "$(call sysupname,$(1),$(2))" ]; then \
|
||||||
edimax_fw_header -m $(5) -v "OpenWrt$(REVISION)" \
|
edimax_fw_header -m $(5) -v "$(shell echo -n LEDE$(REVISION) | cut -c -13)" \
|
||||||
-n "uImage" \
|
-n "uImage" \
|
||||||
-i $(KDIR_TMP)/vmlinux-$(2).uImage \
|
-i $(KDIR_TMP)/vmlinux-$(2).uImage \
|
||||||
-o $(KDIR_TMP)/$(2)-uImage; \
|
-o $(KDIR_TMP)/$(2)-uImage; \
|
||||||
edimax_fw_header -m $(5) -v "OpenWrt$(REVISION)" \
|
edimax_fw_header -m $(5) -v "$(shell echo -n LEDE$(REVISION) | cut -c -13)" \
|
||||||
-n "rootfs" \
|
-n "rootfs" \
|
||||||
-i $(KDIR)/root.$(1) \
|
-i $(KDIR)/root.$(1) \
|
||||||
-o $(KDIR_TMP)/$(2)-rootfs; \
|
-o $(KDIR_TMP)/$(2)-rootfs; \
|
||||||
|
|
Loading…
Reference in a new issue