From 920940caec33f1b2cf5b41f470541e76215ba506 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Sat, 2 Jan 2021 20:21:39 +0100 Subject: build: debian: do not download pbuilder chroot if not building debs --- build-aux/build-debian.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'build-aux') diff --git a/build-aux/build-debian.sh b/build-aux/build-debian.sh index fc0c30b..505c9cd 100755 --- a/build-aux/build-debian.sh +++ b/build-aux/build-debian.sh @@ -60,17 +60,12 @@ create_reprepro_conf() { echo } -download_pbuilder_chroot - ${MAKE_CMD:-make} dist-xz MY_P="${PN}_${PV}" mv ${P}.tar.xz "${BUILDDIR}/${MY_P}.orig.tar.xz" -RES="${BUILDDIR}/deb/${DIST}" -mkdir -p "${RES}" - rm -rf "${BUILDDIR}/${P}" tar -xf "${BUILDDIR}/${MY_P}.orig.tar.xz" -C "${BUILDDIR}" cp -r "${SRCDIR}/debian" "${BUILDDIR}/${P}/" @@ -86,6 +81,11 @@ then exit 0 fi +download_pbuilder_chroot + +RES="${BUILDDIR}/deb/${DIST}" +mkdir -p "${RES}" + pdebuild \ --pbuilder cowbuilder \ --buildresult "${RES}" \ -- cgit v1.2.3-18-g5258