mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-05 22:04:48 +00:00
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:
parent
478f29d3ca
commit
6e83fc16f3
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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}]" -->
|
||||
|
Loading…
Reference in New Issue
Block a user