On 05/10/2012 12:46 AM, Bruce Dubbs wrote:
> Armin K. wrote:
>>>    Marking as fixed, but if someone wants to create a lsb_release script, we
>>>    can create a new ticket.
>
>> http://sourceforge.net/projects/lsb/
>
> Does it work in the LFS/BLFS environment.  I'm not asking if it just runs, but
> will it tell us the right info?
>
>     -- Bruce

It's universal. Arch Linux uses it, too.

$ lsb_release -a
LSB Version:    n/a
Distributor ID: Linux From Scratch
Description:    Linux From Scratch
Release:        7.0
Codename:       n/a

$ cat /etc/lsb-release
DISTRIB_ID="Linux From Scratch"
DISTRIB_RELEASE=7.0
DISTRIB_DESCRIPTION="Linux From Scratch"

I did not set any lsb version nor codename, but I believe those can be 
set in /etc/lsb-release too!
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to