- Timestamp:
- Jan 7, 2014, 12:42:13 AM (11 years ago)
- Location:
- devel/pb-doc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb-doc/pb-demo
r1407 r1835 3 3 4 4 # First demonstrate the way of working for pb itself 5 cd ~/local/pb|~/pb 5 cd ~/local/pb|~/pb|~/svn-git/pb 6 6 # Show the various versions available in this SVK exported dir 7 7 ls 8 8 # get the current tag of the SVK repository 9 svk info|svn info 9 svk info|svn info|git svn info 10 10 11 11 # get the current version of project-builder 12 12 rpm -q project-builder 13 13 pb --help 14 pb --version14 pb 15 15 16 16 # Decide to build a package for project-builder based on that devel version 17 17 # to replace the one currently installed 18 pb -p pb -r devel -tsbx2build|cms2build18 pb -p pb -r devel sbx2build|cms2build 19 19 20 20 # Show the upstream part 21 tar tvfz /home/bruno/local/pb/delivery/project-builder-devel.tar.gz 21 ls -altg /home/bruno/svn-git/pb/delivery/ 22 tar tvfz /home/bruno/svn-git/pb/delivery/project-builder-develXXX.tar.gz 22 23 23 24 # Show the pb specific part 24 tar tvfz /home/bruno/ local/pb/delivery/project-builder-devel.pbconf.tar.gz25 tar tvfz /home/bruno/svn-git/pb/delivery/project-builder-develXXX.pbconf.tar.gz 25 26 26 27 # Now make the packages … … 28 29 29 30 # Look at the latest pckges created 30 ls -altrg /home/bruno/ local/pb/build/RPMS/noarch31 ls -altrg /home/bruno/svn-git/pb/build/RPMS/noarch 31 32 32 33 # Install the generated packages 33 sudo urpmi /home/bruno/ local/pb/build/RPMS/noarch/*.rpm34 sudo urpmi /home/bruno/svn-git/pb/build/RPMS/noarch/*.rpm 34 35 35 36 # Check that it's the right one 36 37 rpm -q project-builder 37 38 pb --version 39 git svn info 38 40 39 41 # Now show how easy it's to build for another distro in a VM 40 42 ls /home/qemu 41 pb -p pb -m ubuntu-10.10-i386 build2vm 43 -> pb -p pb -m debian-7.1-x86_64 sbx2vm 44 ls -al /var/ftp/pub/pb/test/debian/7.1/ 45 ls -al /var/ftp/pub/pb/test/debian/dists/7.1/ 46 47 pb -p pb -m mageia-3-i386 sbx2vm 42 48 # Now show how easy it's to build for another distro in a VE 43 49 ls /home/rpmbootstrap 44 pb -p pb -m centos-5-x86_64 build2ve 50 pb -p pb -m centos-6-x86_64 build2ve 51 pb -p pb -m ubuntu-11.10-x86_64 build2ve 52 -> pb -p pb -m debian-6.0-x86_64 sbx2ve 53 ls -al /var/ftp/pub/pb/test/debian/6.0/ 54 ls -al /var/ftp/pub/pb/test/debian/dists/6.0/ 45 55 46 56 # 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 cms2ve57 -> pb -p mondorescue -m debian-6.0-x86_64 sbx2ve 48 58 49 59 # 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 cms2ve60 -> pb -p afio -r 2.5 -m debian-6.0-x86_64 sbx2ve 51 61 52 62 # Look at conf files 53 63 cat ~/.pbrc 54 64 cat /home/rpmbootstrap/.pbrc 55 cat ~/ local/pb/projects/afio/pbconf/2.5/afio.pb56 ls -R ~/ local/pb/projects/afio/pbconf/2.5/65 cat ~/svn-git/pb/projects/afio/pbconf/2.5/afio.pb 66 ls -R ~/svn-git/pb/projects/afio/pbconf/2.5/ 57 67 58 68 # Short Lab
Note:
See TracChangeset
for help on using the changeset viewer.