diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2012-05-11 01:52:51 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2012-05-11 01:52:51 +0000 |
commit | 6e83fc16f3c5493fb2f0eebae2a31dff84c0be8c (patch) | |
tree | a9b34794721a3cfd4a19f00142ee448e16761213 | |
parent | 478f29d3ca16da3eda983c108769e2c791aecb29 (diff) |
Add /etc/lsb-release to Chapter 9
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9848 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r-- | chapter01/changelog.xml | 9 | ||||
-rw-r--r-- | chapter09/theend.xml | 14 | ||||
-rw-r--r-- | general.ent | 4 |
3 files changed, 25 insertions, 2 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index c4614fe96..b8cae5d77 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -37,6 +37,15 @@ --> <listitem> + <para>2012-05-10</para> + <itemizedlist> + <listitem> + <para>[bdubbs] - Add /etc/lsb-release file in Chapter 9.</para> + </listitem> + </itemizedlist> + </listitem> + + <listitem> <para>2012-05-09</para> <itemizedlist> <listitem> 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; > /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 > /etc/lsb-release << "EOF" +DISTRIB_ID="Linux From Scratch" +DISTRIB_RELEASE="&version;" +DISTRIB_CODENAME="<your name here>" +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> diff --git a/general.ent b/general.ent index 5bdd96b8a..4333f0cd0 100644 --- a/general.ent +++ b/general.ent @@ -1,5 +1,5 @@ -<!ENTITY version "SVN-20120509"> -<!ENTITY releasedate "May 09, 2012"> +<!ENTITY version "SVN-20120510"> +<!ENTITY releasedate "May 10, 2012"> <!ENTITY copyrightdate "1999-2012"><!-- jhalfs needs a literal dash, not – --> <!ENTITY milestone "7.2"> <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" --> |