Changeset 1181 in ProjectBuilder for devel/pb-modules/etc/pb.conf


Ignore:
Timestamp:
Feb 12, 2011, 1:56:42 AM (13 years ago)
Author:
Bruno Cornec
Message:
  • Fix rpmbootstrap and pb newve order, which wasn't working after the latest pbos introduction
  • rpmbootstrap wasn't using the right conf file when launched with sudo is fixed by using the SUDO_USER env. var.
  • pb.conf rbsmirrorsrv now uses pbos var, and is filtered correctly.
File:
1 edited

Legend:

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

    r1179 r1181  
    322322# URL of the directory containing the packages mentioned in rbsmindep.
    323323# You can use some rpmbootstrap variables here:
    324 # $ddir: name of the distribution
    325 # $dver: version of the distribution
    326 # $darch: architecture of the distribution
     324# $pbos->{'name'}: name of the distribution
     325# $pbos->{'version'}: version of the distribution
     326# $pbos->{'arch'}: architecture of the distribution
    327327# You need an http based mirror for the moment
    328 #rbsmirrorsrv fedora = http://download.fedora.redhat.com/pub/fedora/linux/releases/$dver/Everything/$darch/os/Packages/
    329 rbsmirrorsrv fedora = http://mirrors.kernel.org/fedora/releases/$dver/Fedora/$darch/os/Packages
    330 rbsmirrorsrv centos-4 = http://mirrors.kernel.org/centos/4.8/os/$darch/CentOS/RPMS
    331 rbsmirrorsrv centos-5 = http://mirrors.kernel.org/centos/5.5/os/$darch/CentOS
     328#rbsmirrorsrv fedora = http://download.fedora.redhat.com/pub/fedora/linux/releases/$pbos->{'version'}/Everything/$pbos->{'arch'}/os/Packages/
     329rbsmirrorsrv fedora = http://mirrors.kernel.org/fedora/releases/$pbos->{'version'}/Fedora/$pbos->{'arch'}/os/Packages
     330rbsmirrorsrv centos-4 = http://mirrors.kernel.org/centos/4.8/os/$pbos->{'arch'}/CentOS/RPMS
     331rbsmirrorsrv centos-5 = http://mirrors.kernel.org/centos/5.5/os/$pbos->{'arch'}/CentOS
    332332rbsmirrorsrv centos-5-ia64 = http://dev.centos.org/~z00dax/ia64/c5-wip/ia64/RPMS/
    333333#rbsmirrorsrv rhel =
    334 # darch == i586 for i386 repo
    335 rbsmirrorsrv opensuse = http://mirrors.kernel.org/opensuse/distribution/$dver/repo/oss/suse/$darch/
    336 # darch == i586 for i386 repo
    337 rbsmirrorsrv mandriva = http://mirrors.kernel.org/mandriva/Mandrakelinux/official/$dver/$darch/media/main/release/
     334# pbos->{'arch'} == i586 for i386 repo
     335rbsmirrorsrv opensuse = http://mirrors.kernel.org/opensuse/distribution/$pbos->{'version'}/repo/oss/suse/$pbos->{'arch'}/
     336# pbos->{'arch'} == i586 for i386 repo
     337rbsmirrorsrv mandriva = http://mirrors.kernel.org/mandriva/Mandrakelinux/official/$pbos->{'version'}/$pbos->{'arch'}/media/main/release/
    338338#rbsmirrorsrv debian = http://ftp.us.debian.org/debian/
    339339#rbsmirrorsrv ubuntu = http://us.releases.ubuntu.com/releases/
     
    470470ospkg default = project-builder
    471471# Where is the associated repo
    472 osrepo rpm = ftp://ftp.project-builder.org/$ddir/$dver/pb.repo
     472osrepo rpm = ftp://ftp.project-builder.org/$pbos->{'name'}/$pbos->{'version'}/pb.repo
    473473
    474474# Number of process in // for pb
Note: See TracChangeset for help on using the changeset viewer.