summaryrefslogtreecommitdiffstats
path: root/move/move.pm
diff options
context:
space:
mode:
Diffstat (limited to 'move/move.pm')
-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');