Changeset 1835 in ProjectBuilder for devel/pb-doc


Ignore:
Timestamp:
Jan 7, 2014, 12:42:13 AM (10 years ago)
Author:
Bruno Cornec
Message:
  • Update pb presentation for LCA2014 and demo script (wasn't it time ;-)
Location:
devel/pb-doc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • devel/pb-doc/pb-demo

    r1407 r1835  
    33
    44# First demonstrate the way of working for pb itself
    5 cd ~/local/pb|~/pb
     5cd ~/local/pb|~/pb|~/svn-git/pb
    66# Show the various versions available in this SVK exported dir
    77ls
    88# get the current tag of the SVK repository
    9 svk info|svn info
     9svk info|svn info|git svn info
    1010
    1111# get the current version of project-builder
    1212rpm -q project-builder
    1313pb --help
    14 pb --version
     14pb
    1515
    1616# Decide to build a package for project-builder based on that devel version
    1717# to replace the one currently installed
    18 pb -p pb -r devel -t sbx2build|cms2build
     18pb -p pb -r devel sbx2build|cms2build
    1919
    2020# Show the upstream part
    21 tar tvfz /home/bruno/local/pb/delivery/project-builder-devel.tar.gz
     21ls -altg /home/bruno/svn-git/pb/delivery/
     22tar tvfz /home/bruno/svn-git/pb/delivery/project-builder-develXXX.tar.gz
    2223
    2324# Show the pb specific part
    24 tar tvfz /home/bruno/local/pb/delivery/project-builder-devel.pbconf.tar.gz
     25tar tvfz /home/bruno/svn-git/pb/delivery/project-builder-develXXX.pbconf.tar.gz
    2526
    2627# Now make the packages
     
    2829
    2930# Look at the latest pckges created
    30 ls -altrg /home/bruno/local/pb/build/RPMS/noarch
     31ls -altrg /home/bruno/svn-git/pb/build/RPMS/noarch
    3132
    3233# Install the generated packages
    33 sudo urpmi /home/bruno/local/pb/build/RPMS/noarch/*.rpm
     34sudo urpmi /home/bruno/svn-git/pb/build/RPMS/noarch/*.rpm
    3435
    3536# Check that it's the right one
    3637rpm -q project-builder
    3738pb --version
     39git svn info
    3840
    3941# Now  show how easy it's to build for another distro in a VM
    4042ls /home/qemu
    41 pb -p pb -m ubuntu-10.10-i386 build2vm
     43-> pb -p pb -m debian-7.1-x86_64 sbx2vm
     44ls -al /var/ftp/pub/pb/test/debian/7.1/
     45ls -al /var/ftp/pub/pb/test/debian/dists/7.1/
     46
     47pb -p pb -m mageia-3-i386 sbx2vm
    4248# Now  show how easy it's to build for another distro in a VE
    4349ls /home/rpmbootstrap
    44 pb -p pb -m centos-5-x86_64 build2ve
     50pb -p pb -m centos-6-x86_64 build2ve
     51pb -p pb -m ubuntu-11.10-x86_64 build2ve
     52-> pb -p pb -m debian-6.0-x86_64 sbx2ve
     53ls -al /var/ftp/pub/pb/test/debian/6.0/
     54ls -al /var/ftp/pub/pb/test/debian/dists/6.0/
    4555
    4656# Now  show how easy it's to build for another project for which I'm upstream
    47 pb -p mondorescue -m centos-5-x86_64 cms2ve
     57-> pb -p mondorescue -m debian-6.0-x86_64 sbx2ve
    4858
    4959# Now  show how easy it's to build for another project for which I'm not upstream with patches
    50 pb -p afio -r 2.5 -m centos-5-x86_64 cms2ve
     60-> pb -p afio -r 2.5 -m debian-6.0-x86_64 sbx2ve
    5161
    5262# Look at conf files
    5363cat ~/.pbrc
    5464cat /home/rpmbootstrap/.pbrc
    55 cat ~/local/pb/projects/afio/pbconf/2.5/afio.pb
    56 ls -R ~/local/pb/projects/afio/pbconf/2.5/
     65cat ~/svn-git/pb/projects/afio/pbconf/2.5/afio.pb
     66ls -R ~/svn-git/pb/projects/afio/pbconf/2.5/
    5767
    5868# Short Lab
Note: See TracChangeset for help on using the changeset viewer.