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() { pub fn genfstab() {
exec_eval( exec_eval(
exec_chroot( exec_chroot(
"genfstab", "bash",
vec![ vec![
String::from("-U"), String::from("-c"),
String::from("/mnt"), String::from("'genfstab -U /mnt >> /mnt/etc/fstab'"),
String::from(">>"),
String::from("/mnt/etc/fstab"),
], ],
), ),
"Generate fstab", "Generate fstab",

Loading…
Cancel
Save