summaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu/base-files/lib/upgrade
diff options
context:
space:
mode:
authorTomasz Maciej Nowak <tomek_n@o2.pl>2018-01-25 00:04:56 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2018-03-02 21:33:08 +0100
commitb1317a10f74455bfbb126d0d0962f5c191865b5c (patch)
tree6587cfc0cc1ecaa4a8ecddea33499ac4b45273ef /target/linux/mvebu/base-files/lib/upgrade
parent0ef28ea3875809ec4bebee29d908f31dd7c42b86 (diff)
downloadopenwrt-b1317a10f74455bfbb126d0d0962f5c191865b5c.tar.gz
openwrt-b1317a10f74455bfbb126d0d0962f5c191865b5c.tar.bz2
openwrt-b1317a10f74455bfbb126d0d0962f5c191865b5c.zip
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 <tomek_n@o2.pl>
Diffstat (limited to 'target/linux/mvebu/base-files/lib/upgrade')
-rw-r--r--target/linux/mvebu/base-files/lib/upgrade/clearfog.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/mvebu/base-files/lib/upgrade/clearfog.sh b/target/linux/mvebu/base-files/lib/upgrade/clearfog.sh
index 5388b22198..b6dbde8458 100644
--- a/target/linux/mvebu/base-files/lib/upgrade/clearfog.sh
+++ b/target/linux/mvebu/base-files/lib/upgrade/clearfog.sh
@@ -25,7 +25,7 @@ platform_do_upgrade_clearfog() {
platform_copy_config_clearfog() {
mkdir -p /boot
- [ -f /boot/kernel.img ] || mount -t vfat -o rw,noatime /dev/mmcblk0p1 /boot
+ [ -f /boot/kernel.img ] || mount -o rw,noatime /dev/mmcblk0p1 /boot
cp -af "$CONF_TAR" /boot/
sync
umount /boot