mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
add clean apt db to release script
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
This commit is contained in:
parent
0aee0b1f9e
commit
96559aaef2
1 changed files with 3 additions and 1 deletions
|
@ -124,13 +124,15 @@ for dir in contrib/builder/deb/*/; do
|
|||
-name *~${codename#*-}*.deb > "$APTDIR/dists/$codename/$component/filelist"
|
||||
done
|
||||
|
||||
# clean the databases
|
||||
apt-ftparchive clean "$APTDIR/conf/apt-ftparchive.conf"
|
||||
|
||||
# run the apt-ftparchive commands so we can have pinning
|
||||
apt-ftparchive generate "$APTDIR/conf/apt-ftparchive.conf"
|
||||
|
||||
for dir in contrib/builder/deb/*/; do
|
||||
version="$(basename "$dir")"
|
||||
codename="${version//debootstrap-}"
|
||||
codename="${version//debootstrap-}"
|
||||
|
||||
apt-ftparchive \
|
||||
-o "APT::FTPArchive::Release::Codename=$codename" \
|
||||
|
|
Loading…
Reference in a new issue