bugfix + adapted nellboard config
authorhackbard <hackbard@hackdaworld.org>
Fri, 17 Jul 2015 15:42:55 +0000 (17:42 +0200)
committerhackbard <hackbard@hackdaworld.org>
Fri, 17 Jul 2015 15:42:55 +0000 (17:42 +0200)
build.config
build.sh

index a9eea21..eed4be7 100644 (file)
@@ -4,6 +4,7 @@
 # size of the image in MB
 #
 IMGSIZE=3600
 # size of the image in MB
 #
 IMGSIZE=3600
+IMGSIZE=1800
 
 #
 # target architecture / suite
 
 #
 # target architecture / suite
@@ -36,12 +37,14 @@ PKGS="apt-utils dialog locales"
 GETTY=ttyO0
 
 # add your packages here
 GETTY=ttyO0
 
 # add your packages here
-ADDPKGS="vim git make gcc lua5.2 golang build-essential kmod"
+ADDPKGS="vim git make gcc lua5.2 build-essential kmod"
 ADDPKGS="$ADDPKGS net-tools iputils-ping iproute2 wget openssh-server rsync"
 # beagle
 ADDPKGS="$ADDPKGS net-tools iputils-ping iproute2 wget openssh-server rsync"
 # beagle
+#ADDPKGS="$ADDPKGS golang"
 #ADDPKGS="$ADDPKGS wireless-tools wpasupplicant hostapd"
 # nellboard
 ADDPKGS="$ADDPKGS python dnsmasq" 
 #ADDPKGS="$ADDPKGS wireless-tools wpasupplicant hostapd"
 # nellboard
 ADDPKGS="$ADDPKGS python dnsmasq" 
+ADDPKGS="$ADDPKGS python pyrit" 
 
 #
 # kernel
 
 #
 # kernel
index efe6274..48ea033 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -165,7 +165,7 @@ function build_in_chroot {
        # profile
        echo -en "\nalias l='ls -al --color'\n\n" >> /etc/profile
        # post install hooks
        # profile
        echo -en "\nalias l='ls -al --color'\n\n" >> /etc/profile
        # post install hooks
-       for file in 'ls /post_routines'; do
+       for file in `ls /post_routines`; do
                . /post_routines/$file
        done
 }
                . /post_routines/$file
        done
 }