aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorAndré Valentin <avalentin@marcant.net>2016-10-25 08:40:37 +0200
committerJohn Crispin <john@phrozen.org>2016-10-26 12:37:47 +0200
commit783875f18b073b0fbe3281293e51781fa372ce7f (patch)
tree89ece7d5cd2454e7d1dd6f3b992a7a510772cc22 /package
parent1465bebd74537fc38d1b4457a331331d58ca6d43 (diff)
downloadupstream-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')
-rw-r--r--package/base-files/files/lib/upgrade/common.sh2
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