iankelling.org
/
git
/
automated-distro-installer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nabia has a kernel now. other minor fixes
[automated-distro-installer]
/
fai
/
config
/
hooks
/
partition.DEFAULT
diff --git
a/fai/config/hooks/partition.DEFAULT
b/fai/config/hooks/partition.DEFAULT
index 0dc4c7d144450870c63eb1931ad736ff95058d26..f98e59556cb8dc338a0c6a3eb6e96344d2c4e68c 100755
(executable)
--- a/
fai/config/hooks/partition.DEFAULT
+++ b/
fai/config/hooks/partition.DEFAULT
@@
-361,8
+361,8
@@
if (( boot_space > 60000 )); then
# recovery needs and for doing pxe-kexec.
boot_mib=10000
root2_mib=200000
# recovery needs and for doing pxe-kexec.
boot_mib=10000
root2_mib=200000
- boot2_mib=
5
00
-elif (( boot_space > 30000 )); then
+ boot2_mib=
20
00
+elif (( boot_spa
_
ce > 30000 )); then
boot_mib=$(( 5000 + (boot_space - 30000) / 2 ))
root2_mib=100
boot2_mib=100
boot_mib=$(( 5000 + (boot_space - 30000) / 2 ))
root2_mib=100
boot2_mib=100
@@
-474,6
+474,9
@@
for dev in ${devs[@]}; do
done
shopt -s nullglob
done
shopt -s nullglob
+# We write to these files instead of just /etc/fstab, /etc/crypttab,
+# because these are filesystems created after our current root, and so
+# this allows us to update other root filesystems too.
rm -f /mnt/root/root2-{fs,crypt}tab
if $mkroot2; then
if $partition; then
rm -f /mnt/root/root2-{fs,crypt}tab
if $mkroot2; then
if $partition; then