Changes between Version 1 and Version 2 of LSB


Ignore:
Timestamp:
Dec 17, 2009, 1:39:26 AM (10 years ago)
Author:
Bruno Cornec
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • LSB

    v1 v2  
    1 Here is a methid to create LSB compliant packages
     1== Here is a method to create LSB compliant packages ==
    22
    33The Linux Foundation is hosting a set of LSB chroot that can be used in order to test LSB compliance of software as part of their [Linux Standard Base Sample Implementation Downloads http://dev.linuxfoundation.org/download/#impl] page.
     
    55You need to get the packages they propose and install them onto your distribution (which is rpm compliant if LSB compliant !)
    66{{{
    7 wget http://ftp.linux-foundation.org/pub/lsb/impl/beta/binary/amd64/lsbsi-chroot-4.0.1-1.x86_64.rpm
    8 wget http://ftp.linux-foundation.org/pub/lsb/impl/beta/binary/ia32/lsbsi-chroot-4.0.1-1.i586.rpm
     7$ cd $HOME
     8$ wget http://ftp.linux-foundation.org/pub/lsb/impl/beta/binary/amd64/lsbsi-chroot-4.0.1-1.x86_64.rpm
     9$ wget http://ftp.linux-foundation.org/pub/lsb/impl/beta/binary/ia32/lsbsi-chroot-4.0.1-1.i586.rpm
    910}}}
     11As 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 configureation:
     12{{{
     13$ grep vepath ~/.pbrc
     14vepath default = /home/rinse
     15$ mkdir -p /home/rinse/lsb/4.0.1/i386 /home/rinse/lsb/4.0.1/x86_64
     16$ cd /home/rinse
     17$ rpm2cpio ~/lsbsi-chroot-4.0.1-1.i586.rpm | cpio -ivdum
     18$ mv ./opt/lsb/si/chroot/* lsb/4.0.1/i386
     19$ rm -rf opt
     20$ rpm2cpio ~/lsbsi-chroot-4.0.1-1.x86_64.rpm | cpio -ivdum
     21$ mv ./opt/lsb/si/chroot/* lsb/4.0.1/x86_64
     22$ rm -rf opt
     23}}}
     24
     25