aboutsummaryrefslogtreecommitdiffstats
path: root/chapter09
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2012-05-11 01:52:51 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2012-05-11 01:52:51 +0000
commit6e83fc16f3c5493fb2f0eebae2a31dff84c0be8c (patch)
treea9b34794721a3cfd4a19f00142ee448e16761213 /chapter09
parent478f29d3ca16da3eda983c108769e2c791aecb29 (diff)
Add /etc/lsb-release to Chapter 9
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9848 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter09')
-rw-r--r--chapter09/theend.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/chapter09/theend.xml b/chapter09/theend.xml
index 77a709d8a..230784c1a 100644
--- a/chapter09/theend.xml
+++ b/chapter09/theend.xml
@@ -24,4 +24,18 @@
<screen><userinput>echo &version; &gt; /etc/lfs-release</userinput></screen>
+ <para>It is also a good idea to create a file to show the status of your
+ new system with resopect to the Linux Standards Base (LSB). To create
+ this file, run:</para>
+
+<screen><userinput>cat &gt; /etc/lsb-release &lt;&lt; "EOF"
+DISTRIB_ID="Linux From Scratch"
+DISTRIB_RELEASE="&version;"
+DISTRIB_CODENAME="&lt;your name here&gt;"
+DISTRIB_DESCRIPTION="Linux From Scratch"
+EOF</userinput></screen>
+
+ <para>Be sure to put some sort of customization for the field
+ 'DISTRIB_CODENAME' to make the system uniquely yours.</para>
+
</sect1>