aboutsummaryrefslogtreecommitdiffstats
path: root/freedom-maker/bin
diff options
context:
space:
mode:
authorficus <ficus@robocracy.org>2012-09-23 18:52:24 +0200
committerficus <ficus@robocracy.org>2012-09-23 18:52:24 +0200
commit0a21cecdbd8bd4f466b0293149ccab09069a079f (patch)
tree5fba573074ddb18dab2e3060d88624151fc587d4 /freedom-maker/bin
parent577c3d105eab8da0614a47d043f382e4ad10af0f (diff)
downloadtorouter-0a21cecdbd8bd4f466b0293149ccab09069a079f.tar.gz
torouter-0a21cecdbd8bd4f466b0293149ccab09069a079f.zip
add uap hack to repo
Diffstat (limited to 'freedom-maker/bin')
-rwxr-xr-xfreedom-maker/bin/packages4
-rwxr-xr-xfreedom-maker/bin/packages-chroot4
2 files changed, 7 insertions, 1 deletions
diff --git a/freedom-maker/bin/packages b/freedom-maker/bin/packages
index 15d17a4..263e0db 100755
--- a/freedom-maker/bin/packages
+++ b/freedom-maker/bin/packages
@@ -25,8 +25,10 @@
set -e
echo "Adding extra torouter stuff..."
+mkdir -p $target/tmp/uap_hack
mkdir -p $homedir/uap_hack
-cp -v $basedir/../../uap_hack/* $homedir/uap_hack
+cp -r $basedir/../../uap_hack/* $target/tmp/uap_hack
+cp -r $basedir/../../uap_hack/* $homedir/uap_hack
mkdir -p $homedir/src
git clone $basedir/../.. $homedir/src/torouter
mkdir -p $target/tmp/dpkg
diff --git a/freedom-maker/bin/packages-chroot b/freedom-maker/bin/packages-chroot
index 42020c4..f2f0e4c 100755
--- a/freedom-maker/bin/packages-chroot
+++ b/freedom-maker/bin/packages-chroot
@@ -1,4 +1,8 @@
#! /bin/sh
+# try to install locally-sourced torouter .deb files
dpkg -i /tmp/dpkg/*.deb
+# try to install libertas_uap hack
+cd /tmp/uap_hack/dreamplug_libertas_$(uname -r) && ./install.sh
+