Changeset d415c2b


Ignore:
Timestamp:
03/04/2013 10:35:12 PM (11 years ago)
Author:
Matthew Burgess <matthew@…>
Branches:
7.5-systemd, 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
Children:
2ebc0d9
Parents:
af1c0f0
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter09/theend.xml

    raf1c0f0 rd415c2b  
    1212
    1313  <indexterm zone="ch-finish-theend">
    14     <primary sortas="e-/etc/lfs-release">/etc/lfs-release</primary>
     14    <primary sortas="e-/etc/os-release">/etc/os-release</primary>
    1515  </indexterm>
    1616
     
    1818  success with your shiny new custom-built Linux system.</para>
    1919
    20   <para>It may be a good idea to create an <filename>/etc/lfs-release</filename>
     20  <para>It is a good idea to create an <filename>/etc/os-release</filename>
    2121  file. By having this file, it is very easy for you (and for us if you need to
    2222  ask for help at some point) to find out which LFS version is installed on the
    2323  system. Create this file by running:</para>
    2424
    25 <screen><userinput>echo &version; &gt; /etc/lfs-release</userinput></screen>
    26 
    27   <para>It is also a good idea to create a file to show the status of your
    28   new system with resopect to the Linux Standards Base (LSB).  To create
    29   this file, run:</para>
    30 
    31 <screen><userinput>cat &gt; /etc/lsb-release &lt;&lt; "EOF"
    32 DISTRIB_ID="Linux From Scratch"
    33 DISTRIB_RELEASE="&version;"
    34 DISTRIB_CODENAME="&lt;your name here&gt;"
    35 DISTRIB_DESCRIPTION="Linux From Scratch"
     25<screen><userinput>cat &gt; /etc/os-release &lt;&lt; "EOF"
     26NAME="Linux From Scratch"
     27VERSION="&version;"
     28ID=lfs
     29PRETTY_NAME="Linux From Scratch &version;"
    3630EOF</userinput></screen>
    3731
    38   <para>Be sure to put some sort of customization for the field
    39   'DISTRIB_CODENAME' to make the system uniquely yours.</para>
    40 
    4132</sect1>
Note: See TracChangeset for help on using the changeset viewer.