summaryrefslogtreecommitdiffstats
path: root/tools/draklive
diff options
context:
space:
mode:
Diffstat (limited to 'tools/draklive')
-rwxr-xr-xtools/draklive3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/draklive b/tools/draklive
index a3a334f93..6332b0bf3 100755
--- a/tools/draklive
+++ b/tools/draklive
@@ -479,6 +479,9 @@ sub post_install_system {
#- (don't use addVarsInSh from MDK::Common, it breaks shell escapes)
substInFile { s/^PROMPT=.*/PROMPT=no/ } get_system_root($live) . '/etc/sysconfig/init';
+ #- make sure mtab and fstab don't contain build-machine specific configuration
+ output(get_system_root($live) . $_, '') foreach qw(/etc/fstab /etc/mtab);
+
#- disable first boot wizard
output(get_system_root($live) . '/etc/sysconfig/firstboot', 'FIRSTBOOT=no');
#- enable drakx-finish-install