From 530b66fd3f813101fd65b4bf4866e8a97cc30408 Mon Sep 17 00:00:00 2001 From: Serge Schneider Date: Tue, 20 Jun 2017 16:17:12 +0100 Subject: [PATCH] bootstrap: cope with NFS and FUSE filesystems --- scripts/common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/common b/scripts/common index 74f9c4c..f18fd89 100644 --- a/scripts/common +++ b/scripts/common @@ -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