Remove wget-log files left behind by debootstrap
This commit is contained in:
@@ -19,6 +19,9 @@ bootstrap(){
|
||||
|
||||
setarch linux32 capsh $CAPSH_ARG -- -c "'${BOOTSTRAP_CMD}' $BOOTSTRAP_STR" || true
|
||||
|
||||
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1050719
|
||||
rm -f wget-log*
|
||||
|
||||
if [ -d "$2/debootstrap" ] && ! rmdir "$2/debootstrap"; then
|
||||
cp "$2/debootstrap/debootstrap.log" "${STAGE_WORK_DIR}"
|
||||
log "bootstrap failed: please check ${STAGE_WORK_DIR}/debootstrap.log"
|
||||
|
||||
Reference in New Issue
Block a user