. ./config.build
fi
-# check prerequisites
-check_prereq
-
# debootstrap
if [ -z $1 ]; then
+ check_prereq
build_all > ./build.log 2>&1
elif [ "$1" = "chroot" ]; then
build_in_chroot > ./build_in_chroot.log 2>&1
elif [ "$1" = "uboot" ]; then
+ check_prereq
build_uboot > ./build_uboot.log 2>&1
elif [ "$1" = "kernel" ]; then
+ check_prereq
build_kernel > ./build_kernel.log 2>&1
else
echo "unknown option: '$1'"
# add your packages here
ADDPKGS="vim git make gcc lua5.2 golang net-tools iputils-ping kmod"
-ADDPKGS="$ADDPKGS wget openssh-server"
+ADDPKGS="$ADDPKGS wget openssh-server rsync"
# beagle
+ADDPKGS="$ADDPKGS wireless-tools wpasupplicant hostapd"
# nellboard
#ADDPKGS="$ADDPKGS python dnsmasq"