[OpenWrt-Devel] [PATCH][RFC][RTF] procd: drop nand_upgrade_stage1 from sysupgrade_pre_upgrade hooks

Rafał Miłecki zajec5 at gmail.com
Tue Nov 10 18:17:11 EST 2015


Now we have all targets using platform_pre_upgrade (and calling
nand_do_upgrade directly) we don't need nand_upgrade_stage1 to be in
sysupgrade_pre_upgrade hooks anymore.

Signed-off-by: Rafał Miłecki <zajec5 at gmail.com>
---
 package/system/procd/files/nand.sh | 1 -
 1 file changed, 1 deletion(-)

diff --git a/package/system/procd/files/nand.sh b/package/system/procd/files/nand.sh
index 3b1c749..0c179cb 100644
--- a/package/system/procd/files/nand.sh
+++ b/package/system/procd/files/nand.sh
@@ -322,7 +322,6 @@ nand_upgrade_stage1() {
 		exit 0
 	}
 }
-append sysupgrade_pre_upgrade nand_upgrade_stage1
 
 # Check if passed file is a valid one for NAND sysupgrade. Currently it accepts
 # 3 types of files:
-- 
1.8.4.5
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list