summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2013-05-09 15:46:34 +0200
committerJonathan Bauer2013-05-09 15:46:34 +0200
commit71c91a066fce89fd89aedb0d3d8cc6709835c4d4 (patch)
treee6c00ad4bed0a43e151421682c0e771632bc4863
parenthackfix sysrq (diff)
parentsefsrgwer:wq:Qwwqq (diff)
downloadtm-scripts-71c91a066fce89fd89aedb0d3d8cc6709835c4d4.tar.gz
tm-scripts-71c91a066fce89fd89aedb0d3d8cc6709835c4d4.tar.xz
tm-scripts-71c91a066fce89fd89aedb0d3d8cc6709835c4d4.zip
Merge branch 'master' of git:openslx-ng/tm-scripts
-rwxr-xr-xremote/rootfs/rootfs-stage31/data/init4
-rw-r--r--remote/rootfs/rootfs-stage32/rootfs-stage32.build2
2 files changed, 4 insertions, 2 deletions
diff --git a/remote/rootfs/rootfs-stage31/data/init b/remote/rootfs/rootfs-stage31/data/init
index cd008165..9bda6db1 100755
--- a/remote/rootfs/rootfs-stage31/data/init
+++ b/remote/rootfs/rootfs-stage31/data/init
@@ -30,8 +30,8 @@ echo "/sbin/mdev" > /proc/sys/kernel/hotplug
for DRM in /lib/modules/*/kernel/drivers/gpu/drm/*.ko /lib/modules/*/kernel/drivers/gpu/drm/*/*.ko; do
DRM="$(basename "$DRM")"
DRM="${DRM%.ko}"
- echo "Trying to load module $DRM" >> /mnt/modprobing
- modprobe "$DRM" >> /mnt/modprobing 2>> /mnt/modprobing
+ echo "Trying to load module $DRM"
+ modprobe "$DRM"
done
# read kernel command line for debugging switch
diff --git a/remote/rootfs/rootfs-stage32/rootfs-stage32.build b/remote/rootfs/rootfs-stage32/rootfs-stage32.build
index ca7b6582..2e214c5d 100644
--- a/remote/rootfs/rootfs-stage32/rootfs-stage32.build
+++ b/remote/rootfs/rootfs-stage32/rootfs-stage32.build
@@ -56,6 +56,8 @@ build() {
post_copy() {
# symlink for more
[ ! -e "$TARGET_BUILD_DIR/bin/more" ] && ln -s /usr/bin/more "$TARGET_BUILD_DIR/bin/more"
+ # same hack for mount
+ [ ! -e "$TARGET_BUILD_DIR/bin/mount" ] && ln -s /usr/bin/mount "$TARGET_BUILD_DIR/bin/mount"
# make basic directory structure
mkdir -p "${TARGET_BUILD_DIR}"/{bin,dev,proc,lib,etc,mnt,sys,var/run,var/lock,var/log,run/lock,run/shm,opt/openslx/mnt}