diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2021-02-10 21:02:27 +0100 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2021-02-10 21:02:27 +0100 |
commit | d2e1bb55bcc38d6f118654fa38d6396e2f980721 (patch) | |
tree | 85e8fd2d9076db76397e25bc469f818c5b5f4daa /build-aux | |
parent | 141a0dd3a869b2d66ba9772e412c0afa636ab1ba (diff) | |
download | blogc-d2e1bb55bcc38d6f118654fa38d6396e2f980721.tar.gz blogc-d2e1bb55bcc38d6f118654fa38d6396e2f980721.tar.bz2 blogc-d2e1bb55bcc38d6f118654fa38d6396e2f980721.zip |
build: debian: update chroot before building debs
Diffstat (limited to 'build-aux')
-rwxr-xr-x | build-aux/build-debian.sh | 8 |
1 files changed, 7 insertions, 1 deletions
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 |