Skip to content
Snippets Groups Projects
Commit cbd64e5f authored by nbd's avatar nbd
Browse files

ar71xx: fix new mktplinkfw image code - flags for sysupgrade vs factory were swapped (fixes #19400)


Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45281 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent 4ed36aa4
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment