ubuntu: automaticly mounts these when creating its own boot partition

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/22/head
Robert Nelson 12 years ago
parent 20352cb69b
commit 3f22a9dca8

@ -1038,6 +1038,16 @@ function finish_installing_device {
chmod a+x /target/etc/finish-install.sh
if [ -f /etc/rcn.conf ]; then
if [ -d /target/boot/uboot ] ; then
sync
umount /target/boot/uboot
fi
if [ -d /target/boot/ ] ; then
sync
umount /target/boot/
fi
mkdir -p /target/boot/uboot || true
mount /dev/mmcblk0p1 /target/boot/uboot

Loading…
Cancel
Save