projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mount boot partition in /mnt/boot instead of /boot
[hvlinux.git]
/
stage1
/
create-config-files
diff --git
a/stage1/create-config-files
b/stage1/create-config-files
index
1dbb9be
..
8fa08ce
100755
(executable)
--- a/
stage1/create-config-files
+++ b/
stage1/create-config-files
@@
-9,7
+9,8
@@
cat > ${LFS}/etc/fstab << "EOF"
EOF
if [ -n "${BOOT_PARTITION}" ]; then
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
fi
if [ -n "${SWAP_PARTITION}" ]; then
echo "${SWAP_PARTITION} none swap sw 0 0" >> ${LFS}/etc/fstab