- Jun 05, 2015
-
-
John Crispin authored
get_image allows passing 2nd argument that is used in a pipe for extracting firmware from a non-native format. By accepting such command in default_do_upgrade we allow platforms to use this helper for vendor specific images. Signed-off-by:
Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45900
-
- May 29, 2015
-
-
Luka Perkov authored
ubi tool was removed from fstools in r41128. Signed-off-by:
Luka Perkov <luka@openwrt.org> SVN-Revision: 45813
-
- Nov 19, 2014
-
-
Jonas Gorski authored
ldd might be called for shell scrips during sysupgrade, causing it to complain that they are not a dynamic executables. This is a harmless error, so supress it to avoid confusing about them being serious ones. Signed-off-by:
Jonas Gorski <jogo@openwrt.org> SVN-Revision: 43315
-
- Nov 18, 2014
-
-
Jonas Gorski authored
r36107 ("base-files: sysupgrade fail with eglibc") tried to fix sysupgrade by changing the ld-soname to what is expected, but only fixed MIPS while breaking ARM. The underlying issue is that the ld.so name varies widely across different architectures for eglibc: eglibc-2.19-r25243$ grep -r "ld-soname :=" . | awk '{ print $3 }' | sort -u ld64.so.1 ld64.so.2 ld-linux-aarch64_be.so.1 ld-linux-aarch64.so.1 ld-linux-armhf.so.3 ld-linux-mipsn8.so.1 ld-linux.so.2 ld-linux.so.3 ld-linux-x32.so.2 ld-linux-x86-64.so.2 ld.so.1 Instead of adding each different soname to check for and copy it, replace the awk script with a sed script to extract it properly and drop the hardcoded so-name. Signed-off-by:
Jonas Gorski <jogo@openwrt.org> SVN-Revision: 43295
-
- Oct 25, 2014
-
-
Felix Fietkau authored
Based on bug #18206 sysupgrade can lead to loss of password information in certain situations. Most likely all users who will upgrade from versions r43017-43040, will lose their current passwords. :-( https://dev.openwrt.org/ticket/18206 Currently /etc/shadow is defined as a conffile in base-files: https://dev.openwrt.org/browser/trunk/package/base-files/Makefile#L37 But it is not defined in the default list of essential files to keep in sysupgrade: https://dev.openwrt.org/browser/trunk/package/base-files/files/lib/upgrade/keep.d/base-files-essential If exporting conffiles info fails, /etc/shadow can get lost. Shadow passwords are now the default, so saying that preserving /etc/passwd is essential while /etc/shadow is not, makes no sense. The attached patch adds /etc/shadow to the list of essential files. Signed-off-by:
Hannu Nyman <hannu.nyman@iki.fi> SVN-Revision: 43061
-
- Oct 19, 2014
-
-
Felix Fietkau authored
Signed-off-by:
Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42976
-
- Jul 10, 2014
-
-
John Crispin authored
If the sysupgrade scripts is called under upgraded, it will not kill all other processes as it should to avoid interference by locked filesystem. This patch checks the parent and if it is upgraded, it kills all. Signed-off-by:
André Valentin <avalentin@marcant.net> SVN-Revision: 41563
-
- Jul 01, 2014
-
-
John Crispin authored
/lib/{imx6,lantiq,...}.sh are needed in the ramfs for sysupgrade to work. Signed-off-by:
John Crispin <blogic@openwrt.org> SVN-Revision: 41440
-
- Jun 20, 2014
-
-
John Crispin authored
Signed-off-by:
John Crispin <blogic@openwrt.org> SVN-Revision: 41284
-
- Jun 19, 2014
-
-
John Crispin authored
Signed-off-by:
John Crispin <blogic@openwrt.org> SVN-Revision: 41268
-
- Jun 11, 2014
-
-
John Crispin authored
Signed-off-by:
John Crispin <blogic@openwrt.org> SVN-Revision: 41135
-
John Crispin authored
Also add some more busybox symlinks which are useful for sysupgrade on UBI-enabled devices. Signed-off-by:
Daniel Golle <daniel@makrotopia.org> SVN-Revision: 41125
-
- Jun 02, 2014
-
-
John Crispin authored
http://patchwork.openwrt.org/patch/5086/ Signed-off-by:
<karl.vogel@gmail.com> SVN-Revision: 40943
-
- Apr 07, 2014
-
-
John Crispin authored
Signed-off-by:
John Crispin <blogic@openwrt.org> SVN-Revision: 40420
-
John Crispin authored
Signed-off-by:
John Crispin <blogic@openwrt.org> SVN-Revision: 40416
-
Felix Fietkau authored
Signed-off-by:
Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40411
-
- Apr 03, 2014
-
-
John Crispin authored
Signed-off-by:
John Crispin <blogic@openwrt.org> SVN-Revision: 40367
-
- Mar 12, 2014
-
-
John Crispin authored
Signed-off-by:
John Crispin <blogic@openwrt.org> SVN-Revision: 39895
-
- Dec 27, 2013
-
-
John Crispin authored
Signed-off-by:
Toke Høiland-Jørgensen <toke@toke.dk> SVN-Revision: 39169
-
- Dec 09, 2013
-
-
Luka Perkov authored
Signed-off-by:
Luka Perkov <luka@openwrt.org> SVN-Revision: 39006
-
- Nov 14, 2013
-
-
Felix Fietkau authored
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
-
- Nov 11, 2013
-
-
Hauke Mehrtens authored
Signed-off-by:
Nathan Hintz <nlhintz@hotmail.com> SVN-Revision: 38766
-
- Jul 14, 2013
-
-
Felix Fietkau authored
kernel/base-files: clean up old code related to refreshing mtd partitions, it is no longer used anywhere Signed-off-by:
Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37282
-
- May 05, 2013
-
-
John Crispin authored
Signed-off-by:
John Crispin <blogic@openwrt.org> SVN-Revision: 36548
-
- Mar 22, 2013
-
-
Florian Fainelli authored
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
-
- Mar 14, 2013
-
-
John Crispin authored
Signed-off-by:
John Crispin <blogic@openwrt.org> SVN-Revision: 36031
-
- Mar 13, 2013
-
-
John Crispin authored
Signed-off-by:
John Crispin <blogic@openwrt.org> SVN-Revision: 36003
-
- Dec 21, 2012
-
-
Mirko Vogt authored
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
-
- Dec 19, 2012
-
-
Mirko Vogt authored
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
-
- Jul 03, 2012
-
-
Jo-Philipp Wich authored
base-files: ensure that /sys is available during sysupgrade, some essential services like om-watchdog need it SVN-Revision: 32587
-
- Jun 05, 2012
-
-
Jo-Philipp Wich authored
SVN-Revision: 32062
-
- May 23, 2012
-
-
Felix Fietkau authored
SVN-Revision: 31852
-
Felix Fietkau authored
SVN-Revision: 31851
-
Gabor Juhos authored
SVN-Revision: 31842
-
- Nov 16, 2011
-
-
Jo-Philipp Wich authored
base-files: rewrite killing of nonessential services to not rely on top, use the proc filesystem only SVN-Revision: 29187
-
- Nov 08, 2011
-
-
Jo-Philipp Wich authored
SVN-Revision: 28863
-
Jo-Philipp Wich authored
SVN-Revision: 28862
-
- Nov 03, 2011
-
-
Jo-Philipp Wich authored
SVN-Revision: 28732
-
- Oct 30, 2011
-
-
Jo-Philipp Wich authored
SVN-Revision: 28681
-
- Oct 27, 2011
-
-
Jo-Philipp Wich authored
SVN-Revision: 28626
-