diff options
author | André Valentin <avalentin@marcant.net> | 2016-10-25 08:40:37 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-10-26 12:37:47 +0200 |
commit | 783875f18b073b0fbe3281293e51781fa372ce7f (patch) | |
tree | 89ece7d5cd2454e7d1dd6f3b992a7a510772cc22 /package/base-files/files/lib/upgrade/common.sh | |
parent | 1465bebd74537fc38d1b4457a331331d58ca6d43 (diff) | |
download | upstream-783875f18b073b0fbe3281293e51781fa372ce7f.tar.gz upstream-783875f18b073b0fbe3281293e51781fa372ce7f.tar.bz2 upstream-783875f18b073b0fbe3281293e51781fa372ce7f.zip |
package/basefiles: add mkfs.ext4 and losetup binaries to ramfs list
mkfs.ext4 und losetup are needed for sysupgrade support on mmc devices
with automatic rootfs split (loopback device usage).
Signed-off-by: André Valentin <avalentin@marcant.net>
Diffstat (limited to 'package/base-files/files/lib/upgrade/common.sh')
-rw-r--r-- | package/base-files/files/lib/upgrade/common.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh index bed9c188f2..4d0e6d5f17 100644 --- a/package/base-files/files/lib/upgrade/common.sh +++ b/package/base-files/files/lib/upgrade/common.sh @@ -69,6 +69,8 @@ run_ramfs() { # <command> [...] install_bin /usr/sbin/ubirmvol install_bin /usr/sbin/ubimkvol install_bin /usr/sbin/partx + install_bin /usr/sbin/losetup + install_bin /usr/sbin/mkfs.ext4 for file in $RAMFS_COPY_BIN; do install_bin ${file//:/ } done |