From 38b44d42d43ddf8b7be54699b9d8d2547ac567a4 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 22 Feb 2006 19:46:36 +0000 Subject: make sure mtab and fstab don't contain build-machine specific configuration --- tools/draklive | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools/draklive') 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 -- cgit v1.2.1