Allows to have other file system for boot partition without breaking
sysupgrade.
Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
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
}
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