diff options
author | Jo-Philipp Wich <jo@mein.io> | 2016-05-24 12:07:02 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2016-05-24 13:30:58 +0200 |
commit | 1012701014bd944197031a3c0023527861b521b4 (patch) | |
tree | 6ef4087afd0ce664dba35e75376526152075b4e1 /package | |
parent | 3193053df7d27bde82fbcc310e4404cc43f39313 (diff) | |
download | mtk-20170518-1012701014bd944197031a3c0023527861b521b4.zip mtk-20170518-1012701014bd944197031a3c0023527861b521b4.tar.gz mtk-20170518-1012701014bd944197031a3c0023527861b521b4.tar.bz2 |
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')
-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 0383d25..752a61c 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 |