Changeset 1561


Ignore:
Timestamp:
May 21, 2012, 10:53:01 PM (7 years ago)
Author:
bruno
Message:
  • pb: For deb, preserve the uncompressed package and release bits, compress also with bzip2 some install tools want that version. Specify a suite when building the release file to remove a warning. (Eric Andersson)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r1560 r1561  
    21852185    arch=`basename \$i | sed 's/binary-//'`
    21862186    echo "Packages for \$arch:"
    2187     dpkg-scanpackages -a\$arch $pbos->{'version'} /dev/null | gzip -c9 > dists/$pbos->{'version'}/$projcomponent/binary-\$arch/Packages.gz
    2188     dpkg-scanpackages -a\$arch $pbos->{'version'} /dev/null | bzip2 -c9 > dists/$pbos->{'version'}/$projcomponent/binary-\$arch/Packages.bz2
     2187    dpkg-scanpackages -a\$arch $pbos->{'version'} /dev/null | dists/$pbos->{'version'}/$projcomponent/binary-\$arch/Packages
     2188    gzip -9 < dists/$pbos->{'version'}/$projcomponent/binary-\$arch/Packages > dists/$pbos->{'version'}/$projcomponent/binary-\$arch/Packages.gz
     2189    bzip2 -9 < dists/$pbos->{'version'}/$projcomponent/binary-\$arch/Packages > dists/$pbos->{'version'}/$projcomponent/binary-\$arch/Packages.bz2
    21892190done
    21902191echo "Creating Contents metadata"
     
    21942195echo "Architecture: $debarch" >> dists/$pbos->{'version'}/$projcomponent/binary-$debarch/Release
    21952196echo "Creating Source metadata"
    2196 dpkg-scansources $pbos->{'version'} /dev/null | gzip -c9 > dists/$pbos->{'version'}/$projcomponent/source/Sources.gz
     2197dpkg-scansources $pbos->{'version'} /dev/null > dists/$pbos->{'version'}/$projcomponent/source/Sources
     2198gzip -9 < dists/$pbos->{'version'}/$projcomponent/source/Sources > dists/$pbos->{'version'}/$projcomponent/source/Sources.gz
     2199bzip2 -9 < dists/$pbos->{'version'}/$projcomponent/source/Sources > dists/$pbos->{'version'}/$projcomponent/source/Sources.bz2
    21972200cat \$TMPD/Release > dists/$pbos->{'version'}/$projcomponent/source/Release
    21982201echo "Architecture: Source" >> dists/$pbos->{'version'}/$projcomponent/source/Release
     
    22012204# Cf: http://wiki.debian.org/SecureApt
    22022205# Same as for repomd
    2203 apt-ftparchive release dists/$pbos->{'version'} > dists/$pbos->{'version'}/Release
     2206apt-ftparchive -o APT::FTPArchive::Release::Suite=$pbos->{version} release dists/$pbos->{'version'} > dists/$pbos->{'version'}/Release
    22042207rm -rf \$TMPD
    22052208EOF
Note: See TracChangeset for help on using the changeset viewer.