[OE-core] [PATCH] sanity.bbclass: always use oe.lsb.distro_identifier method

Martin Jansa martin.jansa at gmail.com
Wed Mar 6 17:37:56 UTC 2013


On Tue, Mar 05, 2013 at 10:54:25AM +0000, Paul Eggleton wrote:
> On Friday 01 March 2013 18:42:22 Martin Jansa wrote:
> > * even when /etc/redhat-release or /etc/SuSE-release exists
> > * don't read /etc/lsb-release manually, NATIVELSBSTRING is not
> >   reading it too
> 
> Unfortunately this has been merged before I had a chance to reply. FYI I put 
> the code in here to read the files directly on purpose, because most distros 
> bundle up the lsb_release tool with all of the LSB dependencies, so if you 
> want to set up a headless server without some of the LSB dependencies (which 
> include X11) you won't have the lsb_release tool and NATIVELSBSTRING is 
> "Unknown". Yes, I know we have this problem with NATIVELSBSTRING already.

then we should fix it in oe.lsb.distro_identifier method and share the
same code for sanity and NATIVELSBSTRING.
-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20130306/feb64554/attachment-0002.sig>


More information about the Openembedded-core mailing list