diff options
author | Francois Pons <fpons@mandriva.com> | 2001-04-17 14:48:38 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2001-04-17 14:48:38 +0000 |
commit | 4b752304b208d68e299f77dedef723630cf841fb (patch) | |
tree | 2ce857951de11beb29ef6081fa1ab106087293db | |
parent | afab2a263c8d482ce7bf951de03f0b86092c771f (diff) | |
download | drakx-4b752304b208d68e299f77dedef723630cf841fb.tar drakx-4b752304b208d68e299f77dedef723630cf841fb.tar.gz drakx-4b752304b208d68e299f77dedef723630cf841fb.tar.bz2 drakx-4b752304b208d68e299f77dedef723630cf841fb.tar.xz drakx-4b752304b208d68e299f77dedef723630cf841fb.zip |
fixed swap size instead of inst size for swap gap.
-rwxr-xr-x | rescue/tree/etc/oem | 2 |
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"; |