Changeset 986 in ProjectBuilder for devel/pb-doc


Ignore:
Timestamp:
Feb 21, 2010, 7:16:55 PM (14 years ago)
Author:
Bruno Cornec
Message:

r3700@localhost: bruno | 2010-02-20 16:35:59 +0100

  • Continue to improve pb.conf documentation
  • veconf renamed as rbsconf
  • ve4pi renamed rbs4pi
  • new pb_get_postinstall generic function for rinse and rpmbootstrap
  • ventp/vmntp is now optional
  • licom_err needed by fedora 12
  • make rpmbootstrap work for i386 distros
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb-doc/pb.conf.pod

    r985 r986  
    1717The key could be also default, in which case it will be used as a default value if no more precise content is given for the key.
    1818
    19 Each value is detailed below giving the nature of its use (Mandatory or Optional - only used for certain feature), the value of the key (could be the project, a distribution name, default, ...), the value of the parameter field and its format, the default configuration file in which it should be defined and an example of use.
     19Each value is detailed below giving the nature of its use (Mandatory or Optional - only used for certain feature), the value of the key (could be the project, an OS name, default, ...), the value of the parameter field and its format, the default configuration file in which it should be defined (home $HOME/.pbrc, conf /etc/pb/pb.conf or /usr/local/etc/pb/pb.conf, VE vepath/.pbrc, VM vmpath/.pbrc,  or project project.pb) and an example of use.
    2020
    2121=head1 OPTIONS
     
    261261Nature: Optional
    262262Key: package (as provided in defpkgdir or extpkgdir)
    263 Value: Tag that needs to be used in package name (on rpm: name-ver-tag.arch.rpm). Useful when republishing a package due to package build modification (not code).
     263Value: Tag that needs to be used in package name (on rpm: name-ver-tag.arch.rpm).  Useful when different from the project version B<projtag> and when republishing a package due to package build modification (not code).
    264264Conffile: project
    265265Example: pkgtag mindi-busybox = 2
     
    269269Nature: Optional
    270270Key: package (as provided in defpkgdir or extpkgdir)
    271 Value: Version that needs to be used in package name (on rpm: name-ver-tag.arch.rpm).
    272 Conffile: project
    273 Example:
     271Value: Version that needs to be used in package name (on rpm: name-ver-tag.arch.rpm). Useful when different from the project version B<projver>.
     272Conffile: project
     273Example: pkgver mindi-busybox = 1.7.3
    274274
    275275=item B<projtag>
     276
     277Nature: Mandatory
     278Key: project (as defined in the -p option or PBPROJ environment variable)
     279Value: tag that will be used for all packages names (on rpm: name-ver-tag.arch.rpm) in the project. Each package can overwrite it using B<pkgtag>.
     280Conffile: project
     281Example: projtag mondorescue = 1
     282
    276283=item B<projver>
     284
     285Nature: Mandatory
     286Key: project (as defined in the -p option or PBPROJ environment variable)
     287Value: version that will be used for all packages names (on rpm: name-ver-tag.arch.rpm) in the project. Each package can overwrite it using B<pkgver>.
     288Conffile: project
     289Example: projver mondorescue = 2.2.9
     290
     291=item B<rbsconf>
     292
     293Nature: Optional
     294Key: project (as defined in the -p option or PBPROJ environment variable)
     295Value: for mock it's the configuration directory. For rinse it's its configuration file. For rpmbootstrap it's not used yet.
     296Conffile: ve
     297Example: rbsconf default = /etc/mock, rbsconf default = /etc/pb/pb-rinse.conf
     298
     299=item B<rbsb4pi>
     300
     301Nature: Optional
     302Key: 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.
     303Value: for mock it's not used. For rinse it's the script to call before doing installation (in order change the mirror location). For rpmbootstrap it's not used yet.
     304Conffile: ve
     305Example: rbsb4pi centos = /home/rinse/bin/before-post-install.sh
     306
    277307=item B<supfiles>
     308
     309Not used yet.
     310
    278311=item B<testver>
    279 =item B<veb4pi>
    280 =item B<veconf>
     312
     313Nature: Optional
     314Key: project (as defined in the -p option or PBPROJ environment variable)
     315Value: true (meaning this is a test version, whose tag will be generated automatically, based on 0+date in order to allow regular updates, and still be inferior to tag 1 of the official version, and delivered under the test subdirectory of the ftp server). By default false.
     316Conffile: project
     317Example: testver mondorescue = true
     318
    281319=item B<vedebtype>
     320
     321Nature: Mandatory
     322Key: project (as defined in the -p option or PBPROJ environment variable)
     323Value: debootstrap (no other tool to create deb distro based chroot)
     324Conffile: ve
     325Example: vedebtype default = debootstrap
     326
    282327=item B<velist>
     328
     329Nature: Mandatory
     330Key: project (as defined in the -p option or PBPROJ environment variable)
     331Value: list of coma separated OS (under the form of os-ver-arch).
     332Conffile: ve
     333Example: velist default = centos-4-i386,centos-5-i386,centos-4-x86_64,centos-5-x86_64,debian-5.0-i386,debian-5.0-x86_64,lsb-4.0.1-i386,lsb-4.0.1-x86_64
     334
    283335=item B<velogin>
     336
     337Nature: Mandatory
     338Key: project (as defined in the -p option or PBPROJ environment variable)
     339Value: account name to use in the VE to build packages.
     340Conffile: ve
     341Example: velogin default = pb
     342
    284343=item B<ventp>
     344
     345Nature: Optional
     346Key: project (as defined in the -p option or PBPROJ environment variable)
     347Value: NTP server to contact for time accuracy with B<ventpcmd> before building.
     348Conffile: ve
     349Example: ventp default = 1.pool.ntp.org
     350
    285351=item B<ventpcmd>
     352
     353Nature: Optional
     354Key: project (as defined in the -p option or PBPROJ environment variable)
     355Value: NTP command to use to perform time synchronization with the B<ventp> server.
     356Conffile: ve
     357Example: ventpcmd default = /usr/sbin/ntpdate
     358
    286359=item B<vepath>
     360
     361Nature: Optional
     362Key: project (as defined in the -p option or PBPROJ environment variable)
     363Value: path where to find VEs. Ve will be created and used under that path. For each VE os-ver-arch, it will create a subdirectory tree os/ver/arch below that point.
     364Conffile: ve
     365Example: vepath default = /home/rpmbootstrap
     366
    287367=item B<vepi>
    288368=item B<vepkglist>
    289369=item B<verebuild>
    290370=item B<verpmtype>
    291 =item B<version>
    292371=item B<vesnap>
    293372=item B<vetmout>
    294373=item B<vetype>
     374
    295375=item B<vmhost>
    296376=item B<vmlist>
     377
     378Nature: Mandatory
     379Key: project (as defined in the -p option or PBPROJ environment variable)
     380Value: list of coma separated OS (under the form of os-ver-arch).
     381Conffile: vm
     382Example: vmlist default = asianux-2-i386,asianux-3-i386,mandrake-10.1-i386,mandrake-10.2-i386,mandriva-2006.0-i386,mandriva-2007.0-i386,mandriva-2007.1-i386,mandriva-2008.0-i386,mandriva-2008.1-i386,mandriva-2009.0-i386,mandriva-2009.1-i386,mandriva-2010.0-i386,redhat-7.3-i386,redhat-9-i386,fedora-4-i386,fedora-5-i386,fedora-6-i386,fedora-7-i386,fedora-8-i386,fedora-9-i386,fedora-10-i386,fedora-11-i386,fedora-12-i386,rhel-2.1-i386,rhel-3-i386,rhel-4-i386,rhel-5-i386,suse-10.0-i386,suse-10.1-i386,suse-10.2-i386,opensuse-10.3-i386,opensuse-11.0-i386,opensuse-11.1-i386,opensuse-11.2-i386,sles-9-i386,sles-10-i386,sles-11-i386,gentoo-nover-i386,debian-3.1-i386,debian-4.0-i386,debian-5.0-i386,ubuntu-6.06-i386,ubuntu-7.04-i386,ubuntu-7.10-i386,ubuntu-8.04-i386,ubuntu-8.10-i386,ubuntu-9.04-i386,ubuntu-9.10-i386,solaris-10-i386,asianux-2-x86_64,asianux-3-x86_64,mandriva-2007.0-x86_64,mandriva-2007.1-x86_64,mandriva-2008.0-x86_64,mandriva-2008.1-x86_64,mandriva-2009.0-x86_64,mandriva-2009.1-x86_64,mandriva-2010.0-x86_64,fedora-6-x86_64,fedora-7-x86_64,fedora-8-x86_64,fedora-9-x86_64,fedora-10-x86_64,fedora-11-x86_64,fedora-12-x86_64,rhel-3-x86_64,rhel-4-x86_64,rhel-5-x86_64,suse-10.2-x86_64,opensuse-10.3-x86_64,opensuse-11.0-x86_64,opensuse-11.1-x86_64,opensuse-11.2-x86_64,sles-10-x86_64,sles-11-x86_64,gentoo-nover-x86_64,debian-4.0-x86_64,debian-5.0-x86_64,ubuntu-7.04-x86_64,ubuntu-7.10-x86_64,ubuntu-8.04-x86_64,ubuntu-8.10-x86_64,ubuntu-9.04-x86_64,ubuntu-9.10-x86_64,solaris-10-x86_64
     383
    297384=item B<vmlogin>
    298385=item B<vmmonport>
Note: See TracChangeset for help on using the changeset viewer.