Don't load kernel modules anymore

This commit is contained in:
Simon Fels 2016-12-04 17:17:33 +01:00
commit 457bd794ff

View file

@ -17,13 +17,6 @@ if [ ! -e $ROOTFS_PATH ] || [ "$ROOTFS_VERSION" != "$(cat $ROOTFS_PATH/.version)
echo $ROOTFS_VERSION > $ROOTFS_PATH/.version
fi
# Load binder and ashmem kernel drivers. This will just horrible break
# if kernel versions are changing ...
insmod $SNAP/binder_linux.ko || true
chmod 666 /dev/binder
insmod $SNAP/ashmem_linux.ko || true
chmod 666 /dev/ashmem
# Make sure our setup path for the container rootfs
# is present as lxc is statically configured for
# this path.