Changes between Version 4 and Version 5 of LSB


Ignore:
Timestamp:
12/17/09 02:37:39 (3 years ago)
Author:
bruno
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • LSB

    v4 v5  
    2828velist default = centos-4-i386,centos-5-i386,centos-4-x86_64,centos-5-x86_64,debian-5.0-x86_64,lsb-4.0.1-i386,lsb-4.0.1-x86_64 
    2929}}} 
    30 Once this is done, pb is now able to generate packages for those LSB chroots. 
     30There 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}}} 
     39NOTE: LSB chroot is not provided with 2 mandatory components for pb: sudo and make. THis has to be solved before goind further. 
     40 
     41Once 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}}} 
    3145 
    3246