mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #16066 from jfrazelle/remove-reprepro
remove reprepro
This commit is contained in:
commit
90477e8e94
1 changed files with 4 additions and 5 deletions
|
@ -105,19 +105,18 @@ for dir in contrib/builder/deb/*/; do
|
||||||
version="$(basename "$dir")"
|
version="$(basename "$dir")"
|
||||||
codename="${version//debootstrap-}"
|
codename="${version//debootstrap-}"
|
||||||
|
|
||||||
# add the deb for each component for the distro version with reprepro
|
|
||||||
DEBFILE=( "bundles/$VERSION/build-deb/$version/docker-engine"*.deb )
|
DEBFILE=( "bundles/$VERSION/build-deb/$version/docker-engine"*.deb )
|
||||||
|
|
||||||
# if we have a $GPG_PASSPHRASE we may as well
|
# if we have a $GPG_PASSPHRASE we may as well
|
||||||
# dpkg-sign before reprepro
|
# dpkg-sign before copying the deb into the pool
|
||||||
if [ ! -z "$GPG_PASSPHRASE" ]; then
|
if [ ! -z "$GPG_PASSPHRASE" ]; then
|
||||||
dpkg-sig -g "--passphrase $GPG_PASSPHRASE" \
|
dpkg-sig -g "--passphrase $GPG_PASSPHRASE" \
|
||||||
-k releasedocker --sign builder "${DEBFILE[@]}"
|
-k releasedocker --sign builder "${DEBFILE[@]}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
reprepro -v $options \
|
# add the deb for each component for the distro version into the pool
|
||||||
-S docker-engine -P "$priority" -C "$component" \
|
mkdir -p "$APTDIR/pool/$component/d/docker-engine/"
|
||||||
-b "$APTDIR" includedeb "$codename" "${DEBFILE[@]}"
|
cp "${DEBFILE[@]}" "$APTDIR/pool/$component/d/docker-engine/"
|
||||||
|
|
||||||
# update the filelist for this codename/component
|
# update the filelist for this codename/component
|
||||||
find "$APTDIR/pool/$component" \
|
find "$APTDIR/pool/$component" \
|
||||||
|
|
Loading…
Reference in a new issue