Эх сурвалжийг харах

Add /etc/lsb-release to Chapter 9

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9848 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Bruce Dubbs 13 жил өмнө
parent
commit
6e83fc16f3

+ 9 - 0
chapter01/changelog.xml

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

+ 14 - 0
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>

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