| 4 | |
| 5 | === Version 3.2 === |
| 6 | |
| 7 | You can find the 3.2 version of the LSB chroot at http://ftp.linux-foundation.org/pub/lsb/impl/released-3.2.0/binary/ia32/lsbsi-core-ia32-3.2.0.tar.bz2 and install it onto your distribution: |
| 8 | {{{ |
| 9 | $ cd $HOME |
| 10 | $ wget http://ftp.linux-foundation.org/pub/lsb/impl/released-3.2.0/binary/ia32/lsbsi-core-ia32-3.2.0.tar.bz2 |
| 11 | $ wget http://ftp.linux-foundation.org/pub/lsb/impl/released-3.2.0/binary/amd64/lsbsi-core-x86_64-3.2.0.tar.bz2 |
| 12 | }}} |
| 13 | |
| 14 | As these packages contain overlapping content, if you want to generate for the i386 and x86_64 arches, I propose to you the following installation means, providing the following project-builder configuration: |
| 15 | {{{ |
| 16 | $ grep vepath ~/.pbrc |
| 17 | vepath default = /users/rpmbootstrap |
| 18 | $ mkdir -p /users/rpmbootstrap/lsb/3.2/i386 /users/rpmbootstrap/lsb/3.2/x86_64 |
| 19 | $ cd /users/rpmbootstrap |
| 20 | $ sudo tar -C lsb/3.2/i386 -xjf lsbsi-core-ia32-3.2.0.tar.bz2 |
| 21 | $ sudo tar -C lsb/3.2/x86_64 -xjf lsbsi-core-x86_64-3.2.0.tar.bz2 |
| 22 | $ sudo mv lsb/3.2/i386/lsbsi-core-ia32/* lsb/3.2/i386/ ; rmdir lsb/3.2/i386/lsbsi-core-ia32/ |
| 23 | $ sudo mv lsb/3.2/x86_64/lsbsi-core-x86_64/* lsb/3.2/x86_64/ ; rmdir lsb/3.2/x86_64/lsbsi-core-x86_64/ |
| 24 | }}} |
| 25 | |
| 26 | The vepath entry in your default configuration project-builder file tells to pb where to look for Virtual Environments (VEs) on your system. In that directory, you have another file describing relevant information for all VEs. Especially, you need to ensure that pb will build now for your newly created VR: |
| 27 | {{{ |
| 28 | $ grep velist .pbrc |
| 29 | velist default = centos-4-i386,centos-5-i386,centos-4-x86_64,centos-5-x86_64,debian-5.0-i386,debian-5.0-x86_64,lsb-3.2-i386,lsb-3.2-x8-_64,lsb-4.0.1-i386,lsb-4.0.1-x86_64,mandriva-2010.0-x86_64,ubuntu-10.04-x86_64 |
| 30 | }}} |
| 31 | |
| 32 | NOTE: LSB chroot is not provided with 1 mandatory component for pb: sudo. This has to be solved before goind further. |
| 33 | |
| 34 | Once all this is done, pb is now able to generate packages for those LSB chroots. Of course, you first need to setup your chroot for pb usage: |
| 35 | {{{ |
| 36 | $ pb -p pb -m lsb-3.2-x86_64 setupve |
| 37 | }}} |
| 38 | |
| 39 | |
| 40 | === Version 4.0 === |