Merge pull request #21708 from tianon/InRelease

Also generate "InRelease" files for newer APT clients
Upstream-commit: e421668b1bdd611e49cd268341e75d9f5e8801c2
Component: engine
This commit is contained in:
Tibor Vass
2016-05-11 13:21:15 -04:00

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