Changeset d415c2b
- Timestamp:
- 03/04/2013 10:35:12 PM (11 years ago)
- Branches:
- 7.5-systemd, 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
- Children:
- 2ebc0d9
- Parents:
- af1c0f0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter09/theend.xml
raf1c0f0 rd415c2b 12 12 13 13 <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> 15 15 </indexterm> 16 16 … … 18 18 success with your shiny new custom-built Linux system.</para> 19 19 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> 21 21 file. By having this file, it is very easy for you (and for us if you need to 22 22 ask for help at some point) to find out which LFS version is installed on the 23 23 system. Create this file by running:</para> 24 24 25 <screen><userinput>echo &version; > /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 > /etc/lsb-release << "EOF" 32 DISTRIB_ID="Linux From Scratch" 33 DISTRIB_RELEASE="&version;" 34 DISTRIB_CODENAME="<your name here>" 35 DISTRIB_DESCRIPTION="Linux From Scratch" 25 <screen><userinput>cat > /etc/os-release << "EOF" 26 NAME="Linux From Scratch" 27 VERSION="&version;" 28 ID=lfs 29 PRETTY_NAME="Linux From Scratch &version;" 36 30 EOF</userinput></screen> 37 31 38 <para>Be sure to put some sort of customization for the field39 'DISTRIB_CODENAME' to make the system uniquely yours.</para>40 41 32 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.