summaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib/upgrade
Commit message (Collapse)AuthorAgeFilesLines
* [package] base-files: ensure that /sys is available during sysupgrade, some ↵jow2012-07-031-1/+5
| | | | | | essential services like om-watchdog need it git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32587 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] /etc/functions.sh => /lib/functions.shjow2012-06-051-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32062 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: kill ubusd and udhcpc on sysupgrade as wellnbd2012-05-231-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31852 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: allow sysupgrade to kill netifd, fixes pppd shutdown on upgradenbd2012-05-231-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31851 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/base-files: copy /lib/functions.sh to the ramfs on sysupgradejuhosg2012-05-231-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31842 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: rewrite killing of nonessential services to not rely ↵jow2011-11-161-9/+17
| | | | | | on top, use the proc filesystem only git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29187 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: do not kill udhcpc on sysupgrade, it will tear down ↵jow2011-11-081-1/+1
| | | | | | the interface if terminated git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28863 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: do not assume that "top" is busybox' top, but try to ↵jow2011-11-081-1/+1
| | | | | | call the applet explicitely git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28862 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: add some more protected services to sysupgrade kill ↵jow2011-11-031-1/+1
| | | | | | blacklist git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28732 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: fix typojow2011-10-301-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28681 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: sysupgrade: kill all but essential processes before ↵jow2011-10-271-0/+24
| | | | | | starting the update git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28626 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files/sysupgrade: add more busybox applet symlinks to ramdiskjuhosg2011-10-271-1/+6
| | | | | | | | | Adds symlinks for printf and wc to make life happier in the sysupgrade ramdisk. Also make code more readable by escaping that overly long line. Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28616 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: use "reboot -f" after sysupgrade to prevent executing ↵jow2011-07-251-1/+1
| | | | | | deleted init scripts git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27776 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/base-files: add get_magic_long() to common upgrade scriptjuhosg2011-01-261-0/+4
| | | | | | Patch-by: Mark Mentovai <mark@moxienet.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25117 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package]Âbase-files: don't mark /etc/banner as conffilejow2010-12-201-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24742 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files:jow2010-10-051-0/+10
| | | | | | | | | | | | - 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
* change from /jffs to /overlay, patch from Daniel Dickinsonflorian2010-03-211-5/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20356 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files:jow2010-01-161-0/+3
| | | | | | | | | sysupgade library coomon.sh has "bug" in glibc enviorement. For some reason ld-linux.so.3 is not installed at ramfs and sysupgrade always fails. Signed-off-by: Zintis Petersons <zintis.petersons@e-mail.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19167 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: fix sysupgrade get_magic_word() function to return ↵jow2009-08-191-1/+1
| | | | | | proper values if the first two bytes are identical git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17319 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: Fix sysupgrade .tar.gz configuration restoringacinonyx2009-06-291-12/+12
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16626 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] sysupgrade: sync *before* mtd write, only fallback to ↵jow2009-06-171-3/+4
| | | | | | sysrq-trigger if standard reboot fails git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16488 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: Add support for bzipped images in sysupgradeacinonyx2009-06-101-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16408 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: Detect and decompressed gzipped images automatically ↵acinonyx2009-06-101-7/+14
| | | | | | when flashing with sysupgrade git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16407 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: format hexdump output instead of using awk for sysupgradeacinonyx2009-06-101-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16405 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: fix test experession for sysupgradeacinonyx2009-06-031-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16310 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] sysupgrade: use sysrq-trigger if availablejow2009-05-151-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15865 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: show reboot notification is sysupgradejow2009-05-091-1/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15730 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [PATCH] Add option in sysupgrade to flash gzipped imagesjow2009-05-071-3/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15672 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] sysupgrade: install /bin/sleep into ramdisk too and add ↵jow2009-03-081-1/+2
| | | | | | completition notice (#4747) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14784 3c298f89-4303-0410-b956-a3cf2f4a3e73
* install missing busybox symlinks for sysupgrade (patch by Frédéric Moulins)nbd2008-09-251-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12695 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix sysupgrade support for brcm-2.4 and brcm47xxnbd2008-09-231-2/+15
| | | | | | make mtd refresh based config append optional (leave enabled on x86) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12657 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sysupgrade: add optional delay before rebootingnbd2008-09-121-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12572 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix sysupgrade endian issuesthepeople2008-07-221-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11900 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix sysupgrade 'do_upgrade: not found' errornbd2008-06-041-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11362 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add sysupgrade script for config preserving system upgrades. only ↵nbd2007-08-211-0/+151
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