mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-07-15 16:55:06 +01:00
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
This commit is contained in:
parent
af1c0f03ea
commit
d415c2b22f
@ -11,31 +11,22 @@
|
|||||||
<title>The End</title>
|
<title>The End</title>
|
||||||
|
|
||||||
<indexterm zone="ch-finish-theend">
|
<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>
|
</indexterm>
|
||||||
|
|
||||||
<para>Well done! The new LFS system is installed! We wish you much
|
<para>Well done! The new LFS system is installed! We wish you much
|
||||||
success with your shiny new custom-built Linux system.</para>
|
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
|
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
|
ask for help at some point) to find out which LFS version is installed on the
|
||||||
system. Create this file by running:</para>
|
system. Create this file by running:</para>
|
||||||
|
|
||||||
<screen><userinput>echo &version; > /etc/lfs-release</userinput></screen>
|
<screen><userinput>cat > /etc/os-release << "EOF"
|
||||||
|
NAME="Linux From Scratch"
|
||||||
<para>It is also a good idea to create a file to show the status of your
|
VERSION="&version;"
|
||||||
new system with resopect to the Linux Standards Base (LSB). To create
|
ID=lfs
|
||||||
this file, run:</para>
|
PRETTY_NAME="Linux From Scratch &version;"
|
||||||
|
|
||||||
<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>
|
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>
|
</sect1>
|
||||||
|
Loading…
Reference in New Issue
Block a user