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


Ignore:
Timestamp:
Nov 18, 2010, 2:06:01 AM (13 years ago)
Author:
Bruno Cornec
Message:
  • Rename previous option osupd into the more correct osins, and add a real osupd param to support distribution update commands
  • Adds 2 new commands to update distributions in VM|VE with updatevm|ve (Fix #70)
Location:
devel/pb-modules/etc
Files:
2 edited

Legend:

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

    r1109 r1111  
    194194# key depends on granularity, value is install command
    195195
     196# Command to update the distribution to latest state
     197osupd du = sudo apt-get update
     198osupd gen = sudo emerge
     199osupd rpm = sudo yum clean all; sudo yum -y update
     200osupd md = sudo urpmi.update -a ; sudo urpmi --autoa--auto-select
     201osupd opensuse = sudo zypper -n update
     202osupd sol = /bin/true
     203osupd lsb = /bin/true
     204
    196205# Chaining the commands allow to only test for what is able to be installed,
    197206# not the update of the repo which may well be unaccessible if too old
    198 osupd du = sudo apt-get update ; sudo apt-get -y install
    199 osupd gen = sudo emerge
    200 osupd rpm = sudo yum clean all; sudo yum -y update ; sudo yum -y install
    201 osupd rhel-2.1 = sudo up2date -y
    202 osupd rhel-3 = sudo up2date -y
    203 osupd rhel-4 = sudo up2date -y
    204 osupd md = sudo urpmi.update -a ; sudo urpmi --auto
    205 osupd novell = export TERM=linux ; export PATH=\$PATH:/sbin:/usr/sbin ; sudo yast2 -i
    206 osupd opensuse-10.2 = sudo yes | zypper install
    207 osupd opensuse = sudo zypper -n install
    208 osupd sol = sudo pkgadd -d
    209 osupd lsb = /bin/true
     207osins du = sudo apt-get update ; sudo apt-get -y install
     208osins gen = sudo emerge
     209osins rpm = sudo yum clean all; sudo yum -y update ; sudo yum -y install
     210osins rhel-2.1 = sudo up2date -y
     211osins rhel-3 = sudo up2date -y
     212osins rhel-4 = sudo up2date -y
     213osins md = sudo urpmi.update -a ; sudo urpmi --auto
     214osins novell = export TERM=linux ; export PATH=\$PATH:/sbin:/usr/sbin ; sudo yast2 -i
     215osins opensuse-10.2 = sudo yes | zypper install
     216osins opensuse = sudo zypper -n install
     217osins sol = sudo pkgadd -d
     218osins lsb = /bin/true
    210219
    211220# From the most generic to the most specialized, in term of granularity,
  • devel/pb-modules/etc/pb.conf.pod

    r1109 r1111  
    102102 Conffile: pb
    103103 Example: osfamily debian = du
     104
     105=item B<osins>
     106
     107 Nature: Optional
     108 Key: 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.
     109 Value: OS command to lauch in order to automatically install packages on it.
     110 Conffile: pb
     111 Example: osins fedora = sudo yum -y install
    104112
    105113=item B<osmindep>
     
    196204 Nature: Optional
    197205 Key: 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.
    198  Value: OS command to lauch in order to automatically install packages on it.
    199  Conffile: pb
    200  Example: ostype rh = rpm, ostype md = rpm, ostype novell = rpm
     206 Value: OS command to lauch in order to automatically update th VM|VE
     207 Conffile: pb
     208 Example: osupd fedora = sudo yum -y update
    201209
    202210=item B<pbconfurl>
Note: See TracChangeset for help on using the changeset viewer.