aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2013-03-04 22:35:12 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2013-03-04 22:35:12 +0000
commitd415c2b22f0d0e4f1dd0b76aae0f64cbd8d0f513 (patch)
treea6d56b9724da46990e8c465aa18b68b914d3e48c
parentaf1c0f03ead8dcce69cd57b416c20b3843bc21bd (diff)
Move to a more standardized OS release file.
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd/BOOK@10194 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter09/theend.xml23
1 files changed, 7 insertions, 16 deletions
diff --git a/chapter09/theend.xml b/chapter09/theend.xml
index ed6a7e59b..60ab1edff 100644
--- a/chapter09/theend.xml
+++ b/chapter09/theend.xml
@@ -11,31 +11,22 @@
<title>The End</title>
<indexterm zone="ch-finish-theend">
- <primary sortas="e-/etc/lfs-release">/etc/lfs-release</primary>
+ <primary sortas="e-/etc/os-release">/etc/os-release</primary>
</indexterm>
<para>Well done! The new LFS system is installed! We wish you much
success with your shiny new custom-built Linux system.</para>
- <para>It may be a good idea to create an <filename>/etc/lfs-release</filename>
+ <para>It is a good idea to create an <filename>/etc/os-release</filename>
file. By having this file, it is very easy for you (and for us if you need to
ask for help at some point) to find out which LFS version is installed on the
system. Create this file by running:</para>
-<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"
+<screen><userinput>cat &gt; /etc/os-release &lt;&lt; "EOF"
+NAME="Linux From Scratch"
+VERSION="&version;"
+ID=lfs
+PRETTY_NAME="Linux From Scratch &version;"
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>