fixed the wrong part of the code

axtloss/rework-partitioning
Amy 3 years ago
parent 754e765e62
commit 9f3b56ac2c
No known key found for this signature in database
GPG Key ID: C642EA4B2F4096BE

@ -26,7 +26,6 @@ pub fn partition(device: &str, mode: &str, efi: bool) {
String::from("-s"),
String::from(device),
String::from("mkpart"),
String::from("primary"),
String::from("fat32"),
String::from("0"),
String::from("300"),
@ -41,7 +40,6 @@ pub fn partition(device: &str, mode: &str, efi: bool) {
String::from("-s"),
String::from(device),
String::from("mkpart"),
String::from("primary"),
String::from("btrfs"),
String::from("300"),
String::from("100%"),
@ -69,6 +67,7 @@ pub fn partition(device: &str, mode: &str, efi: bool) {
String::from("-s"),
String::from(device),
String::from("mkpart"),
String::from("primary"),
String::from("ext4"),
String::from("1MIB"),
String::from("512MIB"),
@ -83,6 +82,7 @@ pub fn partition(device: &str, mode: &str, efi: bool) {
String::from("-s"),
String::from(device),
String::from("mkpart"),
String::from("primary"),
String::from("btrfs"),
String::from("512MIB"),
String::from("100&"),

Loading…
Cancel
Save