From a6022475ff6753b5753678c6aac4ff794c6c3ea8 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
 <41898282+github-actions[bot]@users.noreply.github.com>
Date: Thu, 15 Sep 2022 21:33:26 +0200
Subject: [PATCH] ath79-nand: fix upgrade from 19.07 for GL-AR300M (#2641)

Support for the device was (re)added in #2455
(merged as 94e04393b19e843cfe595558839ae0aced075127)

(cherry picked from commit cd37fe5d60543a0af296f64880ca7047c681a82a)

Co-authored-by: Tom Herbers <mail@tomherbers.de>
---
 targets/ath79-nand | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/targets/ath79-nand b/targets/ath79-nand
index 11a150d9b..fff1eea81 100644
--- a/targets/ath79-nand
+++ b/targets/ath79-nand
@@ -11,6 +11,9 @@ local ATH10K_PACKAGES_QCA9887 = {
 
 device('gl.inet-gl-ar300m-nor', 'glinet_gl-ar300m-nor', {
 	factory = false,
+	manifest_aliases = {
+		'gl.inet-gl-ar300m', -- Upgrade from OpenWrt 19.07
+	},
 })
 
 device('gl.inet-gl-ar750s-nor', 'glinet_gl-ar750s-nor', {
-- 
GitLab