Skip to content

Commit

Permalink
Merge pull request openSUSE#171 from jpwhiting/keep-debootstrap-dir
Browse files Browse the repository at this point in the history
Keep the debootstrapdir around so we can examine the log if things go wr...
  • Loading branch information
adrianschroeter committed May 2, 2015
2 parents 5bc2d9a + cbace3e commit c94b1a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-recipe-debootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ recipe_build_debootstrap() {
done
FULL_PKG_LIST="${FULL_PKG_LIST#,}"
rm -rf "$BUILD_ROOT/$myroot"
set -- chroot $BUILD_ROOT debootstrap --no-check-gpg --variant=buildd --arch="${arch}" --include="$FULL_PKG_LIST" "$dist" "$myroot" file:///.build.binaries
set -- chroot $BUILD_ROOT debootstrap --keep-debootstrap-dir --no-check-gpg --variant=buildd --arch="${arch}" --include="$FULL_PKG_LIST" "$dist" "$myroot" file:///.build.binaries
echo "running debootstrap..."
if ! "$@" || ! chroot $BUILD_ROOT dpkg --configure -a; then
cat $BUILD_ROOT/debootstrap/debootstrap.log
Expand Down

0 comments on commit c94b1a4

Please sign in to comment.