1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #27829 from DieterReuter/fix-aptrepo-distro-versions

Fix creation of the APT repo directory structure for similar distros
This commit is contained in:
Sebastiaan van Stijn 2016-11-10 16:23:27 +01:00 committed by GitHub
commit 44c816a808
2 changed files with 2 additions and 1 deletions

View file

@ -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"

View file

@ -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