bootstrap: cope with NFS and FUSE filesystems

This commit is contained in:
Serge Schneider 2017-06-20 16:17:12 +01:00
parent 02728fe65e
commit 530b66fd3f

View File

@ -18,7 +18,7 @@ bootstrap(){
capsh --drop=cap_setfcap -- -c "${BOOTSTRAP_CMD} --components=main,contrib,non-free \
--arch armhf \
--keyring "${STAGE_DIR}/files/raspberrypi.gpg" \
$1 $2 $3"
$1 $2 $3" || rmdir "$2/debootstrap"
}
export -f bootstrap