source: chapter11/theend.xml@ 784fdaed

11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 arm bdubbs/gcc13 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 784fdaed was 784fdaed, checked in by Pierre Labastie <pierre.labastie@…>, 3 years ago

Remove all versiond entities

  • Property mode set to 100644
File size: 2.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-finish-theend">
9 <?dbhtml filename="theend.html"?>
10
11 <title>The End</title>
12
13 <indexterm zone="ch-finish-theend">
14 <primary sortas="e-/etc/lfs-release">/etc/lfs-release</primary>
15 </indexterm>
16
17 <indexterm zone="ch-finish-theend">
18 <primary sortas="e-/etc/lsb-release">/etc/lsb-release</primary>
19 </indexterm>
20
21 <indexterm zone="ch-finish-theend">
22 <primary sortas="e-/etc/os-release">/etc/os-release</primary>
23 </indexterm>
24
25 <para>Well done! The new LFS system is installed! We wish you much
26 success with your shiny new custom-built Linux system.</para>
27
28 <para>It may be a good idea to create an
29 <filename>/etc/lfs-release</filename> file. By having this file, it is very
30 easy for you (and for us if you need to ask for help at some point) to find
31 out which LFS version is installed on the system. Create this file by
32 running:</para>
33
34<screen><userinput>echo &version; &gt; /etc/lfs-release</userinput></screen>
35
36 <para>Two files describing the installed system may be used by packages that
37 can be installed on the system later, either in binary form or by building
38 them.</para>
39
40 <para>The first one shows the status of your
41 new system with respect to the Linux Standards Base (LSB). To create
42 this file, run:</para>
43
44<screen><userinput>cat &gt; /etc/lsb-release &lt;&lt; "EOF"
45DISTRIB_ID="Linux From Scratch"
46DISTRIB_RELEASE="&version;"
47DISTRIB_CODENAME="&lt;your name here&gt;"
48DISTRIB_DESCRIPTION="Linux From Scratch"
49EOF</userinput></screen>
50
51 <para>The second one contains roughly the same information, and is used
52 by systemd and some graphical desktop environments. To create
53 this file, run:</para>
54
55<screen><userinput>cat &gt; /etc/os-release &lt;&lt; "EOF"
56NAME="Linux From Scratch"
57VERSION="&version;"
58ID=lfs
59PRETTY_NAME="Linux From Scratch &version;"
60VERSION_CODENAME="&lt;your name here&gt;"
61EOF</userinput></screen>
62
63 <para>Be sure to put some sort of customization for the fields
64 'DISTRIB_CODENAME' and 'VERSION_CODENAME' to make the system uniquely
65 yours.</para>
66
67</sect1>
Note: See TracBrowser for help on using the repository browser.