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

Also generate "InRelease" files for newer APT clients

Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
This commit is contained in:
Tianon Gravi 2016-03-31 17:28:44 -07:00
parent 4a7bd7eaef
commit b82fc524a7

View file

@ -32,6 +32,13 @@ sign_packages(){
--batch --yes \
--output "$F.gpg" "$F"
fi
inRelease="$(dirname "$F")/InRelease"
if test "$F" -nt "$inRelease" ; then
gpg -u "$GPG_KEYID" --passphrase "$GPG_PASSPHRASE" \
--clearsign \
--batch --yes \
--output "$inRelease" "$F"
fi
done
fi