Mount boot partition in /mnt/boot instead of /boot
[hvlinux.git] / stage1 / create-config-files
index 1dbb9be..8fa08ce 100755 (executable)
@@ -9,7 +9,8 @@ cat > ${LFS}/etc/fstab << "EOF"
 EOF
 
 if [ -n "${BOOT_PARTITION}" ]; then
-    echo "${BOOT_PARTITION} /boot auto defaults 0 0" >> ${LFS}/etc/fstab
+    install -v -m755 -d ${LFS}/mnt/boot
+    echo "${BOOT_PARTITION} /mnt/boot auto defaults 0 0" >> ${LFS}/etc/fstab
 fi
 if [ -n "${SWAP_PARTITION}" ]; then
     echo "${SWAP_PARTITION} none swap sw 0 0" >> ${LFS}/etc/fstab