[OE-core] [PATCH] sanity.bbclass: always use oe.lsb.distro_identifier method
Paul Eggleton
paul.eggleton at linux.intel.com
Tue Mar 5 10:54:25 UTC 2013
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.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
More information about the Openembedded-core
mailing list