summaryrefslogtreecommitdiffstats
path: root/rescue/tree
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-04-17 14:48:38 +0000
committerFrancois Pons <fpons@mandriva.com>2001-04-17 14:48:38 +0000
commit4b752304b208d68e299f77dedef723630cf841fb (patch)
tree2ce857951de11beb29ef6081fa1ab106087293db /rescue/tree
parentafab2a263c8d482ce7bf951de03f0b86092c771f (diff)
downloaddrakx-backup-do-not-use-4b752304b208d68e299f77dedef723630cf841fb.tar
drakx-backup-do-not-use-4b752304b208d68e299f77dedef723630cf841fb.tar.gz
drakx-backup-do-not-use-4b752304b208d68e299f77dedef723630cf841fb.tar.bz2
drakx-backup-do-not-use-4b752304b208d68e299f77dedef723630cf841fb.tar.xz
drakx-backup-do-not-use-4b752304b208d68e299f77dedef723630cf841fb.zip
fixed swap size instead of inst size for swap gap.
Diffstat (limited to 'rescue/tree')
-rwxr-xr-xrescue/tree/etc/oem2
1 files changed, 1 insertions, 1 deletions
diff --git a/rescue/tree/etc/oem b/rescue/tree/etc/oem
index e1066a3af..f18f2de5e 100755
--- a/rescue/tree/etc/oem
+++ b/rescue/tree/etc/oem
@@ -141,7 +141,7 @@ if ($minor == 5) {
print F "resize $hd_parts[0]{minor} $point $hd_size\n";
}
printf F "mkpart logical ext2 %s %s\n", $point, $point+$inst_size; $point+=$inst_size+5;
-printf F "mkpart logical linux-swap %s %s\n", $point, $point+$swap_size; $point+=$inst_size+5;
+printf F "mkpart logical linux-swap %s %s\n", $point, $point+$swap_size; $point+=$swap_size+5;
printf F "mkpart logical ext2 %s %s\n", $point, $point+$root_size < $hd_size ? $point+$root_size : $hd_size;
print F "quit\n";
close F or die "unable to partition the disk $hd";