From 0a21cecdbd8bd4f466b0293149ccab09069a079f Mon Sep 17 00:00:00 2001 From: ficus Date: Sun, 23 Sep 2012 18:52:24 +0200 Subject: add uap hack to repo --- uap_hack/install_src.sh | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 uap_hack/install_src.sh (limited to 'uap_hack/install_src.sh') diff --git a/uap_hack/install_src.sh b/uap_hack/install_src.sh new file mode 100755 index 0000000..b7673d7 --- /dev/null +++ b/uap_hack/install_src.sh @@ -0,0 +1,25 @@ +#!/bin/sh + +set -e + +echo "installing required packages..." +apt-get update +apt-get install module-assistant linux-headers-kirkwood build-essentials + +echo "git fetching kernel module src..." +rm -rf /tmp/dpla +git clone --depth 1 http://github.com/bnewbold/dreamplug-libertas_uap /tmp/dpla + +echo "building..." +cd /tmp/dpla/libertas_uap +make CONFIG_LIBERTAS_UAP=m -C /lib/modules/$(uname -r)/build M=$(pwd) + +echo "installing..." +mkdir -v /lib/modules/$(uname -r)/kernel/drivers/net/wireless/libertas_uap +cp -v uap8xxx.ko-3.2.9-kirkwood /lib/modules/$(uname -r)/kernel/drivers/net/wireless/libertas_uap +depmod -a +cd .. +cp -vr firmware/mrvl /lib/firmware/mrvl +cp -v modprobe_libertas_uap.conf /etc/modprobe.d/libertas_uap + +echo "installed, probably need to reboot now?" -- cgit v1.2.3