source: chapter09/theend.xml@ 8eb3fe4

multilib-10.1
Last change on this file since 8eb3fe4 was 8eb3fe4, checked in by Thomas Trepl <thomas@…>, 5 years ago

First apply of multilib-patch of April 1st, 2019

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11566 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 3.8 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" revision="systemd">
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 revision="systemd">Create an <filename>/etc/os-release</filename>
29 file required by systemd:</para>
30
31<screen arch="default" revision="systemd"><userinput>cat &gt; /etc/os-release &lt;&lt; "EOF"
32NAME="Linux From Scratch"
33VERSION="&versiond;"
34ID=lfs
35PRETTY_NAME="Linux From Scratch &versiond;"
36VERSION_CODENAME="&lt;your name here&gt;"
37EOF</userinput></screen>
38
39<screen arch="multilib" revision="systemd"><userinput>cat &gt; /etc/os-release &lt;&lt; "EOF"
40NAME="Linux From Scratch"
41VERSION="&versiond;"
42ID=lfs
43PRETTY_NAME="Linux From Scratch &versiond; Multlib"
44VERSION_CODENAME="&lt;your name here&gt;"
45EOF</userinput></screen>
46
47 <para revision="sysv">It may be a good idea to create an
48 <filename>/etc/lfs-release</filename> file. By having this file, it is very
49 easy for you (and for us if you need to ask for help at some point) to find
50 out which LFS version is installed on the system. Create this file by
51 running:</para>
52
53<screen arch="default" revision="sysv"><userinput>echo &version; &gt; /etc/lfs-release</userinput></screen>
54<screen arch="multilib" revision="sysv"><userinput>echo &version;-multilib &gt; /etc/lfs-release</userinput></screen>
55
56 <para revision="systemd">Creating the file
57 <filename>/etc/lfs-release</filename> is recommended for compatibility with
58 the non-systemd branch. By having this file, it is very easy for you (and for
59 us if you need to ask for help at some point) to find out which LFS version
60 is installed on the system. Create this file by running:</para>
61
62<screen revision="systemd"><userinput>echo &versiond; &gt; /etc/lfs-release</userinput></screen>
63
64 <para>It is also a good idea to create a file to show the status of your
65 new system with respect to the Linux Standards Base (LSB). To create
66 this file, run:</para>
67
68<screen arch="default" revision="sysv"><userinput>cat &gt; /etc/lsb-release &lt;&lt; "EOF"
69DISTRIB_ID="Linux From Scratch"
70DISTRIB_RELEASE="&version;"
71DISTRIB_CODENAME="&lt;your name here&gt;"
72DISTRIB_DESCRIPTION="Linux From Scratch"
73EOF</userinput></screen>
74
75<screen arch="default" revision="systemd"><userinput>cat &gt; /etc/lsb-release &lt;&lt; "EOF"
76DISTRIB_ID="Linux From Scratch"
77DISTRIB_RELEASE="&versiond;"
78DISTRIB_CODENAME="&lt;your name here&gt;"
79DISTRIB_DESCRIPTION="Linux From Scratch"
80EOF</userinput></screen>
81
82<screen arch="multilib" revision="sysv"><userinput>cat &gt; /etc/lsb-release &lt;&lt; "EOF"
83DISTRIB_ID="Linux From Scratch"
84DISTRIB_RELEASE="&version;-multilib"
85DISTRIB_CODENAME="&lt;your name here&gt;"
86DISTRIB_DESCRIPTION="Linux From Scratch"
87EOF</userinput></screen>
88
89<screen arch="multilib" revision="systemd"><userinput>cat &gt; /etc/lsb-release &lt;&lt; "EOF"
90DISTRIB_ID="Linux From Scratch"
91DISTRIB_RELEASE="&versiond;-multilib"
92DISTRIB_CODENAME="&lt;your name here&gt;"
93DISTRIB_DESCRIPTION="Linux From Scratch"
94EOF</userinput></screen>
95
96 <para>Be sure to put some sort of customization for the field
97 'DISTRIB_CODENAME' to make the system uniquely yours.</para>
98
99</sect1>
Note: See TracBrowser for help on using the repository browser.