Add /etc/lsb-release to Chapter 9

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9848 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Bruce Dubbs 2012-05-11 01:52:51 +00:00
parent 478f29d3ca
commit 6e83fc16f3
3 changed files with 25 additions and 2 deletions

View File

@ -36,6 +36,15 @@
</listitem>
-->
<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>

View File

@ -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>

View File

@ -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 &ndash; -->
<!ENTITY milestone "7.2">
<!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->