Changes between Version 58 and Version 59 of DistributionPackaging


Ignore:
Timestamp:
Nov 9, 2011, 6:35:56 PM (8 years ago)
Author:
bruno
Comment:

improve pb usage description

Legend:

Unmodified
Added
Removed
Modified
  • DistributionPackaging

    v58 v59  
    2727
    2828This is currently working for a lot of distributions (including Fedora, Mandriva, openSuSE, RHEL, SLES, debian, ubuntu, gentoo)
    29 In order to build mondo and mindi packages, you need to use the [http://trac.project-builder.org project-builder] tool.
    30 From the last 2.2.x SVN tree extracted you need to launch:
    31 
    32 {{{
    33 # pb -p mondorescue cms2pkg
    34 }}}
    35 
    36 which will create for you both the compressed tar files (step cms2build) and then from those the packages (step build2pkg)
     29In order to build mondo and mindi packages, you need to use the [http://trac.project-builder.org project-builder] tool and install the project-builder and perl-ProjectBuidler - or similar for Debian like - packages.
     30From the last 3.x SVN tree extracted you need to launch:
     31
     32{{{
     33$ cat >> ~/.pbrc << EOF
     34pbconfurl mondorescue =  svn+ssh://user@mondo.hpintelco.org/prj/svn/pb/projects/mondorescue/pbconf
     35# Adapt to fit your needs
     36pbprojdir mondorescue = $ENV{'HOME'}/mondo/svn
     37pburl mondorescue = svn+ssh://user@mondo.hpintelco.org/prj/svn/mondorescue
     38EOF
     39$ pb -p mondorescue -r branches/3.0 sbx2pkg
     40}}}
     41
     42which will create for you both the compressed tar files (step sbx2build) and then from those the packages (step build2pkg)
    3743
    3844If you have or want to create  virtual machines for other distributions that you want to generate packages for, you have to build and set them up using:
     
    4652
    4753{{{
    48 pb -p mondorescue -m distro-version-arch cms2vm
     54pb -p mondorescue -m distro-version-arch sbx2vm
    4955}}}
    5056