aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSerge Schneider <[email protected]>2017-06-20 16:17:12 +0100
committerSerge Schneider <[email protected]>2017-06-20 16:17:12 +0100
commit530b66fd3f813101fd65b4bf4866e8a97cc30408 (patch)
tree6a6107e74b83a5a6515150339b1747f6e9835f08 /scripts
parent02728fe65e3473ba7da03ab7862ed0cf2a05a746 (diff)
bootstrap: cope with NFS and FUSE filesystems
Diffstat (limited to 'scripts')
-rw-r--r--scripts/common2
1 files changed, 1 insertions, 1 deletions
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