summaryrefslogtreecommitdiffstats
path: root/remote/rootfs
diff options
context:
space:
mode:
authorJonathan Bauer2013-03-18 16:37:12 +0100
committerJonathan Bauer2013-03-18 16:37:12 +0100
commitd53f3251f1335f35315e9514bb2a438f9a779b4b (patch)
tree05f6b728954fc4b2931d9b06ac09a8dd041d81aa /remote/rootfs
parentfix stage3.1 build script (diff)
downloadtm-scripts-d53f3251f1335f35315e9514bb2a438f9a779b4b.tar.gz
tm-scripts-d53f3251f1335f35315e9514bb2a438f9a779b4b.tar.xz
tm-scripts-d53f3251f1335f35315e9514bb2a438f9a779b4b.zip
fix plymouth theme path, fix stage3.1 vmware/uvesafb modprobing
Diffstat (limited to 'remote/rootfs')
-rwxr-xr-xremote/rootfs/rootfs-stage31/data/init10
-rw-r--r--remote/rootfs/rootfs-stage31/rootfs-stage31.build4
-rw-r--r--remote/rootfs/rootfs-stage31/rootfs-stage31.conf1
3 files changed, 9 insertions, 6 deletions
diff --git a/remote/rootfs/rootfs-stage31/data/init b/remote/rootfs/rootfs-stage31/data/init
index ef9c32a7..0f522ef9 100755
--- a/remote/rootfs/rootfs-stage31/data/init
+++ b/remote/rootfs/rootfs-stage31/data/init
@@ -12,7 +12,7 @@
# First script for initial ramfs for OpenSLX linux stateless clients
#############################################################################
-export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/openslx/bin:/openslx/sbin
+export PATH=/bin:/sbin:/usr/bin:/usr/sbin
export LD_LIBRARY_PATH=/usr/lib64
mount -n -t tmpfs -o 'mode=755' run "/run"
@@ -49,9 +49,6 @@ done
while ps | grep -v grep | grep -q " hwinfo --gfxcard" ; do usleep 10 ; done
-# always load framebuffer
-modprobe uvesafb mode_option=1024x768-32 mtrr=3 scroll=ywrap
-
case $(cat /etc/hwinfo) in
*i915*)
modprobe -a i915 2>/dev/null
@@ -69,6 +66,7 @@ case $(cat /etc/hwinfo) in
modprobe -q mga 2>/dev/null
;;
*VMWARE*)
+ modprobe -q uvesafb mode_option=1024x768-32 mtrr=3 scroll=ywrap 2>/dev/null
modprove -q vmwgfx 2>/dev/null
;;
*)
@@ -77,7 +75,7 @@ case $(cat /etc/hwinfo) in
esac
(modprobe -a drm; mdev -s ) &
-if [ "x$SPLASH" == "x1" ]; then
+if [ "x$SPLASH" == "x1" -a "x$DEBUG" != "x1" ]; then
# start plymouth
plymouthd && plymouth show-splash
fi
@@ -163,6 +161,6 @@ for mnt in proc sys run ; do
done
unset BOOT_IMAGE initrd
-[ "x$SPLASH" = "x1" ] && plymouth update-root-fs --new-root-dir=/mnt
+[ "x$SPLASH" == "x1" -a "x$DEBUG" != "x1" ] && plymouth update-root-fs --new-root-dir=/mnt
# new style of pivoting (switch_root or run-init)
exec /sbin/switch_root -c /dev/console /mnt /usr/lib/systemd/systemd
diff --git a/remote/rootfs/rootfs-stage31/rootfs-stage31.build b/remote/rootfs/rootfs-stage31/rootfs-stage31.build
index e5e45312..e660b0ff 100644
--- a/remote/rootfs/rootfs-stage31/rootfs-stage31.build
+++ b/remote/rootfs/rootfs-stage31/rootfs-stage31.build
@@ -23,6 +23,10 @@ post_copy() {
copy_kernel_modules
generate_modules_map_files
copy_firmware
+
+ # copy busybox that has been under /openslx back to /
+ cp -r "${TARGET_BUILD_DIR}"/openslx/* "${TARGET_BUILD_DIR}"
+ #rm -rf "${TARGET_BUILD_DIR}/openslx"
}
#
diff --git a/remote/rootfs/rootfs-stage31/rootfs-stage31.conf b/remote/rootfs/rootfs-stage31/rootfs-stage31.conf
index ea9fd580..422f9b43 100644
--- a/remote/rootfs/rootfs-stage31/rootfs-stage31.conf
+++ b/remote/rootfs/rootfs-stage31/rootfs-stage31.conf
@@ -1,3 +1,4 @@
+REQUIRED_MODULES=" busybox"
REQUIRED_BINARIES=" v86d"
REQUIRED_KERNEL_MODULES=" kernel/drivers/video/sis/sisfb.ko
kernel/drivers/video/via/viafb.ko