5 Script to log into a particular COW and bindmount some directory.
10 nd_build <family> <codename> <arch> [bindmountdir] [cowbuilderopts]
23 if [ -z "$family" ]; then
24 echo "You need to provide a distribution family ('debian', 'ubuntu'); prefix with 'nd+' to enable the NeuroDebian repository."
28 if [ -z "$dist" ]; then
29 echo "You need to provide a distribution codename (e.g. 'lenny', 'squeeze')."
33 if [ -z "$arch" ]; then
34 echo "You need to provide an architecture (e.g. 'i386', 'amd64')."
38 . /etc/neurodebian/cmdsettings.sh
41 opts="--distribution $dist --aptcache $aptcache --buildplace $buildplace"
44 if [ -n "bmdir" ]; then
45 options="$opts --bindmounts $bmdir"
51 --basepath ${cowbuilderroot}/cow/${family}-${dist}-${arch}.cow \