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>
This commit is contained in:
parent
0ef28ea387
commit
b1317a10f7
2 changed files with 3 additions and 2 deletions
|
@ -10,8 +10,9 @@ move_config() {
|
||||||
insmod fat
|
insmod fat
|
||||||
insmod vfat
|
insmod vfat
|
||||||
mkdir -p /boot
|
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 /
|
[ -f /boot/sysupgrade.tgz ] && mv -f /boot/sysupgrade.tgz /
|
||||||
|
umount /boot
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ platform_do_upgrade_clearfog() {
|
||||||
|
|
||||||
platform_copy_config_clearfog() {
|
platform_copy_config_clearfog() {
|
||||||
mkdir -p /boot
|
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/
|
cp -af "$CONF_TAR" /boot/
|
||||||
sync
|
sync
|
||||||
umount /boot
|
umount /boot
|
||||||
|
|
Loading…
Reference in a new issue