Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | kernel/base-files: clean up old code related to refreshing mtd partitions, ↵ | Felix Fietkau | 2013-07-14 | 1 | -18/+5 |
| | | | | | | | | it is no longer used anywhere Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37282 | ||||
* | sysupgrade: fixes broken pipe error during sysupgade | John Crispin | 2013-05-05 | 1 | -2/+2 |
| | | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36548 | ||||
* | base-files: sysupgrade fail with eglibc | Florian Fainelli | 2013-03-22 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With eglibc, "ldd busybox" give us libcrypt.so.1 => /lib/libcrypt.so.1 (0x774be000) libm.so.6 => /lib/libm.so.6 (0x773e4000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x773c0000) libc.so.6 => /lib/libc.so.6 (0x77276000) /lib/ld.so.1 (0x774fe000) Thus /lib/ld.so.1 is not printed by the libs fonction and isn't copied to the 'new' root before pivot root libs() { ldd $* | awk '{print $3}'; } https://dev.openwrt.org/browser/trunk/package/base-files/files/lib/upgrade/common.sh With uclibc the last line of "ldd busybox" is ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x77ada000) Don't know for musl! This patch replace https://dev.openwrt.org/changeset/19167, as glibc is gone The other way around is to rework libs() Please apply the fix (mine or another) on trunk and AA Might fix https://dev.openwrt.org/ticket/12273 Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr> Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 36107 | ||||
* | sysupgrade was broken as procd was getting killed | John Crispin | 2013-03-14 | 1 | -1/+1 |
| | | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36031 | ||||
* | make basefiles aware of procd | John Crispin | 2013-03-13 | 1 | -1/+1 |
| | | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36003 | ||||
* | hot-fix nameclash in sysupgrade: rename pivot() to supivot() in sysupgrade | Mirko Vogt | 2012-12-21 | 1 | -2/+2 |
| | | | | | | | | | | | | Sysupgrade defines its very own pivot() function. Prior merging boot.sh and functions.sh sysupgrade just included boot.sh, now it includes functions.sh which defines pivot() as well, however slightly different which causes sysupgrade to fail. This is a hot-fix to unbreak sysupgrade, however those two pivot() functions should actually get merged. SVN-Revision: 34815 | ||||
* | Do not overload mount-call - trying to reduce confusion | Mirko Vogt | 2012-12-19 | 1 | -6/+6 |
| | | | | | | | | | | | The behaviour of calling 'mount' differed depending on whether it called the busybox-mount, the mount of util-linux, the mount defined in /lib/functions.sh and /lib/functions/boot.sh /etc/preinit even included /lib/functions.sh and /lib/functions/boot.sh, both re-defining 'mount'. SVN-Revision: 34792 | ||||
* | base-files: ensure that /sys is available during sysupgrade, some essential ↵ | Jo-Philipp Wich | 2012-07-03 | 1 | -1/+5 |
| | | | | | | services like om-watchdog need it SVN-Revision: 32587 | ||||
* | /etc/functions.sh => /lib/functions.sh | Jo-Philipp Wich | 2012-06-05 | 1 | -1/+1 |
| | | | | SVN-Revision: 32062 | ||||
* | base-files: kill ubusd and udhcpc on sysupgrade as well | Felix Fietkau | 2012-05-23 | 1 | -1/+1 |
| | | | | SVN-Revision: 31852 | ||||
* | base-files: allow sysupgrade to kill netifd, fixes pppd shutdown on upgrade | Felix Fietkau | 2012-05-23 | 1 | -1/+1 |
| | | | | SVN-Revision: 31851 | ||||
* | package/base-files: copy /lib/functions.sh to the ramfs on sysupgrade | Gabor Juhos | 2012-05-23 | 1 | -1/+1 |
| | | | | SVN-Revision: 31842 | ||||
* | base-files: rewrite killing of nonessential services to not rely on top, use ↵ | Jo-Philipp Wich | 2011-11-16 | 1 | -9/+17 |
| | | | | | | the proc filesystem only SVN-Revision: 29187 | ||||
* | base-files: do not kill udhcpc on sysupgrade, it will tear down the ↵ | Jo-Philipp Wich | 2011-11-08 | 1 | -1/+1 |
| | | | | | | interface if terminated SVN-Revision: 28863 | ||||
* | base-files: do not assume that "top" is busybox' top, but try to call the ↵ | Jo-Philipp Wich | 2011-11-08 | 1 | -1/+1 |
| | | | | | | applet explicitely SVN-Revision: 28862 | ||||
* | base-files: add some more protected services to sysupgrade kill blacklist | Jo-Philipp Wich | 2011-11-03 | 1 | -1/+1 |
| | | | | SVN-Revision: 28732 | ||||
* | base-files: fix typo | Jo-Philipp Wich | 2011-10-30 | 1 | -1/+1 |
| | | | | SVN-Revision: 28681 | ||||
* | base-files: sysupgrade: kill all but essential processes before starting the ↵ | Jo-Philipp Wich | 2011-10-27 | 1 | -0/+24 |
| | | | | | | update SVN-Revision: 28626 | ||||
* | base-files/sysupgrade: add more busybox applet symlinks to ramdisk | Gabor Juhos | 2011-10-27 | 1 | -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> SVN-Revision: 28616 | ||||
* | base-files: use "reboot -f" after sysupgrade to prevent executing deleted ↵ | Jo-Philipp Wich | 2011-07-25 | 1 | -1/+1 |
| | | | | | | init scripts SVN-Revision: 27776 | ||||
* | package/base-files: add get_magic_long() to common upgrade script | Gabor Juhos | 2011-01-26 | 1 | -0/+4 |
| | | | | | | Patch-by: Mark Mentovai <mark@moxienet.com> SVN-Revision: 25117 | ||||
* | change from /jffs to /overlay, patch from Daniel Dickinson | Florian Fainelli | 2010-03-21 | 1 | -5/+5 |
| | | | | SVN-Revision: 20356 | ||||
* | base-files: sysupgade library coomon.sh has "bug" in glibc enviorement. For ↵ | Jo-Philipp Wich | 2010-01-16 | 1 | -0/+3 |
| | | | | | | 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> SVN-Revision: 19167 | ||||
* | base-files: fix sysupgrade get_magic_word() function to return proper values ↵ | Jo-Philipp Wich | 2009-08-19 | 1 | -1/+1 |
| | | | | | | if the first two bytes are identical SVN-Revision: 17319 | ||||
* | base-files: Fix sysupgrade .tar.gz configuration restoring | Vasilis Tsiligiannis | 2009-06-29 | 1 | -12/+12 |
| | | | | SVN-Revision: 16626 | ||||
* | sysupgrade: sync *before* mtd write, only fallback to sysrq-trigger if ↵ | Jo-Philipp Wich | 2009-06-17 | 1 | -3/+4 |
| | | | | | | standard reboot fails SVN-Revision: 16488 | ||||
* | base-files: Add support for bzipped images in sysupgrade | Vasilis Tsiligiannis | 2009-06-10 | 1 | -1/+2 |
| | | | | SVN-Revision: 16408 | ||||
* | base-files: Detect and decompressed gzipped images automatically when ↵ | Vasilis Tsiligiannis | 2009-06-10 | 1 | -7/+14 |
| | | | | | | flashing with sysupgrade SVN-Revision: 16407 | ||||
* | base-files: format hexdump output instead of using awk for sysupgrade | Vasilis Tsiligiannis | 2009-06-10 | 1 | -1/+1 |
| | | | | SVN-Revision: 16405 | ||||
* | base-files: fix test experession for sysupgrade | Vasilis Tsiligiannis | 2009-06-03 | 1 | -1/+1 |
| | | | | SVN-Revision: 16310 | ||||
* | sysupgrade: use sysrq-trigger if available | Jo-Philipp Wich | 2009-05-15 | 1 | -0/+1 |
| | | | | SVN-Revision: 15865 | ||||
* | base-files: show reboot notification is sysupgrade | Jo-Philipp Wich | 2009-05-09 | 1 | -1/+4 |
| | | | | SVN-Revision: 15730 | ||||
* | Add option in sysupgrade to flash gzipped images | Jo-Philipp Wich | 2009-05-07 | 1 | -3/+6 |
| | | | | SVN-Revision: 15672 | ||||
* | sysupgrade: install /bin/sleep into ramdisk too and add completition notice ↵ | Jo-Philipp Wich | 2009-03-08 | 1 | -1/+2 |
| | | | | | | (#4747) SVN-Revision: 14784 | ||||
* | install missing busybox symlinks for sysupgrade (patch by Frédéric Moulins) | Felix Fietkau | 2008-09-25 | 1 | -1/+1 |
| | | | | SVN-Revision: 12695 | ||||
* | fix sysupgrade support for brcm-2.4 and brcm47xx make mtd refresh based ↵ | Felix Fietkau | 2008-09-23 | 1 | -2/+15 |
| | | | | | | config append optional (leave enabled on x86) SVN-Revision: 12657 | ||||
* | sysupgrade: add optional delay before rebooting | Felix Fietkau | 2008-09-12 | 1 | -0/+1 |
| | | | | SVN-Revision: 12572 | ||||
* | fix sysupgrade endian issues | Travis Kemen | 2008-07-22 | 1 | -1/+1 |
| | | | | SVN-Revision: 11900 | ||||
* | fix sysupgrade 'do_upgrade: not found' error | Felix Fietkau | 2008-06-04 | 1 | -1/+1 |
| | | | | SVN-Revision: 11362 | ||||
* | add sysupgrade script for config preserving system upgrades. only ↵ | Felix Fietkau | 2007-08-21 | 1 | -0/+151 |
implemented for x86-2.6 at the moment, but can be ported to other platforms easily SVN-Revision: 8456 |