From b1317a10f74455bfbb126d0d0962f5c191865b5c Mon Sep 17 00:00:00 2001 From: Tomasz Maciej Nowak Date: Thu, 25 Jan 2018 00:04:56 +0100 Subject: mvebu: remove fs declaration in mount commands Allows to have other file system for boot partition without breaking sysupgrade. Signed-off-by: Tomasz Maciej Nowak --- target/linux/mvebu/base-files/lib/preinit/79_move_config | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'target/linux/mvebu/base-files/lib/preinit') diff --git a/target/linux/mvebu/base-files/lib/preinit/79_move_config b/target/linux/mvebu/base-files/lib/preinit/79_move_config index b0ee62a809..1735ad8849 100644 --- a/target/linux/mvebu/base-files/lib/preinit/79_move_config +++ b/target/linux/mvebu/base-files/lib/preinit/79_move_config @@ -10,8 +10,9 @@ move_config() { insmod fat insmod vfat mkdir -p /boot - mount -t vfat -o rw,noatime $BOOTPART /boot + mount -o rw,noatime $BOOTPART /boot [ -f /boot/sysupgrade.tgz ] && mv -f /boot/sysupgrade.tgz / + umount /boot fi } -- cgit v1.2.3