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

Saul Wold sgw at linux.intel.com
Wed Mar 6 22:29:14 UTC 2013


On 03/05/2013 02:54 AM, 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.
>
+1, but not just headless server, my FC18 release does not have 
lsb_release installed at all.

Sau!

> Cheers,
> Paul
>




More information about the Openembedded-core mailing list