diff options
author | Olivier Blin <oblin@mandriva.org> | 2006-02-22 19:46:36 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2006-02-22 19:46:36 +0000 |
commit | 38b44d42d43ddf8b7be54699b9d8d2547ac567a4 (patch) | |
tree | 4fffb0b820ef9b0f9b1d3dd8a8ca1360913fd556 /tools | |
parent | 78b048df52bfe69d417d16bc8681128fd9e9bdef (diff) | |
download | drakx-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-x | tools/draklive | 3 |
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 |