| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ARGC is a 'C-ism', but not known/valid in shell-syntax - insert the correct
var $# (=number of args) here. under normal conditions this had no impact,
but we should at least correct it. the error was observable like this:
root@box:~ [ -e "/etc/functions.sh" ] && . /etc/functions.sh
root@box:~ [ -e "/lib/functions.sh" ] && . /lib/functions.sh
root@box:~ . /lib/upgrade/platform.sh
root@box:~ . /lib/upgrade/common.sh
root@box:~ platform_check_image /tmp/myfirmware.bin
ash: bad number
root@box:~ echo $?
0
Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
SVN-Revision: 40915
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Function move_config should be called after or during preinit_mount_root
hook in do_mount_root function. At this state sysupgrade.tgz is not in its
place during that time when do_mount_root is called. Function move_config
is called later so the sysupgrade.tgz stays in root directory to the second
restart when it is unpacked properly.
This patch adds move_config function to preinit_mount_root hook instead
of preinit_main and changes the filename of script to be called before
80_mount_root is called. It will prepare the sysupgrade archive for do_mount_root
within preinit_mount_root hook.
This patch solves ticket #15042 and #14088.
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
SVN-Revision: 39996
|
|
|
|
|
|
|
|
| |
it is no longer used anywhere
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37282
|
|
|
|
|
|
| |
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36430
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
SVN-Revision: 33898
|
|
|
|
|
|
|
|
|
| |
Sysupgrade broke on x86 when grub2 superceded grub. This patch
corrects tha magic_word to be expected in grub2 combined images.
Signed-off-by: Russell Senior <russell@personaltelco.net>
SVN-Revision: 33890
|
|
|
|
| |
SVN-Revision: 33639
|
|
|
|
|
|
|
| |
* use 'fsync' with 'dd' for image writing
* save config to boot partition
SVN-Revision: 32465
|
|
|
|
|
|
|
|
| |
Add script to detect soekris board of net4801 and net4826.
Patch from: kentarou matsuyama <matsuyama@thinktube.com>
SVN-Revision: 25102
|
|
|
|
|
|
| |
to acinonyx
SVN-Revision: 20703
|
|
|
|
| |
SVN-Revision: 20538
|
|
|
|
| |
SVN-Revision: 20514
|
|
|
|
| |
SVN-Revision: 20393
|
|
|
|
| |
SVN-Revision: 19479
|
|
|
|
| |
SVN-Revision: 19367
|
|
|
|
| |
SVN-Revision: 19331
|
|
|
|
|
|
| |
currently flushes the filesystem buffers after an image is written to the disk. This should happen before the image is written.
SVN-Revision: 16867
|
|
|
|
|
|
| |
from jffs2 to squashfs (#3321)
SVN-Revision: 12672
|
|
|
|
|
|
| |
config append optional (leave enabled on x86)
SVN-Revision: 12657
|
|
|
|
| |
SVN-Revision: 11900
|
|
SVN-Revision: 9069
|