| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Current NAND sysupgrade process is a bit hard to follow due to the way
of triggering stage1. Currently this is done by leaving a /mark/ in the
form of /tmp/sysupgrade-nand-path during nand_do_platform_check.
Existence of this mark stops standard sysupgrade process (as the result
of sysupgrade_pre_upgrade exit). This may be a bit misleading.
Proposed solution adds a new function that will allow platform.sh
trigger NAND sysupgrade consciously. This will also allow cleaning
nand_do_platform_check limiting it to just checking the image.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45338
|
|
|
|
|
|
|
|
| |
This brings back old behavior.
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 44651
|
|
|
|
|
|
| |
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 43365
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[base-files] shell-scripting: fix wrong usage of '==' operator
normally the '==' is used for invoking a regex parser and is a bashism.
all of the fixes just want to compare a string. the used busybox-ash
will silently "ignore" this mistake, but make it portable/clean at least.
this patch does not change the behavior/logic of the scripts.
Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
SVN-Revision: 42911
|
|
|
|
|
|
| |
Signed-off-by: Catalin Patulea <catalinp@google.com>
SVN-Revision: 42783
|
|
|
|
|
|
| |
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41222
|
|
|
|
|
|
| |
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41126
|
|
|
|
|
|
|
|
| |
/lib/functions/system.sh
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40411
|
|
|
|
|
|
|
|
| |
sysugrade killed the lock causing failsafe to stop
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 39318
|
|
|
|
|
|
| |
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39036
|
|
|
|
|
|
| |
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 39006
|
|
|
|
|
|
| |
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38990
|
|
|
|
|
|
|
|
|
|
| |
"reload_legacy"
Add a new "reload" command that reloads the netifd config as well
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38989
|
|
|
|
|
|
|
|
| |
framework
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38988
|
|
|
|
|
|
| |
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38861
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
files that would be backed up
SVN-Revision: 37627
|
|
|
|
|
|
| |
found
SVN-Revision: 37624
|
|
|
|
|
|
| |
without actually flashing it
SVN-Revision: 37620
|
|
|
|
|
|
| |
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36893
|
|
|
|
|
|
| |
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36429
|
|
|
|
|
|
| |
Also allow '-y' to force the reset.
SVN-Revision: 36133
|
|
|
|
|
|
|
|
| |
To prevent accidential resets ask for confirmation (and default to n).
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 35712
|
|
|
|
|
|
|
|
| |
Fixes #12346.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
SVN-Revision: 34975
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
SVN-Revision: 34794
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
wrapper for tar -C / -x(v)zf
SVN-Revision: 33147
|
|
|
|
| |
SVN-Revision: 33075
|
|
|
|
| |
SVN-Revision: 32503
|
|
|
|
| |
SVN-Revision: 32062
|
|
|
|
|
|
| |
checks, useful to upgrade old ar71xx installations to current trunk ones
SVN-Revision: 29688
|
|
|
|
|
|
| |
backup .tar.gz according to the user settings. This will also be reused by LuCI.
SVN-Revision: 29587
|
|
|
|
| |
SVN-Revision: 29256
|
|
|
|
|
|
| |
unmanaged interfaces like used for batman or monitoring
SVN-Revision: 28860
|
|
|
|
|
|
| |
must not attempt to create the bridge by itself
SVN-Revision: 28745
|
|
|
|
|
|
| |
update
SVN-Revision: 28626
|
|
|
|
|
|
| |
transition to netifd easier
SVN-Revision: 28495
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
user invoked /sbin/ifup to bring up an interface, the setup used to fail in case of wireless networks tied to a non-bridged interface definition. Likewise, the bringup of "lan" in the default configuration will reinitialize the bridge but do not re-join the wireless network to it, requiring an extra call to /sbin/wifi (which might not be possible anymore due to a severed link if connected wirelessly).
The changeset modifies the "ifup" command to search for related wireless
devices and call "wifi up" on them if applicable. This way the commands for
wireless and non-wireless interfaces are unified from a cli point of view.
The "ifup -a" case has not been changed to keep the logic of the
/etc/init.d/network boot sequence. This might be changed later.
Solves #9763.
SVN-Revision: 27720
|
|
|
|
| |
SVN-Revision: 27630
|
|
|
|
| |
SVN-Revision: 27132
|
|
|
|
|
|
| |
Signed-off-by: Sebastian Philipp <sebastian@spawnhost.de>
SVN-Revision: 24258
|
|
|
|
|
|
| |
/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
|
|
|
|
|
|
| |
backup file list
SVN-Revision: 23233
|
|
|
|
|
|
| |
changed files in /overlay/etc minus some system files
SVN-Revision: 22977
|
|
|
|
|
|
| |
the list at config load time
SVN-Revision: 22099
|
|
|
|
|
|
| |
resolv.conf.auto for static or dhcp interfaces - force 0644 permissions when creating resolv.conf.auto, fixes dnsmasq permissions denied problem with pppd interfaces - revert dns servers in /sbin/ifdown - bump package revision
SVN-Revision: 21638
|
|
|
|
|
|
| |
move it to protocol stop callbacks
SVN-Revision: 21383
|
|
|
|
| |
SVN-Revision: 20838
|
|
|
|
| |
SVN-Revision: 20683
|