Skip to content
Snippets Groups Projects
Commit b1317a10 authored by Tomasz Maciej Nowak's avatar Tomasz Maciej Nowak Committed by Hauke Mehrtens
Browse files

mvebu: remove fs declaration in mount commands


Allows to have other file system for boot partition without breaking
sysupgrade.

Signed-off-by: default avatarTomasz Maciej Nowak <tomek_n@o2.pl>
parent 0ef28ea3
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment