X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lbuild-initvm.sh;h=31563d246533751bced8a26e2e1c282e357e207a;hb=2751c186e8cad5bcf53fd370202581eabe6cca18;hp=be9f98d96589635b809a574e366975d825ab9416;hpb=90d5d4c9a8fc2b976da427597f703f882a735d48;p=build.git diff --git a/lbuild-initvm.sh b/lbuild-initvm.sh index be9f98d9..31563d24 100755 --- a/lbuild-initvm.sh +++ b/lbuild-initvm.sh @@ -710,8 +710,9 @@ function devel_or_vtest_tools () { ;; debootstrap) chroot $rootfs_path apt-get update - for package in $packages ; do - chroot $rootfs_path apt-get install -y $package + for package in $packages ; do + # close stdin in an attempt to avoid this hanging + chroot $rootfs_path apt-get install -y $package < /dev/null done ### xxx todo install groups with apt.. ;;