check whether cdebootstrap succeeded
This commit is contained in:
parent
50753fec0b
commit
8ae81f0478
1 changed files with 2 additions and 2 deletions
|
@ -39,8 +39,8 @@ DEPS_NETMGMT="ifupdown,netbase,iputils-ping,dnsmasq,dhcp3-client,netplug"
|
|||
DEPS_NETAPPS="curl,wget,openssh-server,vpnc,rsync"
|
||||
cdebootstrap --include $DEPS_SYSTEM,$DEPS_CONSOLE,$DEPS_WLAN,$DEPS_BT,$DEPS_NETMGMT,$DEPS_NETAPPS --flavour=minimal $DIST $ROOTDIR http://ftp.debian.org/debian
|
||||
|
||||
if [ -n "`cat $ROOTDIR/etc/apt/sources.list | grep invalid`" ]; then
|
||||
echo "debootstrap failed"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "cdebootstrap failed"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue