diff options
Diffstat (limited to 'lib/MGA/DrakISO/BuildRoot.pm')
-rw-r--r-- | lib/MGA/DrakISO/BuildRoot.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/MGA/DrakISO/BuildRoot.pm b/lib/MGA/DrakISO/BuildRoot.pm index 65e3a0b..9646508 100644 --- a/lib/MGA/DrakISO/BuildRoot.pm +++ b/lib/MGA/DrakISO/BuildRoot.pm @@ -558,7 +558,7 @@ sub customise_live_system { run_in_root($root, undef, 'perl', '-MStorable', '-e', qq(Storable::store({ UNKNOWN => {} }, '/etc/sysconfig/harddrake2/previous_hw'))); # Remove some build-machine specific configuration. - foreach (qw(/etc/shorewall/interfaces /etc/mdadm.conf)) { + foreach (qw(/etc/shorewall/interfaces /etc/shorewall6/interfaces /etc/mdadm.conf)) { clean_system_conf_file($root . $_); } @@ -650,7 +650,7 @@ sub configure_draklive_resize { sub clean_system_conf_file { my ($file) = @_; - run_as_root('sed', '-i', '/^[^#]/d', $file) if -f $file; + run_as_root('sed', '-i', '/^[^#]/d', $file); } sub write_dist_lists { |