ar71xx: fix new mktplinkfw image code - flags for sysupgrade vs factory were swapped (fixes #19400)
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45281
This commit is contained in:
parent
22b1f47555
commit
df7bb89edd
|
@ -57,8 +57,8 @@ define Build/mktplinkfw
|
||||||
-r $@ \
|
-r $@ \
|
||||||
-o $@.new \
|
-o $@.new \
|
||||||
-a $(call rootfs_align,$(FILESYSTEM)) \
|
-a $(call rootfs_align,$(FILESYSTEM)) \
|
||||||
$(if $(findstring sysupgrade,$1),-j -X 0x40000) \
|
$(if $(findstring sysupgrade,$1),-j -X 0x40000 -s) \
|
||||||
$(if $(findstring factory,$1),-j -X 0x40000 -s) \
|
$(if $(findstring factory,$1),-j -X 0x40000) \
|
||||||
$(if $(findstring initramfs,$1),-s -c)
|
$(if $(findstring initramfs,$1),-s -c)
|
||||||
@mv $@.new $@
|
@mv $@.new $@
|
||||||
endef
|
endef
|
||||||
|
|
Loading…
Reference in New Issue