From 6aedf724114e18c1f68e50cab295475145faf837 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Fri, 24 Feb 2006 18:22:22 +0000 Subject: remove /etc/modprobe.conf and /etc/modprobe.preload build-machine specific stuff --- tools/draklive | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/draklive b/tools/draklive index 3fa422907..95f25fc05 100755 --- a/tools/draklive +++ b/tools/draklive @@ -484,8 +484,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); + #- remove some build-machine specific configuration + output(get_system_root($live) . $_, '') foreach qw(/etc/fstab /etc/mtab /etc/modprobe.conf); + substInFile { undef $_ if /^[^#]/ } get_system_root($live) . '/etc/modprobe.preload'; #- disable first boot wizard output(get_system_root($live) . '/etc/sysconfig/firstboot', 'FIRSTBOOT=no'); -- cgit v1.2.1