aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/image/nand.mk
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2018-12-06 11:53:05 +0100
committerMathias Kresin <dev@kresin.me>2018-12-06 13:28:22 +0100
commit9d8fcab77aab6a9133cd6898a68ad512b0b31310 (patch)
tree746dea6a49e36d61499915c0396ddad735dfd472 /target/linux/ath79/image/nand.mk
parent8d6f128d390753ea8f4deae5cc9a1d75435164b4 (diff)
downloadupstream-9d8fcab77aab6a9133cd6898a68ad512b0b31310.tar.gz
upstream-9d8fcab77aab6a9133cd6898a68ad512b0b31310.tar.bz2
upstream-9d8fcab77aab6a9133cd6898a68ad512b0b31310.zip
ath79: fix GL.iNet GL-AR300M sysupgrade
The userspace boardname derived from the dts compatible was out of sync with the expected board added to the image metadata. This way a sysupgrade is refused. Sync the userspace boardname and the baordname used in the image metdata to allow a seamless sasupgrade. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ath79/image/nand.mk')
-rw-r--r--target/linux/ath79/image/nand.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ath79/image/nand.mk b/target/linux/ath79/image/nand.mk
index 1852ca4179..e5694b8af4 100644
--- a/target/linux/ath79/image/nand.mk
+++ b/target/linux/ath79/image/nand.mk
@@ -1,4 +1,4 @@
-define Device/glinet_ar300m_nand
+define Device/glinet_ar300m-nand
ATH_SOC := qca9531
DEVICE_TITLE := GL-AR300M (NAND)
DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-storage kmod-usb-ledtrig-usbport
@@ -10,4 +10,4 @@ define Device/glinet_ar300m_nand
IMAGE/sysupgrade.tar := sysupgrade-tar
IMAGE/factory.ubi := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi
endef
-TARGET_DEVICES += glinet_ar300m_nand
+TARGET_DEVICES += glinet_ar300m-nand