genfstab shouldn't be run in the chroot

axtloss/rework-partitioning
amy 3 years ago
parent 4988fb2034
commit a2173c7f9a

@ -26,12 +26,10 @@ pub fn install_base_packages() {
pub fn genfstab() {
exec_eval(
exec_chroot(
"genfstab",
"bash",
vec![
String::from("-U"),
String::from("/mnt"),
String::from(">>"),
String::from("/mnt/etc/fstab"),
String::from("-c"),
String::from("'genfstab -U /mnt >> /mnt/etc/fstab'"),
],
),
"Generate fstab",

Loading…
Cancel
Save