diff options
-rw-r--r-- | data/kernel.wanted.config | 2 | ||||
-rwxr-xr-x | remote/rootfs/rootfs-stage31/data/init | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/data/kernel.wanted.config b/data/kernel.wanted.config index f670d50e..4cfe1db8 100644 --- a/data/kernel.wanted.config +++ b/data/kernel.wanted.config @@ -51,7 +51,7 @@ CONFIG_DE620=y CONFIG_DL2K=y CONFIG_DM9102=y CONFIG_DNET=y -CONFIG_DRM=m +CONFIG_DRM=y CONFIG_DRM_AST=n CONFIG_DRM_CIRRUS_QEMU=m CONFIG_DRM_GMA3600=y diff --git a/remote/rootfs/rootfs-stage31/data/init b/remote/rootfs/rootfs-stage31/data/init index e6ac90fc..81b045b5 100755 --- a/remote/rootfs/rootfs-stage31/data/init +++ b/remote/rootfs/rootfs-stage31/data/init @@ -30,7 +30,7 @@ for DRM in /lib/modules/*/kernel/drivers/gpu/drm/*.ko /lib/modules/*/kernel/driv DRM="$(basename "$DRM")" DRM="${DRM%.ko}" echo "Trying to load module $DRM" >> /mnt/modprobing - modprobe "$DRM" > /mnt/modprobing 2>> /mnt/modprobing + modprobe "$DRM" >> /mnt/modprobing 2>> /mnt/modprobing done # read kernel command line for debugging switch @@ -123,6 +123,7 @@ else fi echo "Building aufs..." +mv /mnt/modprobing /dev/shm/uniontmp #mount -t overlayfs -o lowerdir=/rorootfs,upperdir=/dev/shm/uniontmp overlayfs /mnt mount -n -t aufs -o br:/dev/shm/uniontmp:/rorootfs=ro none /mnt mkdir -p /mnt/uniontmp /mnt/tmp |