[source] package/basefiles: add mkfs.ext4 and losetup binaries to ramfs list

LEDE Commits lede-commits at lists.infradead.org
Wed Oct 26 03:46:45 PDT 2016


blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/783875f18b073b0fbe3281293e51781fa372ce7f

commit 783875f18b073b0fbe3281293e51781fa372ce7f
Author: André Valentin <avalentin at marcant.net>
AuthorDate: Tue Oct 25 08:40:37 2016 +0200

    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 at marcant.net>
---
 package/base-files/files/lib/upgrade/common.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh
index bed9c18..4d0e6d5 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



More information about the lede-commits mailing list