Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix sysupgrade on overlayfs v23+ | Imre Kaloz | 2014-11-24 | 1 | -1/+6 |
| | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 43365 | ||||
* | sysupgrade: preserve symlinks in backups | John Crispin | 2014-10-06 | 1 | -2/+2 |
| | | | | | | Signed-off-by: Catalin Patulea <catalinp@google.com> SVN-Revision: 42783 | ||||
* | procd: various cleanups to /lib/upgrade/nand.sh | John Crispin | 2014-06-16 | 1 | -1/+1 |
| | | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41222 | ||||
* | base-files: add an ugly hack for nand to sysupgrade | John Crispin | 2014-06-11 | 1 | -0/+2 |
| | | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41126 | ||||
* | /lib/functions.sh: move rarely used mtd and macaddr related functions to ↵ | Felix Fietkau | 2014-04-07 | 1 | -0/+1 |
| | | | | | | | | /lib/functions/system.sh Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40411 | ||||
* | sysupgrade: do not kill any processes in failsafe | John Crispin | 2014-01-17 | 1 | -3/+5 |
| | | | | | | | | sysugrade killed the lock causing failsafe to stop Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 39318 | ||||
* | base-files: fix whitespaces | Luka Perkov | 2013-12-09 | 1 | -1/+1 |
| | | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 39006 | ||||
* | ar71xx: Unifi AP Pro sysupgrade patch | Felix Fietkau | 2013-11-14 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | The current implementation of mtd will not append the backup file created by sysupgrade to the correct partition, as mtd will append the data to first jffs2 partition it finds. As the kernel is also stored on a jffs2 partition (which resides before the overlay partition), the data will be appended to this partition. To fix this problem, a new option -s <number> skip the first n bytes when appending data to the jffs2 partiton, defaults to "0" is added to mtd. Signed-off-by: Peter Wagner <tripolar@gmx.at> SVN-Revision: 38807 | ||||
* | base-files: implement -l (--list-backup) sysupgrade parameter to list the ↵ | Jo-Philipp Wich | 2013-07-31 | 1 | -0/+14 |
| | | | | | | files that would be backed up SVN-Revision: 37627 | ||||
* | base-files: abort sysupgrade if file specified with --restore-config is not ↵ | Jo-Philipp Wich | 2013-07-31 | 1 | -1/+6 |
| | | | | | | found SVN-Revision: 37624 | ||||
* | base-files: implement -T (--test) sysupgrade parameter to verify image ↵ | Jo-Philipp Wich | 2013-07-30 | 1 | -1/+9 |
| | | | | | | without actually flashing it SVN-Revision: 37620 | ||||
* | sysupgrade: create state file so procd knows when a sysupgrade is in progress | John Crispin | 2013-06-10 | 1 | -0/+1 |
| | | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36893 | ||||
* | mount_root: prepare base-files | John Crispin | 2013-04-25 | 1 | -0/+2 |
| | | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36429 | ||||
* | sysupgrade: clarify online help | Jo-Philipp Wich | 2013-01-02 | 1 | -12/+15 |
| | | | | | | | | Fixes #12346. Signed-off-by: Paul Fertser <fercerpav@gmail.com> SVN-Revision: 34975 | ||||
* | sysupgrade: do not require an extra argument after --restore-backup | Jo-Philipp Wich | 2013-01-02 | 1 | -6/+7 |
| | | | | | | | | | | | Neither --create-backup nor --restore-backup need an image name (following the backup filename). Treat them in uniform way. Mostly fixes #12346. Signed-off-by: Paul Fertser <fercerpav@gmail.com> SVN-Revision: 34974 | ||||
* | base-files: provide a sysupgrade -r (--restore-backup) option as convenience ↵ | Jo-Philipp Wich | 2012-08-12 | 1 | -0/+12 |
| | | | | | | wrapper for tar -C / -x(v)zf SVN-Revision: 33147 | ||||
* | base-files: fix option parsing of -F/--force parameter | Jo-Philipp Wich | 2012-08-09 | 1 | -1/+1 |
| | | | | SVN-Revision: 33075 | ||||
* | /etc/functions.sh => /lib/functions.sh | Jo-Philipp Wich | 2012-06-05 | 1 | -2/+2 |
| | | | | SVN-Revision: 32062 | ||||
* | base-files: implement a --force option for sysupgrade to override image ↵ | Jo-Philipp Wich | 2012-01-08 | 1 | -2/+11 |
| | | | | | | checks, useful to upgrade old ar71xx installations to current trunk ones SVN-Revision: 29688 | ||||
* | base-files: add -b (--create-backup) option to sysupgrade, which generates a ↵ | Jo-Philipp Wich | 2011-12-20 | 1 | -2/+26 |
| | | | | | | backup .tar.gz according to the user settings. This will also be reused by LuCI. SVN-Revision: 29587 | ||||
* | base-files: kill remaining processes after running user hooks (#10461) | Jo-Philipp Wich | 2011-11-19 | 1 | -2/+2 |
| | | | | SVN-Revision: 29256 | ||||
* | base-files: sysupgrade: kill all but essential processes before starting the ↵ | Jo-Philipp Wich | 2011-10-27 | 1 | -0/+5 |
| | | | | | | update SVN-Revision: 28626 | ||||
* | base-files: add -h and --help options to sysupgrade (#9728) | Jo-Philipp Wich | 2011-07-17 | 1 | -1/+4 |
| | | | | SVN-Revision: 27630 | ||||
* | base-files: - add sysupgrade support for keepfile hints * introduces ↵ | Jo-Philipp Wich | 2010-10-05 | 1 | -2/+3 |
| | | | | | | /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 SVN-Revision: 23258 | ||||
* | base-files: sysupgrade: merge info from "opkg list-changed-conffiles" to ↵ | Jo-Philipp Wich | 2010-10-05 | 1 | -2/+3 |
| | | | | | | backup file list SVN-Revision: 23233 | ||||
* | base-files: add an experimental "-c" flag which tries to preserve *all* ↵ | Jo-Philipp Wich | 2010-09-07 | 1 | -2/+19 |
| | | | | | | changed files in /overlay/etc minus some system files SVN-Revision: 22977 | ||||
* | revert r19964 for now, there are issues with opkg/ipkg.py generating the ↵ | Travis Kemen | 2010-03-04 | 1 | -3/+2 |
| | | | | | | status db SVN-Revision: 19970 | ||||
* | grab all config files for installed packages, closes #3718 | Travis Kemen | 2010-03-03 | 1 | -2/+3 |
| | | | | SVN-Revision: 19964 | ||||
* | base-files: sysupgrade: restrict find command to plain files to avoid ↵ | Jo-Philipp Wich | 2009-11-20 | 1 | -1/+2 |
| | | | | | | duplicates when generating the conffiles tgz archive SVN-Revision: 18455 | ||||
* | base-files: add /etc/rc.local to the default save file list | Jo-Philipp Wich | 2009-09-12 | 1 | -1/+1 |
| | | | | SVN-Revision: 17572 | ||||
* | base-files: Fix sysupgrade .tar.gz configuration restoring | Vasilis Tsiligiannis | 2009-06-29 | 1 | -1/+1 |
| | | | | SVN-Revision: 16626 | ||||
* | base-files: Detect and decompressed gzipped images automatically when ↵ | Vasilis Tsiligiannis | 2009-06-10 | 1 | -4/+1 |
| | | | | | | flashing with sysupgrade SVN-Revision: 16407 | ||||
* | base-files: initialize GZIPED to 0 in sysupgrade since it's used later in ↵ | Nicolas Thill | 2009-05-17 | 1 | -2/+2 |
| | | | | | | numeric comparisons SVN-Revision: 15890 | ||||
* | Don't try to pivot to new ramfs if already running on one This patch allows ↵ | Jo-Philipp Wich | 2009-05-07 | 1 | -2/+6 |
| | | | | | | | | 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> SVN-Revision: 15683 | ||||
* | Add option in sysupgrade to flash gzipped images | Jo-Philipp Wich | 2009-05-07 | 1 | -1/+3 |
| | | | | SVN-Revision: 15672 | ||||
* | add option in sysupgrade to restore config from file or URL (patch from #4043) | Felix Fietkau | 2008-09-28 | 1 | -1/+15 |
| | | | | SVN-Revision: 12772 | ||||
* | fix typo from last sysupgrade commit | Felix Fietkau | 2008-09-26 | 1 | -1/+1 |
| | | | | SVN-Revision: 12715 | ||||
* | add switch to not save configuration over the reflash in noninteractive mode | Travis Kemen | 2008-09-26 | 1 | -0/+2 |
| | | | | SVN-Revision: 12714 | ||||
* | sysupgrade: add optional delay before rebooting | Felix Fietkau | 2008-09-12 | 1 | -3/+6 |
| | | | | SVN-Revision: 12572 | ||||
* | add /etc/firewall.user to be backed up becuase it is an example in ↵ | Travis Kemen | 2008-08-16 | 1 | -1/+1 |
| | | | | | | /etc/config/firewall SVN-Revision: 12326 | ||||
* | remove /etc/firewall.* from being kept as they no longer are used in trunk | Travis Kemen | 2008-08-16 | 1 | -1/+1 |
| | | | | SVN-Revision: 12320 | ||||
* | keep /etc/group over reflash as well | Travis Kemen | 2008-07-24 | 1 | -1/+1 |
| | | | | SVN-Revision: 11919 | ||||
* | add dropbear keys, passwd and firewall configuration to be saved during reflash | Travis Kemen | 2008-07-24 | 1 | -1/+1 |
| | | | | SVN-Revision: 11912 | ||||
* | add sysupgrade script for config preserving system upgrades. only ↵ | Felix Fietkau | 2007-08-21 | 1 | -0/+92 |
implemented for x86-2.6 at the moment, but can be ported to other platforms easily SVN-Revision: 8456 |