summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2018-10-17 21:07:37 +0100
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2018-10-28 21:45:10 +0000
commit8ea372b5ceb442e389fb3df542c72f665bbdcbdf (patch)
treec4789d49d44557d943b9ed46664c1e0fe8fdbaa3
parent1aa41a829e4d316cff3d3849c784ca609b810023 (diff)
downloaddrakiso-8ea372b5ceb442e389fb3df542c72f665bbdcbdf.tar
drakiso-8ea372b5ceb442e389fb3df542c72f665bbdcbdf.tar.gz
drakiso-8ea372b5ceb442e389fb3df542c72f665bbdcbdf.tar.bz2
drakiso-8ea372b5ceb442e389fb3df542c72f665bbdcbdf.tar.xz
drakiso-8ea372b5ceb442e389fb3df542c72f665bbdcbdf.zip
BuildRoot: remove fixup of obsolete /etc/sysconfig/init script.
-rw-r--r--lib/MGA/DrakISO/BuildRoot.pm3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/MGA/DrakISO/BuildRoot.pm b/lib/MGA/DrakISO/BuildRoot.pm
index 252f8d1..9e7b7ef 100644
--- a/lib/MGA/DrakISO/BuildRoot.pm
+++ b/lib/MGA/DrakISO/BuildRoot.pm
@@ -573,9 +573,6 @@ sub customise_live_system {
# Create fstab.
output_to_root($root, '/etc/fstab', 0644, 'none / overlay defaults 0 0');
- # Interactive mode can lead to race in initscripts.
- run_as_root('sed', '-i', 's/^PROMPT=.*/PROMPT=no/', $root . '/etc/sysconfig/init');
-
print "..copying additional files\n" if $::verbose > 1;
# Copy extra files as requested by the user.