summaryrefslogtreecommitdiffstats
path: root/move
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-10-15 12:30:53 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-10-15 12:30:53 +0000
commit9d7a8440f4e1217a448e21cda0525bbdb8a40fed (patch)
treeddb086bf9e0bda63618cbcd2f483ed03fa27f0f9 /move
parented74ea17c765a6cb4d846a3bb8a4f4cf2bc625f1 (diff)
downloaddrakx-9d7a8440f4e1217a448e21cda0525bbdb8a40fed.tar
drakx-9d7a8440f4e1217a448e21cda0525bbdb8a40fed.tar.gz
drakx-9d7a8440f4e1217a448e21cda0525bbdb8a40fed.tar.bz2
drakx-9d7a8440f4e1217a448e21cda0525bbdb8a40fed.tar.xz
drakx-9d7a8440f4e1217a448e21cda0525bbdb8a40fed.zip
- add many /etc/X11/* symlinks
- add /var/run/console (to be able to run X as a user)
Diffstat (limited to 'move')
-rw-r--r--move/move.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/move/move.pm b/move/move.pm
index 5549325b8..14a46c9e1 100644
--- a/move/move.pm
+++ b/move/move.pm
@@ -15,7 +15,7 @@ use log;
sub init {
#- rw things
mkdir "/$_" foreach qw(home mnt root etc var);
- mkdir_p "/var/$_" foreach qw(log run spool lib/xkb lock/subsys);
+ mkdir_p "/var/$_" foreach qw(log run/console spool lib/xkb lock/subsys);
mkdir_p "/etc/$_" foreach qw(X11);
touch '/etc/modules.conf';
symlinkf "/proc/mounts", "/etc/mtab";
@@ -26,6 +26,8 @@ sub init {
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);
+
#- free up stage1 memory
fs::umount($_) foreach qw(/stage1/proc /stage1);