Skip to content

Commit

Permalink
Correct debootstrap log path
Browse files Browse the repository at this point in the history
Debootstrap logs into the the debootstrapped root, so pull the log from
there rather then the build root.

Signed-off-by: Sjoerd Simons <[email protected]>
  • Loading branch information
sjoerdsimons committed Jan 31, 2017
1 parent 0cc47bf commit 017eb18
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 @@ -48,7 +48,7 @@ recipe_build_debootstrap() {
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
cat $BUILD_ROOT/$myroot/debootstrap/debootstrap.log
cleanup_and_exit 1 "Failed to setup debootstrap chroot"
fi

Expand Down

0 comments on commit 017eb18

Please sign in to comment.