aboutsummaryrefslogtreecommitdiffstats
path: root/freedom-maker/bin
diff options
context:
space:
mode:
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
+