From 8b8d27fb7878874f6309ec8bb1ab7b967ec5ea1b Mon Sep 17 00:00:00 2001 From: Dieter Reuter Date: Thu, 27 Oct 2016 20:04:38 +0200 Subject: [PATCH] Include distro name into .deb filename Right now we do have a problem to store the .debs for raspbian-jessie and debian-jessie distro version for armhf arch. Both .debs have the same filename so we have to include the distro version, too. Signed-off-by: Dieter Reuter --- hack/make/build-deb | 2 +- hack/make/release-deb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hack/make/build-deb b/hack/make/build-deb index b8eb1de41b..0c97c5af95 100644 --- a/hack/make/build-deb +++ b/hack/make/build-deb @@ -78,7 +78,7 @@ set -e EOF cat >> "$DEST/$version/Dockerfile.build" <<-EOF RUN cp -aL hack/make/.build-deb debian - RUN { echo '$debSource (${debVersion}-0~${suite}) $suite; urgency=low'; echo; echo ' * Version: $VERSION'; echo; echo " -- $debMaintainer $debDate"; } > debian/changelog && cat >&2 debian/changelog + RUN { echo '$debSource (${debVersion}-0~${version}) $suite; urgency=low'; echo; echo ' * Version: $VERSION'; echo; echo " -- $debMaintainer $debDate"; } > debian/changelog && cat >&2 debian/changelog RUN dpkg-buildpackage -uc -us -I.git EOF tempImage="docker-temp/build-deb:$version" diff --git a/hack/make/release-deb b/hack/make/release-deb index 19faae157f..d8acfbe43e 100755 --- a/hack/make/release-deb +++ b/hack/make/release-deb @@ -132,6 +132,7 @@ for dir in bundles/$VERSION/build-deb/*/; do # update the filelist for this codename/component find "$APTDIR/pool/$component" \ + -name *~${codename}*.deb -o \ -name *~${codename#*-}*.deb > "$APTDIR/dists/$codename/$component/filelist" done