mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
ar71xx: fix new mktplinkfw image code - flags for sysupgrade vs factory were swapped (fixes #19400)
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45281 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -57,8 +57,8 @@ define Build/mktplinkfw
|
||||
-r $@ \
|
||||
-o $@.new \
|
||||
-a $(call rootfs_align,$(FILESYSTEM)) \
|
||||
$(if $(findstring sysupgrade,$1),-j -X 0x40000) \
|
||||
$(if $(findstring factory,$1),-j -X 0x40000 -s) \
|
||||
$(if $(findstring sysupgrade,$1),-j -X 0x40000 -s) \
|
||||
$(if $(findstring factory,$1),-j -X 0x40000) \
|
||||
$(if $(findstring initramfs,$1),-s -c)
|
||||
@mv $@.new $@
|
||||
endef
|
||||
|
||||
Reference in New Issue
Block a user