From 7873875fd2f74d9917ce5749f7f7e8df1c8468f2 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Fri, 6 Aug 2010 23:37:51 +0200 Subject: Minor optimizations ... --- initramfs/distro-specs/ubuntu/functions-default | 5 ++++- os-plugins/plugins/xserver/OpenSLX/Distro/Ubuntu.pm | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/initramfs/distro-specs/ubuntu/functions-default b/initramfs/distro-specs/ubuntu/functions-default index 475290bb..beb63db1 100644 --- a/initramfs/distro-specs/ubuntu/functions-default +++ b/initramfs/distro-specs/ubuntu/functions-default @@ -64,7 +64,10 @@ required." >/mnt/etc/init.inactive/README rm /mnt/etc/udev/rules.d/*persistent*.rules >/dev/null 2>&1 # for screen sessions - testmkd /mnt/var/run/screen root:utmp 0775 + testmkd /mnt/var/run/screen root:utmp 0777 + + # apt stuff + testmkd /mnt/var/cache/apt/archives/partial # add the slx specific path (/var/opt/openslx/bin) to the PATH variable echo -e "# stuff generated by $0 (out of InitRamFS written $date)\n\ diff --git a/os-plugins/plugins/xserver/OpenSLX/Distro/Ubuntu.pm b/os-plugins/plugins/xserver/OpenSLX/Distro/Ubuntu.pm index f81d8e10..057cf138 100644 --- a/os-plugins/plugins/xserver/OpenSLX/Distro/Ubuntu.pm +++ b/os-plugins/plugins/xserver/OpenSLX/Distro/Ubuntu.pm @@ -57,7 +57,7 @@ sub setupXserverScript # using variables defined in XX_xserver.sh echo -e "${x_modpath}\n${x_srvflags}\n${x_modules}" >>${xfc} echo "${x_keyboard}" | sed "s/kbd/evdev/" >>${xfc} - echo -e "${x_mouse}\n${x_monitor}\n${x_screen}\n" >>${xfc} + echo -e "${x_mouse}\n${x_monitor}\n${x_screen}" >>${xfc} echo "${x_srvlayout}" | sed "/ Screen /d" >>${xfc} testmkd /mnt/etc/X11/xorg.conf.d testmkd /mnt/var/run/xauth -- cgit v1.2.3-55-g7522