Re: [OpenWrt-Devel] Problem with sysupgrade

2012-08-01 Thread LEO Airwarosu Yoichi Shinoda

How about adding the -n flag?

--- shinoda

On 2012/08/01, at 16:43, Andrea Ferraresi wrote:

 Hello folks, 
 i'm currently develop a custom version of openwrt for openwisp.org project. 
 So i have to install it remotely 
 to a large number of access points distributed in the province of Rome. (i 
 cannot reach the ap's easily) 
 So when i perform a sysupgrade with our firmware i put in it a recovery 
 tarball that contains some files included 
 the old network configuration. 
 
 The command sysupgrade -v -f old_sys.tgz new_firmware.img 
 
 goes fine it replace correctly all the needed files except the 
 /etc/config/network. In this case the one in the 
 new firmware is preserved but we need to replace that one with the settings 
 in the tgz package. 
 
 I wish i'm explain the problem correctly. 
 
 Any suggestions?
 
 Thank you. (please put me in cc) 
 
 Andrea. 
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/mailman/listinfo/openwrt-devel

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Problem with sysupgrade

2012-08-01 Thread Weedy
On 01/08/12 03:43 AM, Andrea Ferraresi wrote:
 Hello folks, 
 i'm currently develop a custom version of openwrt for openwisp.org project. 
 So i have to install it remotely 
 to a large number of access points distributed in the province of Rome. (i 
 cannot reach the ap's easily) 
 So when i perform a sysupgrade with our firmware i put in it a recovery 
 tarball that contains some files included 
 the old network configuration. 

I wrote about 100-150 lines of bash that rsyncs $TOPDIR/files/ with
local copies for each router in my network. After the initial compile I
can rebuild images for 120 (and counting) routers in 30 minutes accross
3 targets. then I just script mtd to flash them.

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel