From: André Valentin Date: Tue, 25 Oct 2016 06:40:37 +0000 (+0200) Subject: package/basefiles: add mkfs.ext4 and losetup binaries to ramfs list X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=783875f18b073b0fbe3281293e51781fa372ce7f;p=openwrt%2Fstaging%2Fluka.git 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 --- 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() { # [...] 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