Author: jow Date: 2016-01-17 19:24:30 +0100 (Sun, 17 Jan 2016) New Revision: 48281
Modified: trunk/package/base-files/files/sbin/sysupgrade Log: base-files: Fix sysupgrade overlay saving A previous change to sysupgrade moved the overlay files into upper/ The -c switch generates a list of files to backup, but the sed calls did not take this into consideration. Signed-off-by: Rob Mosher <[email protected]> Modified: trunk/package/base-files/files/sbin/sysupgrade =================================================================== --- trunk/package/base-files/files/sbin/sysupgrade 2016-01-17 17:15:01 UTC (rev 48280) +++ trunk/package/base-files/files/sbin/sysupgrade 2016-01-17 18:24:30 UTC (rev 48281) @@ -115,6 +115,7 @@ local overlaydir="/overlay" fi find $overlaydir/etc/ -type f -o -type l | sed \ + -e 's,^/overlay\/upper/,/,' \ -e 's,^/overlay/,/,' \ -e '\,/META_[a-zA-Z0-9]*$,d' \ -e '\,/functions.sh$,d' \ _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
