summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/lsb.py
Commit message (Collapse)AuthorAgeFilesLines
* distro_identifier: replace slash with hyphenMihai Lindner2012-10-271-1/+1
| | | | | | | | | | | | Use "-" instead of "/" in "n/a" strings ("Distributor ID" and/or "Release"), provided by `lsb_release`. This leads to directories and subdirectories created in ./sstate-cache/ e.g. Distro-n/a/ where "Distro-n" is dir and "a" is subdir. (From OE-Core rev: c2a9f0c330f0da82792f87e3860b06c25b986983) Signed-off-by: Mihai Lindner <mihaix.lindner@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/oe/lsb.py: Map unknown distributions to 'Unknown'Richard Purdie2012-07-311-2/+8
| | | | | | (From OE-Core rev: e12df2ca5c71ad672ebbfefbc47cabbac3333d61) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/oe/lsb: Add basic LSB functionsRichard Purdie2012-07-281-0/+28
This code was written by Christopher Larson <chris_larson@mentor.com> and allows generation of the LSB release data based upon the lsb_release command. It also includes a helper function to generate a string representing a given distribution. (From OE-Core rev: 458bdfe1cc4872e901ea3c38f497bfea6cf4c8cb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>