source: devel/pb-doc/pb-demo @ 1101

Last change on this file since 1101 was 1101, checked in by bruno, 9 years ago

Update demo script for HP presentation

File size: 1.5 KB
RevLine 
[814]1Demo of project-builder.org
2===========================
3
4# First demonstrate the way of working for pb itself
[1101]5cd ~/local/pb|~/pb
[814]6# Show the various versions available in this SVK exported dir
7ls
8# get the current tag of the SVK repository
[1101]9svk info|svn info
[814]10
11# get the current version of project-builder
12rpm -q project-builder
[817]13pb --help
[814]14
15# Decide to build a package for project-builder based on that devel version
16# to replace the one currently installed
17pb -p pb -r devel cms2build
18
19# Show the upstream part
20tar tvfz /home/bruno/local/pb/delivery/project-builder-devel.tar.gz
21
22# Show the pb specific part
23tar tvfz /home/bruno/local/pb/delivery/project-builder-devel.pbconf.tar.gz
24
25# Now make the packages
26pb -p pb build2pkg
27
28# Look at the latest pckges created
29ls -altrg /home/bruno/local/pb/build/RPMS/noarch
30
31# Install the generated packages
32sudo urpmi /home/bruno/local/pb/build/RPMS/noarch/*.rpm
33
34# Check that it's the right one
[816]35rpm -q project-builder
[817]36pb --help
[814]37
[817]38# Now  show how easy it's to build for another distro in a VM
[1101]39ls /home/qemu
[816]40pb -p pb -m ubuntu-9.04-i386 build2vm
[817]41# Now  show how easy it's to build for another distro in a VE
[1101]42ls /home/rinse
[816]43pb -p pb -m centos-5-i386 build2ve
44
[817]45# Now  show how easy it's to build for another project for which I'm upstream
[1101]46pb -p mondorescue -m centos-5-i386 cms2ve
[817]47# Now  show how easy it's to build for another project for which I'm not upstream with patches
[1101]48pb -p afio -r 2.5 -m centos-5-i386 cms2ve
[816]49
[1101]50# Look at conf files
51cat ~/.pbrc
52cat /home/rinse/.pbrc
53cat ~/pb/projects/afio/pbconf/2.5/afio.pb
54ls -R ~/pb/projects/afio/pbconf/2.5/
Note: See TracBrowser for help on using the repository browser.