From 82197781bd1bd73feb082217ef3af8acede8152f Mon Sep 17 00:00:00 2001 From: ficus Date: Thu, 22 Nov 2012 02:16:55 +0100 Subject: horrible uap kernel module hack (dreamplug) --- config/hooks/uap-driver.sh.chroot | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 config/hooks/uap-driver.sh.chroot (limited to 'config/hooks') diff --git a/config/hooks/uap-driver.sh.chroot b/config/hooks/uap-driver.sh.chroot new file mode 100755 index 0000000..dc2e379 --- /dev/null +++ b/config/hooks/uap-driver.sh.chroot @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +echo "Determining kernel version..." +cd /boot +KERNELVERSION=`ls vmlinuz-* | sed "s/vmlinuz-//g"` +echo $KERNELVERSION + +echo "Installing uap8xxx.ko Marvell WiFi kernel module..." +mkdir -p /lib/modules/$KERNELVERSION/kernel/drivers/net/wireless/libertas_uap +mv /tmp/uap8xxx.ko-$KERNELVERSION /lib/modules/$KERNELVERSION/kernel/drivers/net/wireless/libertas_uap/uap8xxx.ko +depmod -a -- cgit v1.2.3