From 0165ca4e9a3780c0488ac43d0389a3868e1ef989 Mon Sep 17 00:00:00 2001 From: amy Date: Sun, 23 Jan 2022 19:21:44 +0100 Subject: [PATCH] make genfstab actually work --- src/functions/base.rs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/functions/base.rs b/src/functions/base.rs index e9faace..00ce6b8 100755 --- a/src/functions/base.rs +++ b/src/functions/base.rs @@ -25,7 +25,15 @@ pub fn install_base_packages() { pub fn genfstab() { exec_eval( - exec_chroot("genfstab", vec![String::from("-U"), String::from("/mnt")]), + exec_chroot( + "genfstab", + vec![ + String::from("-U"), + String::from("/mnt"), + String::from(">>"), + String::from("/mnt/etc/fstab"), + ], + ), "Generate fstab", ); }