summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2008-11-13 14:53:11 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2008-11-13 14:53:11 +0100
commit9f311d54ee024f9d6d4176fe537c9354aba32252 (patch)
tree03700da0def887ed8a05fbf76e744b2792e5cf19
parenta5bb5dc377999c6f8415a90a3a23b2a64cc39830 (diff)
workaround for lost /home
-rw-r--r--src/core/libs/lib-ui-interactive.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/libs/lib-ui-interactive.sh b/src/core/libs/lib-ui-interactive.sh
index a377330..b42b5b5 100644
--- a/src/core/libs/lib-ui-interactive.sh
+++ b/src/core/libs/lib-ui-interactive.sh
@@ -210,7 +210,10 @@ interactive_autoprepare()
DEVICE=$DISC
# TODO: why do we define a $DEFAULTFS variable someplace else if we hardcode it's attributes here to be able to replace them with custom values? Can't we just construct the custom thing?
- FSSPECS=$(echo $DEFAULTFS | sed -e "s|/:7500:ext3|/:$ROOT_PART_SIZE:$FSTYPE|g" -e "s|/home:\*:ext3|/home:\*:$FSTYPE|g" -e "s|swap:256|swap:$SWAP_PART_SIZE|g" -e "s|/boot:32|/boot:$BOOT_PART_SIZE|g")
+ # For some reason the thing belows replaces everything well, but 'looses' the /home part, I don't know why, cannot reproduce it, but it happens in vbox
+ # FSSPECS=$(echo $DEFAULTFS | sed -e "s|/:7500:ext3|/:$ROOT_PART_SIZE:$FSTYPE|g" -e "s|/home:\*:ext3|/home:\*:$FSTYPE|g" -e "s|swap:256|swap:$SWAP_PART_SIZE|g" -e "s|/boot:32|/boot:$BOOT_PART_SIZE|g")
+
+ FSSPECS="/boot:$BOOT_PART_SIZE:ext2:+ swap:$SWAP_PART_SIZE:swap /:$ROOT_PART_SIZE:$FSTYPE /home:*:$FSTYPE"
debug "\$DEFAULTFS: $DEFAULTFS"
debug "\$FSSPECS : $FSSPECS"
# we assume a /dev/hdX format (or /dev/sdX)