summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2006-02-22 19:46:36 +0000
committerOlivier Blin <oblin@mandriva.org>2006-02-22 19:46:36 +0000
commit38b44d42d43ddf8b7be54699b9d8d2547ac567a4 (patch)
tree4fffb0b820ef9b0f9b1d3dd8a8ca1360913fd556 /tools
parent78b048df52bfe69d417d16bc8681128fd9e9bdef (diff)
downloaddrakx-38b44d42d43ddf8b7be54699b9d8d2547ac567a4.tar
drakx-38b44d42d43ddf8b7be54699b9d8d2547ac567a4.tar.gz
drakx-38b44d42d43ddf8b7be54699b9d8d2547ac567a4.tar.bz2
drakx-38b44d42d43ddf8b7be54699b9d8d2547ac567a4.tar.xz
drakx-38b44d42d43ddf8b7be54699b9d8d2547ac567a4.zip
make sure mtab and fstab don't contain build-machine specific configuration
Diffstat (limited to 'tools')
-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