summaryrefslogtreecommitdiffstats
path: root/package/base-files/files/sbin/sysupgrade
Commit message (Collapse)AuthorAgeFilesLines
* [package] base-files:jow2010-10-051-2/+3
| | | | | | | | | | | | - add sysupgrade support for keepfile hints * introduces /lib/upgrade/keep.d/ for per-package keepfile lists * introduces /etc/sysupgrade.conf for user defined keepfile hints - prime /lib/upgrade/keep.d/base-files-essential to keep sysupgrade usable for images without opkg - change sysupgrade to build the keepfile list from /lib/upgrade/keep.d/, /etc/sysupgrade.conf and opkg list-changed-conffiles git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23258 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: sysupgrade: merge info from "opkg ↵jow2010-10-051-2/+3
| | | | | | list-changed-conffiles" to backup file list git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23233 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: add an experimental "-c" flag which tries to preserve ↵jow2010-09-071-2/+19
| | | | | | *all* changed files in /overlay/etc minus some system files git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22977 3c298f89-4303-0410-b956-a3cf2f4a3e73
* revert r19964 for now, there are issues with opkg/ipkg.py generating the ↵thepeople2010-03-041-3/+2
| | | | | | status db git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19970 3c298f89-4303-0410-b956-a3cf2f4a3e73
* grab all config files for installed packages, closes #3718thepeople2010-03-031-2/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19964 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: sysupgrade: restrict find command to plain files to ↵jow2009-11-201-1/+2
| | | | | | avoid duplicates when generating the conffiles tgz archive git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18455 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: add /etc/rc.local to the default save file listjow2009-09-121-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17572 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: Fix sysupgrade .tar.gz configuration restoringacinonyx2009-06-291-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16626 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: Detect and decompressed gzipped images automatically ↵acinonyx2009-06-101-4/+1
| | | | | | when flashing with sysupgrade git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16407 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: initialize GZIPED to 0 in sysupgrade since it's used ↵nico2009-05-171-2/+2
| | | | | | later in numeric comparisons git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15890 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [sysupgrade] Don't try to pivot to new ramfs if already running on onejow2009-05-071-2/+6
| | | | | | | | | | | | | This patch allows the sysupgrade script to continue with the upgrade if openwrt is already running on a ramfs. This allows the use of the sysupgrade script as an _installer_ when running from an iso image. A user could boot the system from a bootable cd and invoke sysupgrade -n <URL> to write an image to the hard disk or CF. Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15683 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [PATCH] Add option in sysupgrade to flash gzipped imagesjow2009-05-071-1/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15672 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add option in sysupgrade to restore config from file or URL (patch from #4043)nbd2008-09-281-1/+15
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12772 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix typo from last sysupgrade commitnbd2008-09-261-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12715 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add switch to not save configuration over the reflash in noninteractive modethepeople2008-09-261-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12714 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sysupgrade: add optional delay before rebootingnbd2008-09-121-3/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12572 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add /etc/firewall.user to be backed up becuase it is an example in ↵thepeople2008-08-161-1/+1
| | | | | | /etc/config/firewall git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12326 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove /etc/firewall.* from being kept as they no longer are used in trunkthepeople2008-08-161-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12320 3c298f89-4303-0410-b956-a3cf2f4a3e73
* keep /etc/group over reflash as wellthepeople2008-07-241-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11919 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add dropbear keys, passwd and firewall configuration to be saved during reflashthepeople2008-07-241-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11912 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add sysupgrade script for config preserving system upgrades. only ↵nbd2007-08-211-0/+92
implemented for x86-2.6 at the moment, but can be ported to other platforms easily git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8456 3c298f89-4303-0410-b956-a3cf2f4a3e73