Changeset 2239 in ProjectBuilder for devel/pb-modules/etc


Ignore:
Timestamp:
Jul 31, 2017, 1:25:12 AM (7 years ago)
Author:
Bruno Cornec
Message:

Start move to YAML conf files

Location:
devel/pb-modules/etc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • devel/pb-modules/etc/pb.conf.pod

    r2234 r2239  
    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, 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.
     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.yml or /usr/local/etc/pb/pb.yml, VE vepath/.pbrc, VM vmpath/.pbrc,  or project project.pb) and an example of use.
    2020
    2121=head1 OPTIONS
  • devel/pb-modules/etc/pb.yml

    r2224 r2239  
     1---
    12# $Id$
    2 # 
     3#
    34# Main configuration file for project-builder.org
    45#
     
    910#
    1011# Define Operating systems
    11 # 
    12 
    13 # 
     12#
     13
     14#
    1415# For the following keys osrelfile and osrelambfile:
    1516# The left member is the key that will be used overall as the OS name
     
    1920# all the keys from osrelfile and osrelambfile, and the values of osrelambfile
    2021#
    21 ---
    2222#
    2323# The following conf info are for pb_distro_get (man ProjectBuilder::Distribution)
     
    558558# What is the regular expression to find the kernel file
    559559  mkbmkernelnamere:
    560     linux: ^linu|^vmlinu|^xen
     560      #linux: ^linu|^vmlinu|^xen
    561561
    562562# Files to add on the boot media to support a full working system
     
    568568    linux:
    569569# Commands to add
    570   mkbmbasecmds
     570  mkbmbasecmds:
    571571    linux: file,bzip2,bunzip2,bash,date,ctrlaltdel,wc,xargs,less,ldconfig,tee,efibootmgr,lilo,grub,elilo,fdisk,parted
    572572#
    573573# To support debug
    574   mkbmdbgfiles
     574  mkbmdbgfiles:
    575575    linux:
    576   mkbmdbgcmds
     576  mkbmdbgcmds:
    577577    linux: ldd,strace,valgrind,dmidecode,lsusb,lshw,lspci,ethtool
    578   mkbmdbgdirs
     578  mkbmdbgdirs:
    579579    linux: /usr/lib/valgrind,/usr/lib64/valgrind
    580580
    581581# Where are the ISO bootloader for this OS
    582   mkbmisobl
     582  mkbmisobl:
    583583    linux: /usr/lib/syslinux/isolinux.bin,/usr/lib64/syslinux/isolinux.bin
    584   mkbmkbd
     584  mkbmkbd:
    585585    mageia: /usr/lib/kbd
    586586
     
    661661    rhel-7: wget,make,ntpdate,patch,perl-Date-Manip,rpm-build,diffutils,perl-Module-Build
    662662    centos-7: wget,make,ntpdate,patch,perl-Date-Manip,rpm-build,diffutils,perl-Module-Build,perl-ExtUtils-MakeMaker,perl-File-MimeInfo,perl-File-BaseDir
    663     redhat =
     663    redhat:
    664664    suse: wget,make,ntp,patch,diffutils
    665665    opensuse: openSUSE-release,wget,make,ntp,patch,perl-Date-Manip,perl-File-HomeDir,diffutils,rpm-build
     
    792792# Do you want to see detailed sudo commands or just the summary of them
    793793# Useful for security concerns, nice to have it as a parameter
    794 pbshowsudo:
     794  pbshowsudo:
    795795    default: false
    796796
    797797# Do not stop on errors by default (VE/VM are still broken with it on)
    798 pbstoponerr:
     798  pbstoponerr:
    799799    default: false
    800800
     
    809809# Where is the associated repo
    810810  osrepo:
    811     redhat-6.2 =
     811    redhat-6.2:
    812812    rpm: ftp://ftp.project-builder.org/$pbos->{'name'}/$pbos->{'version'}/$pbos->{'arch'}/pb.repo
    813813    mageia: ftp://ftp.project-builder.org/$pbos->{'name'}/$pbos->{'version'}/$pbos->{'arch'}/pb.addmedia
     
    872872# CPAN upload info (info from cpanupload)
    873873#
    874 cpanpause:
     874  cpanpause:
    875875    default: pause.perl.org
    876 cpandir:
     876  cpandir:
    877877    default: incoming
    878 cpansubdir:
     878  cpansubdir:
    879879    default:
    880 cpanurl:
     880  cpanurl:
    881881    default: http://pause.perl.org/pause/authenquery
    882882#cpanuser:
Note: See TracChangeset for help on using the changeset viewer.