mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #21708 from tianon/InRelease
Also generate "InRelease" files for newer APT clients
This commit is contained in:
commit
e421668b1b
1 changed files with 7 additions and 0 deletions
|
@ -32,6 +32,13 @@ sign_packages(){
|
||||||
--batch --yes \
|
--batch --yes \
|
||||||
--output "$F.gpg" "$F"
|
--output "$F.gpg" "$F"
|
||||||
fi
|
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
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue