30 | | Once this is done, pb is now able to generate packages for those LSB chroots. |
| 30 | There are still manual tasks you need to perform as we didn't install the rpm, but just used the content (I can not recommend to apply blindly the rpm which deals with your sudo conf locally and also pb normally does it for you in newve, but as we're creating it another way, we have to finish the work ourselves): |
| 31 | {{{ |
| 32 | # chroot /home/rinse/lsb/4.0.1/i386 /sbin/fix-filemodes.sh |
| 33 | # chroot /home/rinse/lsb/4.0.1/i386 chown root /bin/su |
| 34 | # chroot /home/rinse/lsb/4.0.1/i386 chmod +s /bin/root |
| 35 | # chroot /home/rinse/lsb/4.0.1/x86_64 /sbin/fix-filemodes.sh |
| 36 | # chroot /home/rinse/lsb/4.0.1/x86_64 chown root /bin/su |
| 37 | # chroot /home/rinse/lsb/4.0.1/x86_64 chmod +s /bin/root |
| 38 | }}} |
| 39 | NOTE: LSB chroot is not provided with 2 mandatory components for pb: sudo and make. THis has to be solved before goind further. |
| 40 | |
| 41 | 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: |
| 42 | {{{ |
| 43 | $ pb -p pb -m lsb-4.0.1-i386 setupve |
| 44 | }}} |