1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
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="pre-standards">
|
---|
9 | <?dbhtml filename="standards.html"?>
|
---|
10 |
|
---|
11 | <title>LFS and Standards</title>
|
---|
12 |
|
---|
13 | <!--<sect2>
|
---|
14 | <title/> -->
|
---|
15 |
|
---|
16 | <para>The structure of LFS follows Linux standards as closely as
|
---|
17 | possible. The primary standards are:</para>
|
---|
18 |
|
---|
19 | <itemizedlist>
|
---|
20 | <listitem>
|
---|
21 | <para><ulink url="https://pubs.opengroup.org/onlinepubs/9699919799/">
|
---|
22 | POSIX.1-2008</ulink>.</para>
|
---|
23 | </listitem>
|
---|
24 | <listitem>
|
---|
25 | <para><ulink
|
---|
26 | url="https://refspecs.linuxfoundation.org/FHS_3.0/fhs/index.html">
|
---|
27 | Filesystem Hierarchy Standard (FHS) Version 3.0</ulink></para>
|
---|
28 |
|
---|
29 | </listitem>
|
---|
30 | <listitem>
|
---|
31 | <para><ulink url="https://refspecs.linuxfoundation.org/lsb.shtml">Linux
|
---|
32 | Standard Base (LSB) Version 5.0 (2015)</ulink></para>
|
---|
33 |
|
---|
34 | <para>The LSB has four separate specifications: Core, Desktop,
|
---|
35 | Runtime Languages, and Imaging. Some parts of Core and Desktop
|
---|
36 | specifications are architecture specific. There are also two trial
|
---|
37 | specifications: Gtk3 and Graphics. LFS attempts to conform to the LSB
|
---|
38 | specifications for the IA32 (32-bit x86) or AMD64 (x86_64)
|
---|
39 | architectures discussed in the previous section.</para>
|
---|
40 |
|
---|
41 | <note><para>Many people do not agree with these requirements.
|
---|
42 | The main purpose of the LSB is to ensure that proprietary software
|
---|
43 | can be installed and run on a compliant system.
|
---|
44 | Since LFS is source based, the user has complete control over what
|
---|
45 | packages are desired; you may choose not to install some packages that
|
---|
46 | are specified by the LSB.</para></note>
|
---|
47 |
|
---|
48 | </listitem>
|
---|
49 | </itemizedlist>
|
---|
50 |
|
---|
51 | <para>While it is possible to create a complete system that will pass the LSB
|
---|
52 | certification tests <quote>from scratch,</quote> this can't be done without many additional packages
|
---|
53 | that are beyond the scope of the LFS book. Installation instructions for these
|
---|
54 | additional packages can be found in BLFS. </para>
|
---|
55 |
|
---|
56 | <variablelist>
|
---|
57 | <bridgehead renderas="sect3">Packages supplied by LFS needed to
|
---|
58 | satisfy the LSB Requirements</bridgehead>
|
---|
59 | <?dbfo list-presentation="list"?>
|
---|
60 | <?dbhtml list-presentation="table"?>
|
---|
61 |
|
---|
62 | <varlistentry>
|
---|
63 | <term><emphasis>LSB Core:</emphasis></term>
|
---|
64 | <listitem>
|
---|
65 | <para>Bash, Bc, Binutils, Coreutils, Diffutils, File, Findutils, Gawk,
|
---|
66 | Grep, Gzip, M4, Man-DB, Ncurses, Procps, Psmisc, Sed,
|
---|
67 | Shadow, Tar, Util-linux, Zlib</para>
|
---|
68 | </listitem>
|
---|
69 | </varlistentry>
|
---|
70 |
|
---|
71 | <varlistentry>
|
---|
72 | <term><emphasis>LSB Desktop:</emphasis></term>
|
---|
73 | <listitem>
|
---|
74 | <para>None</para>
|
---|
75 | </listitem>
|
---|
76 | </varlistentry>
|
---|
77 |
|
---|
78 | <varlistentry>
|
---|
79 | <term><emphasis>LSB Runtime Languages:</emphasis></term>
|
---|
80 | <listitem>
|
---|
81 | <para>Perl, Python</para>
|
---|
82 | </listitem>
|
---|
83 | </varlistentry>
|
---|
84 |
|
---|
85 | <varlistentry>
|
---|
86 | <term><emphasis>LSB Imaging:</emphasis></term>
|
---|
87 | <listitem>
|
---|
88 | <para>None</para>
|
---|
89 | </listitem>
|
---|
90 | </varlistentry>
|
---|
91 |
|
---|
92 | <varlistentry>
|
---|
93 | <term><emphasis>LSB Gtk3 and LSB Graphics (Trial Use):</emphasis></term>
|
---|
94 | <listitem>
|
---|
95 | <para>None</para>
|
---|
96 | </listitem>
|
---|
97 | </varlistentry>
|
---|
98 |
|
---|
99 | </variablelist>
|
---|
100 |
|
---|
101 | <variablelist>
|
---|
102 | <bridgehead renderas="sect3">Packages supplied by BLFS needed to
|
---|
103 | satisfy the LSB Requirements</bridgehead>
|
---|
104 | <?dbfo list-presentation="list"?>
|
---|
105 | <?dbhtml list-presentation="table"?>
|
---|
106 |
|
---|
107 | <varlistentry>
|
---|
108 | <term><emphasis>LSB Core:</emphasis></term>
|
---|
109 | <listitem>
|
---|
110 | <para>At, Batch (a part of At), Cpio, Ed, Fcrontab, LSB-Tools, NSPR,
|
---|
111 | NSS, PAM, Pax, Sendmail (or Postfix or Exim), time
|
---|
112 | </para>
|
---|
113 | </listitem>
|
---|
114 | </varlistentry>
|
---|
115 |
|
---|
116 | <varlistentry>
|
---|
117 | <term><emphasis>LSB Desktop:</emphasis></term>
|
---|
118 | <listitem>
|
---|
119 | <para>Alsa, ATK, Cairo, Desktop-file-utils, Freetype, Fontconfig,
|
---|
120 | Gdk-pixbuf, Glib2, GTK+2, Icon-naming-utils, Libjpeg-turbo, Libpng, Libtiff,
|
---|
121 | Libxml2, MesaLib, Pango, Xdg-utils, Xorg</para>
|
---|
122 | </listitem>
|
---|
123 | </varlistentry>
|
---|
124 |
|
---|
125 | <varlistentry>
|
---|
126 | <term><emphasis>LSB Runtime Languages:</emphasis></term>
|
---|
127 | <listitem>
|
---|
128 | <para>Libxml2, Libxslt </para>
|
---|
129 | </listitem>
|
---|
130 | </varlistentry>
|
---|
131 |
|
---|
132 | <varlistentry>
|
---|
133 | <term><emphasis>LSB Imaging:</emphasis></term>
|
---|
134 | <listitem>
|
---|
135 | <para>CUPS, Cups-filters, Ghostscript, SANE</para>
|
---|
136 | </listitem>
|
---|
137 | </varlistentry>
|
---|
138 |
|
---|
139 | <varlistentry>
|
---|
140 | <term><emphasis>LSB Gtk3 and LSB Graphics (Trial Use):</emphasis></term>
|
---|
141 | <listitem>
|
---|
142 | <para>GTK+3</para>
|
---|
143 | </listitem>
|
---|
144 | </varlistentry>
|
---|
145 |
|
---|
146 | </variablelist>
|
---|
147 |
|
---|
148 | <variablelist>
|
---|
149 | <bridgehead renderas="sect3">Packages not supplied by LFS or BLFS
|
---|
150 | needed to satisfy the LSB Requirements</bridgehead>
|
---|
151 | <?dbfo list-presentation="list"?>
|
---|
152 | <?dbhtml list-presentation="table"?>
|
---|
153 |
|
---|
154 | <varlistentry>
|
---|
155 | <term><emphasis>LSB Core:</emphasis></term>
|
---|
156 | <listitem>
|
---|
157 | <para>None</para>
|
---|
158 | </listitem>
|
---|
159 | </varlistentry>
|
---|
160 |
|
---|
161 | <varlistentry>
|
---|
162 | <term><emphasis>LSB Desktop:</emphasis></term>
|
---|
163 | <listitem>
|
---|
164 | <para>Qt4 (but Qt5 is provided)</para>
|
---|
165 | </listitem>
|
---|
166 | </varlistentry>
|
---|
167 |
|
---|
168 | <varlistentry>
|
---|
169 | <term><emphasis>LSB Runtime Languages:</emphasis></term>
|
---|
170 | <listitem>
|
---|
171 | <para>None</para>
|
---|
172 | </listitem>
|
---|
173 | </varlistentry>
|
---|
174 |
|
---|
175 | <varlistentry>
|
---|
176 | <term><emphasis>LSB Imaging:</emphasis></term>
|
---|
177 | <listitem>
|
---|
178 | <para>None</para>
|
---|
179 | </listitem>
|
---|
180 | </varlistentry>
|
---|
181 |
|
---|
182 | <varlistentry>
|
---|
183 | <term><emphasis>LSB Gtk3 and LSB Graphics (Trial Use):</emphasis></term>
|
---|
184 | <listitem>
|
---|
185 | <para>None</para>
|
---|
186 | </listitem>
|
---|
187 | </varlistentry>
|
---|
188 |
|
---|
189 | </variablelist>
|
---|
190 |
|
---|
191 | </sect1>
|
---|
192 |
|
---|