~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to cronscripts/publishing/distro-parts/ubuntu/publish-distro.d/10-sign-releases

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-21 00:02:45 UTC
  • mfrom: (14514.2.1 sign-installer)
  • Revision ID: launchpad@pqm.canonical.com-20111221000245-gt6g8m1yerh2dhko
[r=benji][bug=383044] sign Ubuntu's files containing checksums of
        installer images so that there's a reasonable trust path to
        download them

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
RELEASE_FILES=`find $DISTSROOT -maxdepth 2 -name Release`
15
15
DIST_UPGRADER_TARBALLS=`
16
16
        find $DISTSROOT/*/*/dist-upgrader* -name "*.tar.gz" || true`
 
17
INSTALLER_CHECKSUMS=`
 
18
        find $DISTSROOT/*/*/installer-* -name "*SUMS" || true`
17
19
 
18
 
for CANDIDATE in $RELEASE_FILES $DIST_UPGRADER_TARBALLS
 
20
for CANDIDATE in $RELEASE_FILES $DIST_UPGRADER_TARBALLS $INSTALLER_CHECKSUMS
19
21
do
20
22
    if [ ! -f "$CANDIDATE.gpg" ] || [ "$CANDIDATE" -nt "$CANDIDATE.gpg" ]
21
23
    then