Re: [OE-core] [PATCH] lib/oe/lsb: Add basic LSB functions

2012-07-31 Thread Richard Purdie
On Mon, 2012-07-30 at 15:50 -0400, Denys Dmytriyenko wrote: > On Sat, Jul 28, 2012 at 10:58:16AM +0100, Jack Mitchell wrote: > > On 28/07/2012 10:37, Martin Jansa wrote: > > >On Sat, Jul 28, 2012 at 11:16:14AM +0200, Martin Jansa wrote: > > >>>by installing lsb_release. Archlinux 64. > > >>> > > >>

Re: [OE-core] [PATCH] lib/oe/lsb: Add basic LSB functions

2012-07-30 Thread Denys Dmytriyenko
On Sat, Jul 28, 2012 at 10:58:16AM +0100, Jack Mitchell wrote: > On 28/07/2012 10:37, Martin Jansa wrote: > >On Sat, Jul 28, 2012 at 11:16:14AM +0200, Martin Jansa wrote: > >>>by installing lsb_release. Archlinux 64. > >>> > >>>Should it check to see if it installed first and error otherwise? It >

Re: [OE-core] [PATCH] lib/oe/lsb: Add basic LSB functions

2012-07-28 Thread Jack Mitchell
On 28/07/2012 10:37, Martin Jansa wrote: On Sat, Jul 28, 2012 at 11:16:14AM +0200, Martin Jansa wrote: by installing lsb_release. Archlinux 64. Should it check to see if it installed first and error otherwise? It looks like it tries to do it here: +try: +output, err = bb.process.ru

Re: [OE-core] [PATCH] lib/oe/lsb: Add basic LSB functions

2012-07-28 Thread Martin Jansa
On Sat, Jul 28, 2012 at 11:16:14AM +0200, Martin Jansa wrote: > > by installing lsb_release. Archlinux 64. > > > > Should it check to see if it installed first and error otherwise? It > > looks like it tries to do it here: > > > > +try: > > +output, err = bb.process.run(['lsb_release

Re: [OE-core] [PATCH] lib/oe/lsb: Add basic LSB functions

2012-07-28 Thread Martin Jansa
On Sat, Jul 28, 2012 at 10:03:11AM +0100, Jack Mitchell wrote: > On 26/07/2012 14:05, Richard Purdie wrote: > > This code was written by Christopher Larson and > > allows generation of the LSB release data based upon the lsb_release > > command. It also includes a helper function to generate a str

Re: [OE-core] [PATCH] lib/oe/lsb: Add basic LSB functions

2012-07-28 Thread Jack Mitchell
On 26/07/2012 14:05, Richard Purdie wrote: This code was written by Christopher Larson 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. Signed-off-by: Richard Purdie ---

[OE-core] [PATCH] lib/oe/lsb: Add basic LSB functions

2012-07-26 Thread Richard Purdie
This code was written by Christopher Larson 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. Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oe/lsb.py b/meta/lib/oe