summaryrefslogtreecommitdiff
path: root/scripts/common
diff options
context:
space:
mode:
authorSerge Schneider <serge@raspberrypi.org>2018-10-11 16:29:31 +0100
committerSerge Schneider <serge@raspberrypi.org>2018-10-11 16:29:31 +0100
commit7ccf8185b39062afe399f2bdd2b327f5f4460327 (patch)
treecad528fd1f46f202b50c41c44341a1a37cf9afcc /scripts/common
parent378a2bdfa756fb05166c7b75735d4037288169ef (diff)
Remove /debootstrap
Diffstat (limited to 'scripts/common')
-rw-r--r--scripts/common3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/common b/scripts/common
index efd867e..f3b5950 100644
--- a/scripts/common
+++ b/scripts/common
@@ -18,7 +18,8 @@ bootstrap(){
capsh --drop=cap_setfcap -- "${BOOTSTRAP_CMD}" --components=main,contrib,non-free \
--arch armhf \
--keyring "${STAGE_DIR}/files/raspberrypi.gpg" \
- "$1" "$2" "$3" || rmdir "$2/debootstrap"
+ "$1" "$2" "$3" || true
+ rmdir "$2/debootstrap"
}
export -f bootstrap