May 10, 2012, 6:07:28 PM (8 years ago)
Bruno Cornec

r4765@localhost: bruno | 2012-05-10 17:08:00 +0200

  • pb.conf: centos-5.6 moved python-libs into a separate package. List it or otherwise we can't run yum. Fix the mirror servers for centos-4,5 to just get the latest, and add mirror servers for 6.
  • pb.conf.pod: document addrepo, looked here and didn't find it, accidentally found it in code before adding it myself. Fix pod glitch at the end (missing =over/=back)
  • Distribution.pm: move the code to apply ftp_proxy/http_proxy from the conf files to a sub function since it's now needed in two places. Log the proxy and verify that everything we tried to install succeeded since yum will silently tolerate failing to install things, but rpmbuild will complain about missing dependencies. Tolerate an error from testing install of an rpm in pb_distro_setuprepo_gen.
  • Env.pm: Give an example of multi-line filters and an example of a transform.
  • VE.pm: If the verpmtype isn't defined, error out cleanly. Otherwise we're just going to fail later with lots of noisy output.
1 edited


  • devel/pb-modules/etc/pb.conf.pod

    r1508 r1517  
    2323=over 4
     25=item B<addrepo>
     27 Nature: Optional
     28Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). The family name is generaly used here.
     29 Value: comma separated list of URLs that point to repository files, or packages to install. The values may not include substitutions.
     30 Conffile: project
     31 Example: addrepo centos-5-x86_64 = file:///prj/extras.repo,http://mirror.centos.org/centos/5.8/extras/x86_64/RPMS/chrpath-0.13-3.el5.centos.x86_64.rpm
    2533=item B<checkexclude>
    10071015=head1 OTHER PARAMETERS
     1017=over 4
    10081019=item B<pb_URL>
    10091021=item B<pb_directory_desc>
    10101023=item B<pb_environment_variables>
Note: See TracChangeset for help on using the changeset viewer.