diff options
| -rwxr-xr-x | remote/rootfs/rootfs-stage31/data/init | 4 | ||||
| -rw-r--r-- | remote/rootfs/rootfs-stage32/rootfs-stage32.build | 2 |
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} |
