From d2e1bb55bcc38d6f118654fa38d6396e2f980721 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Wed, 10 Feb 2021 21:02:27 +0100 Subject: build: debian: update chroot before building debs --- build-aux/build-debian.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'build-aux') diff --git a/build-aux/build-debian.sh b/build-aux/build-debian.sh index a7b5346..8e857f6 100755 --- a/build-aux/build-debian.sh +++ b/build-aux/build-debian.sh @@ -83,6 +83,10 @@ fi download_pbuilder_chroot +sudo cowbuilder \ + --update \ + --basepath "/tmp/pbuilder/${DIST}-${ARCH}/base.cow" + RES="${BUILDDIR}/deb/${DIST}" mkdir -p "${RES}" @@ -99,7 +103,9 @@ create_reprepro_conf > "${BUILDDIR}/deb-repo/conf/distributions" pushd "${BUILDDIR}/deb-repo" > /dev/null -reprepro include "${DIST}" "../deb/${DIST}"/*.changes +for i in "../deb/${DIST}"/*.changes; do + reprepro include "${DIST}" "${i}" +done popd > /dev/null -- cgit v1.2.3-18-g5258