diff options
author | Jo-Philipp Wich <jo@mein.io> | 2016-06-25 17:53:58 +0200 |
---|---|---|
committer | Zoltan HERPAI <wigyori@uid0.hu> | 2016-06-25 17:53:58 +0200 |
commit | a1149f8491f4b8f86d7abc77235f35e7156a5992 (patch) | |
tree | 9bc279cd5621d1f0717322999278a3a5589310e0 /package/base-files/files/lib/upgrade | |
parent | 502285aff02637defe4aab9a0921468d85782e92 (diff) | |
download | master-187ad058-a1149f8491f4b8f86d7abc77235f35e7156a5992.tar.gz master-187ad058-a1149f8491f4b8f86d7abc77235f35e7156a5992.tar.bz2 master-187ad058-a1149f8491f4b8f86d7abc77235f35e7156a5992.zip |
x86: generalize partition discovery for sysupgrade
Generalize the partition discovery in sysupgrade in order to fix sysupgrade
and config backup/recovery on MMC block devices which use a different naming
scheme compared to mtdblock or sd* devices.
The change also adds the find applet to the ramdisk utilities so that upgrade
code can rely on it.
The commit is based on the initial submission by Russell Senior at
http://patchwork.ozlabs.org/patch/625440/ .
Signed-off-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'package/base-files/files/lib/upgrade')
-rw-r--r-- | package/base-files/files/lib/upgrade/common.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh index 0383d253a3..752a61ccb3 100644 --- a/package/base-files/files/lib/upgrade/common.sh +++ b/package/base-files/files/lib/upgrade/common.sh @@ -53,7 +53,7 @@ run_ramfs() { # <command> [...] /bin/vi /bin/ls /bin/cat /usr/bin/awk /usr/bin/hexdump \ /bin/sleep /bin/zcat /usr/bin/bzcat /usr/bin/printf /usr/bin/wc \ /bin/cut /usr/bin/printf /bin/sync /bin/mkdir /bin/rmdir \ - /bin/rm /usr/bin/basename /bin/kill /bin/chmod + /bin/rm /usr/bin/basename /bin/kill /bin/chmod /usr/bin/find install_bin /bin/uclient-fetch /bin/wget install_bin /sbin/mtd |