summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-06-25 07:47:04 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-06-25 07:47:04 +0000
commitd4076527d38c031a08b63f35616ce2fc5aeadd8c (patch)
treea9e368976e000c1e1fdf18997c8b87fc3f3e6544
parent2cd3968b6d0a47345c74c86e40daf8347b919a08 (diff)
downloaddrakx-d4076527d38c031a08b63f35616ce2fc5aeadd8c.tar
drakx-d4076527d38c031a08b63f35616ce2fc5aeadd8c.tar.gz
drakx-d4076527d38c031a08b63f35616ce2fc5aeadd8c.tar.bz2
drakx-d4076527d38c031a08b63f35616ce2fc5aeadd8c.tar.xz
drakx-d4076527d38c031a08b63f35616ce2fc5aeadd8c.zip
have symlinks /etc/rc[0-6].d
-rw-r--r--move/move.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/move/move.pm b/move/move.pm
index c879a8d80..1918d61bd 100644
--- a/move/move.pm
+++ b/move/move.pm
@@ -129,6 +129,10 @@ sub init {
mkdir_p("/etc/$_"), cp_f(glob_("/image/etc/$_/*"), "/etc/$_")
foreach qw(cups profile.d sysconfig devfs/conf.d);
+ #- TODO: cp_af is broken for symlinks to directories
+ #- replace below with cp_af is fixed in perl-MDK-Common
+ run_program::run('cp', '-a', glob("/image/etc/rc[0-6].d"), '/etc');
+
#- directories we badly need as non-links because files will be written in
handle_etcfiles('DIR');