45 Commits (f0a5f24217fbedd7ffba0a2a0bf37c1102e44ad0)

Author SHA1 Message Date
John Crispin 5d8f9e03f1 base-files: add support for platform_pre_upgrade function 10 years ago
Imre Kaloz 2e3b84c3b5 fix sysupgrade on overlayfs v23+ 10 years ago
John Crispin 7860c9707a sysupgrade: preserve symlinks in backups 10 years ago
John Crispin 3dca5a158d procd: various cleanups to /lib/upgrade/nand.sh 10 years ago
John Crispin c43d614f89 base-files: add an ugly hack for nand to sysupgrade 11 years ago
Felix Fietkau 4a9ea80ef0 /lib/functions.sh: move rarely used mtd and macaddr related functions to /lib/functions/system.sh 11 years ago
John Crispin f18112883f sysupgrade: do not kill any processes in failsafe 11 years ago
Luka Perkov 3ceb6b3274 base-files: fix whitespaces 11 years ago
Felix Fietkau ff17114ba1 ar71xx: Unifi AP Pro sysupgrade patch 11 years ago
Jo-Philipp Wich b7f8f212ae base-files: implement -l (--list-backup) sysupgrade parameter to list the files that would be backed up 11 years ago
Jo-Philipp Wich 2a1ccf1830 base-files: abort sysupgrade if file specified with --restore-config is not found 11 years ago
Jo-Philipp Wich 2771edf647 base-files: implement -T (--test) sysupgrade parameter to verify image without actually flashing it 11 years ago
John Crispin 1f52c5a72c sysupgrade: create state file so procd knows when a sysupgrade is in progress 12 years ago
John Crispin 811d90ff40 mount_root: prepare base-files 12 years ago
Jo-Philipp Wich 70b0ef6322 sysupgrade: clarify online help 12 years ago
Jo-Philipp Wich 58070b0083 sysupgrade: do not require an extra argument after --restore-backup 12 years ago
Jo-Philipp Wich 70aaa116eb base-files: provide a sysupgrade -r (--restore-backup) option as convenience wrapper for tar -C / -x(v)zf 12 years ago
Jo-Philipp Wich 17dc1d5c44 base-files: fix option parsing of -F/--force parameter 12 years ago
Jo-Philipp Wich 9ae901445b /etc/functions.sh => /lib/functions.sh 13 years ago
Jo-Philipp Wich 4e88bcfb00 base-files: implement a --force option for sysupgrade to override image checks, useful to upgrade old ar71xx installations to current trunk ones 13 years ago
Jo-Philipp Wich 1c6821b42e base-files: add -b (--create-backup) option to sysupgrade, which generates a backup .tar.gz according to the user settings. This will also be reused by LuCI. 13 years ago
Jo-Philipp Wich d46e17548b base-files: kill remaining processes after running user hooks (#10461) 13 years ago
Jo-Philipp Wich 52e93e54bc base-files: sysupgrade: kill all but essential processes before starting the update 13 years ago
Jo-Philipp Wich 1e34c02e3e base-files: add -h and --help options to sysupgrade (#9728) 13 years ago
Jo-Philipp Wich d80f82d7a4 base-files: - 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 14 years ago
Jo-Philipp Wich 978ecae685 base-files: sysupgrade: merge info from "opkg list-changed-conffiles" to backup file list 14 years ago
Jo-Philipp Wich 91118a9500 base-files: add an experimental "-c" flag which tries to preserve *all* changed files in /overlay/etc minus some system files 14 years ago
Travis Kemen 32f6e6c44d revert r19964 for now, there are issues with opkg/ipkg.py generating the status db 15 years ago
Travis Kemen 249d48a68e grab all config files for installed packages, closes #3718 15 years ago
Jo-Philipp Wich 4d9b1d6c75 base-files: sysupgrade: restrict find command to plain files to avoid duplicates when generating the conffiles tgz archive 15 years ago
Jo-Philipp Wich 8962270fec base-files: add /etc/rc.local to the default save file list 15 years ago
Vasilis Tsiligiannis baa9053e7a base-files: Fix sysupgrade .tar.gz configuration restoring 16 years ago
Vasilis Tsiligiannis 57d7cc7666 base-files: Detect and decompressed gzipped images automatically when flashing with sysupgrade 16 years ago
Nicolas Thill 06413b783e base-files: initialize GZIPED to 0 in sysupgrade since it's used later in numeric comparisons 16 years ago
Jo-Philipp Wich 7da25b844c Don't try to pivot to new ramfs if already running on one 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. 16 years ago
Jo-Philipp Wich 71e0f59b80 Add option in sysupgrade to flash gzipped images 16 years ago
Felix Fietkau 2b2884293a add option in sysupgrade to restore config from file or URL (patch from #4043) 16 years ago
Felix Fietkau e2daafdb1d fix typo from last sysupgrade commit 16 years ago
Travis Kemen 3770c99cf8 add switch to not save configuration over the reflash in noninteractive mode 16 years ago
Felix Fietkau 22585e578b sysupgrade: add optional delay before rebooting 16 years ago
Travis Kemen b3b5e54099 add /etc/firewall.user to be backed up becuase it is an example in /etc/config/firewall 16 years ago
Travis Kemen 0b2111d1fb remove /etc/firewall.* from being kept as they no longer are used in trunk 16 years ago
Travis Kemen 0425daa86d keep /etc/group over reflash as well 16 years ago
Travis Kemen f20dd0803c add dropbear keys, passwd and firewall configuration to be saved during reflash 16 years ago
Felix Fietkau 1e38527a52 add sysupgrade script for config preserving system upgrades. only implemented for x86-2.6 at the moment, but can be ported to other platforms easily 17 years ago