diff options
Diffstat (limited to 'pbuilder-createbuildenv')
-rwxr-xr-x | pbuilder-createbuildenv | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pbuilder-createbuildenv b/pbuilder-createbuildenv index cf3eaaf..6508211 100755 --- a/pbuilder-createbuildenv +++ b/pbuilder-createbuildenv @@ -62,7 +62,10 @@ else exit 1 fi -if ! ( cd "$BUILDPLACE" && "${DEBOOTSTRAP}" ${ARCHITECTURE:+--arch=$ARCHITECTURE} "${DEBOOTSTRAPOPTS[@]}" "$DISTRIBUTION" . "$MIRRORSITE" $DEBOOTSTRAPSCRIPT ) ; then +# FIXME if the end-user passes another --include= to debootstrap in +# DEBOOTSTRAPOPTS, it will override the --include=apt one and apt might not be +# installed +if ! ( cd "$BUILDPLACE" && "${DEBOOTSTRAP}" ${ARCHITECTURE:+--arch=$ARCHITECTURE} --include=apt "${DEBOOTSTRAPOPTS[@]}" "$DISTRIBUTION" . "$MIRRORSITE" $DEBOOTSTRAPSCRIPT ) ; then log "E: $DEBOOTSTRAP failed" exit 1 fi |