diff options
| author | Simon Rettberg | 2013-05-09 15:31:18 +0200 |
|---|---|---|
| committer | Simon Rettberg | 2013-05-09 15:31:18 +0200 |
| commit | bf0cd7bbe053ccdc35dbc108de5d90edaf093e7c (patch) | |
| tree | fe4c9ce5fa7b3e8b76fdafec55952dc6e272a010 /remote/rootfs | |
| parent | daemon stuff on tty11 (diff) | |
| download | tm-scripts-bf0cd7bbe053ccdc35dbc108de5d90edaf093e7c.tar.gz tm-scripts-bf0cd7bbe053ccdc35dbc108de5d90edaf093e7c.tar.xz tm-scripts-bf0cd7bbe053ccdc35dbc108de5d90edaf093e7c.zip | |
move modprobing log-file
add another symlink for suse
Diffstat (limited to 'remote/rootfs')
| -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 2e679dad..9c40dae4 100755 --- a/remote/rootfs/rootfs-stage31/data/init +++ b/remote/rootfs/rootfs-stage31/data/init @@ -29,8 +29,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" >> /mnt/var/log/modprobing + modprobe "$DRM" >> /mnt/var/log/modprobing 2>> /mnt/var/log/modprobing 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} |
