summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2010-09-06 14:00:30 +0200
committerAndreas Loibl <andreas@andreas-loibl.de>2010-09-06 14:00:30 +0200
commite955da790f318b075fd4933a8e1297ace5442511 (patch)
treef9c9f931ac0ed61f7b559502ead386fa91a3e716 /config/chroot_local-hooks
parent94344d2f7072d63d3b77e4d837077f2fd5fd3ddb (diff)
downloadkanotix-e955da790f318b075fd4933a8e1297ace5442511.zip
kanotix-e955da790f318b075fd4933a8e1297ace5442511.tar.gz
added console-setup preseed and build.conf for chroot
Diffstat (limited to 'config/chroot_local-hooks')
-rwxr-xr-xconfig/chroot_local-hooks/05-ndis6
-rwxr-xr-xconfig/chroot_local-hooks/ZZ_cleanup_build.conf3
2 files changed, 9 insertions, 0 deletions
diff --git a/config/chroot_local-hooks/05-ndis b/config/chroot_local-hooks/05-ndis
index 306c6d5..c6bebff 100755
--- a/config/chroot_local-hooks/05-ndis
+++ b/config/chroot_local-hooks/05-ndis
@@ -1,3 +1,9 @@
#!/bin/sh
+[ -f /root/build.conf ] && . /root/build.conf
+if [ "$LH_ARCHITECTURE" = "amd64" ]; then
wget -qO- http://kanotix.com/files/fix/ndiswrapper/ndiswrapper64-fwlan64.tar.gz|tar zxC /etc
+else
+wget -qO- http://kanotix.com/files/fix/ndiswrapper/ndiswrapper-fwlan.tar.gz|tar zxC /etc
+#wget -qO- http://kanotix.com/files/fix/ndiswrapper/ndiswrapper-netmw225.tar.gz|tar zxC /etc
+fi
ndiswrapper -ma
diff --git a/config/chroot_local-hooks/ZZ_cleanup_build.conf b/config/chroot_local-hooks/ZZ_cleanup_build.conf
new file mode 100755
index 0000000..80e90ab
--- /dev/null
+++ b/config/chroot_local-hooks/ZZ_cleanup_build.conf
@@ -0,0 +1,3 @@
+#!/bin/sh
+rm -f /root/build.conf
+