summaryrefslogtreecommitdiffstats
path: root/remote/rootfs
diff options
context:
space:
mode:
authorMichael Neves2013-06-12 18:55:21 +0200
committerMichael Neves2013-06-12 18:55:21 +0200
commit6a8da2abcff7bfcc19586fbd57819b644054f083 (patch)
tree03af1dcf81c6866e48654a300e59356025d758ab /remote/rootfs
parent[xorg] udev rules are copied to correct location now (diff)
downloadtm-scripts-6a8da2abcff7bfcc19586fbd57819b644054f083.tar.gz
tm-scripts-6a8da2abcff7bfcc19586fbd57819b644054f083.tar.xz
tm-scripts-6a8da2abcff7bfcc19586fbd57819b644054f083.zip
[rootfs-stage31] add vmwgfx-fbdev support for when running minilinux inside vmware
Diffstat (limited to 'remote/rootfs')
-rw-r--r--remote/rootfs/rootfs-stage31/rootfs-stage31.build6
1 files changed, 6 insertions, 0 deletions
diff --git a/remote/rootfs/rootfs-stage31/rootfs-stage31.build b/remote/rootfs/rootfs-stage31/rootfs-stage31.build
index 9e4d7663..d547d7a4 100644
--- a/remote/rootfs/rootfs-stage31/rootfs-stage31.build
+++ b/remote/rootfs/rootfs-stage31/rootfs-stage31.build
@@ -27,6 +27,12 @@ post_copy() {
# copy busybox that has been under /opt/openslx back to /
cp -r "${TARGET_BUILD_DIR}"/opt/openslx/* "${TARGET_BUILD_DIR}"
rm -rf "${TARGET_BUILD_DIR}/opt/openslx"
+
+ # when vmwgfx is loaded via modprobe in stage31, this conf file is read,
+ # enables fbdev support for vmware so that
+ # fb doesnt break when switching tty's in minilinux running inside vmware
+ mkdir -p "${TARGET_BUILD_DIR}"/etc/modprobe.d
+ echo "options vmwgfx enable_fbdev=1" > "${TARGET_BUILD_DIR}"/etc/modprobe.d/vmwgfx-fbdev.conf
}
#