summaryrefslogtreecommitdiffstats
path: root/move/move.pm
diff options
context:
space:
mode:
Diffstat (limited to 'move/move.pm')
-rw-r--r--move/move.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/move/move.pm b/move/move.pm
index ad9acdd45..598509d66 100644
--- a/move/move.pm
+++ b/move/move.pm
@@ -22,13 +22,16 @@ sub init {
#- ro things
symlinkf "/image/etc/$_", "/etc/$_"
- foreach qw(alternatives passwd group shadow man.config services shells pam.d security inputrc ld.so.conf
+ foreach qw(alternatives shadow man.config services shells pam.d security inputrc ld.so.conf
DIR_COLORS bashrc profile profile.d rc.d init.d devfsd.conf devfs gtk-2.0 pango fonts modules.devfs
dynamic gnome-vfs-2.0 gnome-vfs-mime-magic gtk gconf menu menu-methods nsswitch.conf default login.defs
skel ld.so.cache);
symlinkf "/image/etc/X11/$_", "/etc/X11/$_"
foreach qw(encodings.dir app-defaults applnk fs lbxproxy proxymngr rstart wmsession.d xinit.d xinit xkb xserver xsm);
+ #- to be able to adduser, one need to have /etc/passwd and /etc/group writable
+ cp_af("/image/etc/$_", "/etc") foreach qw(passwd group);
+
#- free up stage1 memory
fs::umount($_) foreach qw(/stage1/proc /stage1);