Remove /debootstrap

This commit is contained in:
Serge Schneider 2018-10-11 16:29:31 +01:00
parent 378a2bdfa7
commit 7ccf8185b3

View file

@ -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