[Fai-commit] r4552 - in trunk: bin man

Achim Bohnet ach at mpe.mpg.de
Sun Sep 9 10:41:50 CEST 2007


On Thursday, 6. September 2007, Thomas Lange wrote:
> >>>>> On Thu, 06 Sep 2007 16:30:26 +0200, Henning Sprang <henning_sprang at gmx.de> said:
> 
>     > The nfsroot on etch is large anyway(last time I looked at it was over
>     > 500MB, right?!), additional 20MB(just a guess) are not really doing much
> No, it's only 330MB. I will not add another 20MB or so (IIRC more than
> 20MB) for a simple thing like echo "Ubuntu".

/etc/lsb-release is in base-files (at least since Dapper) and can be source'd.
I doubt that LSB requires system has python installed to determine the distro.
sh syntax is for sure no accident ;)

. /etc/lsb-release
case "$DISTRIB_ID" in
...

to detect what distro is used.
Achim
> 
> -- 
> regards Thomas
-- 
  To me vi is Zen.  To use vi is to practice zen. Every command is
  a koan. Profound to the user, unintelligible to the uninitiated.
  You discover truth everytime you use it.
                                      -- reddy at lion.austin.ibm.com


More information about the linux-fai-devel mailing list