Changes in / [e49e2ea:9e76c64]
- Files:
-
- 1 deleted
- 252 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
re49e2ea r9e76c64 1 #BASEDIR = ~/lfs-book 2 #SYSDDIR = ~/lfs-systemd 3 #DUMPDIR = ~/lfs-commands 1 # vim:ts=3 4 2 RENDERTMP = $(HOME)/tmp 5 3 CHUNK_QUIET = 1 … … 24 22 25 23 ifeq ($(REV), sysv) 26 BASEDIR ?= ~/lfs-book24 BASEDIR ?= $(HOME)/public_html/lfs-book 27 25 PDF_OUTPUT ?= LFS-BOOK.pdf 28 26 NOCHUNKS_OUTPUT ?= LFS-BOOK.html 29 DUMPDIR ?= ~/lfs-commands27 DUMPDIR ?= $(HOME)/lfs-commands 30 28 else 31 BASEDIR ?= ~/lfs-systemd29 BASEDIR ?= $(HOME)/public_html/lfs-systemd 32 30 PDF_OUTPUT ?= LFS-SYSD-BOOK.pdf 33 31 NOCHUNKS_OUTPUT ?= LFS-SYSD-BOOK.html 34 DUMPDIR ?= ~/lfs-sysd-commands32 DUMPDIR ?= $(HOME)/lfs-sysd-commands 35 33 endif 36 34 … … 47 45 $(Q)mkdir -p $(BASEDIR)/stylesheets 48 46 $(Q)cp stylesheets/lfs-xsl/*.css $(BASEDIR)/stylesheets 49 $(Q)sed -i 's|../stylesheet|stylesheet|' $(BASEDIR)/index.html 47 $(Q)sed -e 's|../stylesheet|stylesheet|' \ 48 -i $(BASEDIR)/index.html 50 49 51 50 $(Q)mkdir -p $(BASEDIR)/images … … 55 54 $(Q)for filename in `find $(BASEDIR) -name "*.html"`; do \ 56 55 tidy -config tidy.conf $$filename; \ 57 true; \58 56 /bin/bash obfuscate.sh $$filename; \ 59 sed -e "s@text/html@application/xhtml+xml@g" \ 60 -e "s/\xa9/\©/ " \ 57 sed -e "s|text/html|application/xhtml+xml|g" \ 61 58 -i $$filename; \ 62 done;59 done 63 60 64 61 $(Q)$(MAKE) --no-print-directory wget-list md5sums … … 99 96 stylesheets/lfs-nochunks.xsl \ 100 97 $(RENDERTMP)/lfs-html.xml 101 # $(RENDERTMP)/lfs-html2.xml102 98 103 99 @echo "Running Tidy..." 104 $(Q)tidy -config tidy.conf $(BASEDIR)/$(NOCHUNKS_OUTPUT) || t rue100 $(Q)tidy -config tidy.conf $(BASEDIR)/$(NOCHUNKS_OUTPUT) || test $$? -le 1 105 101 106 102 @echo "Running obfuscate.sh..." 107 $(Q)bash obfuscate.sh 108 $(Q)sed - i -e "s@text/html@application/xhtml+xml@g" $(BASEDIR)/$(NOCHUNKS_OUTPUT)109 $(Q)sed -i -e "s@../wget-list@wget-list@" $(BASEDIR)/$(NOCHUNKS_OUTPUT) 110 $(Q)sed -i -e "s@../md5sums@md5sums@" $(BASEDIR)/$(NOCHUNKS_OUTPUT) 111 $(Q)sed -i -e "s@\xa9@\©@"$(BASEDIR)/$(NOCHUNKS_OUTPUT)103 $(Q)bash obfuscate.sh $(BASEDIR)/$(NOCHUNKS_OUTPUT) 104 $(Q)sed -e "s|text/html|application/xhtml+xml|g" \ 105 -e "s|../wget-list|wget-list|" \ 106 -e "s|../md5sums|md5sums|" \ 107 -i $(BASEDIR)/$(NOCHUNKS_OUTPUT) 112 108 113 109 @echo "Output at $(BASEDIR)/$(NOCHUNKS_OUTPUT)" … … 128 124 $(Q)xsltproc --nonet \ 129 125 --xinclude \ 126 --stringparam profile.revision $(REV) \ 130 127 --output $(RENDERTMP)/lfs-html2.xml \ 131 --stringparam profile.revision $(REV) \132 128 stylesheets/lfs-xsl/profile.xsl \ 133 129 index.xml 134 130 135 131 @echo "Validating the book..." 136 $(Q)xmllint --nonet \137 -- noent\138 --postvalid \139 - o$(RENDERTMP)/lfs-full.xml \132 $(Q)xmllint --nonet \ 133 --encode UTF-8 \ 134 --postvalid \ 135 --output $(RENDERTMP)/lfs-full.xml \ 140 136 $(RENDERTMP)/lfs-html2.xml 141 137 … … 152 148 $(RENDERTMP)/lfs-full.xml 153 149 150 DOWNLOADS_DEP = chapter03/packages.xml chapter03/patches.xml \ 151 packages.ent patches.ent general.ent 152 154 153 wget-list: $(BASEDIR)/wget-list $(BASEDIR)/wget-list-$(REV) 155 $(BASEDIR)/wget-list: stylesheets/wget-list.xsl chapter03/chapter03.xml \ 156 packages.ent patches.ent general.ent 154 $(BASEDIR)/wget-list: stylesheets/wget-list.xsl $(DOWNLOADS_DEP) 157 155 @echo "Generating consolidated wget list at $(BASEDIR)/wget-list ..." 158 156 $(Q)mkdir -p $(BASEDIR) 159 $(Q)xsltproc --xinclude --nonet \ 157 $(Q)xsltproc --nonet \ 158 --xinclude \ 160 159 --output $(BASEDIR)/wget-list \ 161 160 stylesheets/wget-list.xsl \ 162 161 chapter03/chapter03.xml 163 162 164 $(BASEDIR)/wget-list-$(REV): stylesheets/wget-list.xsl \ 165 chapter03/chapter03.xml \ 166 packages.ent patches.ent general.ent 167 $(Q)xsltproc --nonet --xinclude \ 163 $(BASEDIR)/wget-list-$(REV): stylesheets/wget-list.xsl $(DOWNLOADS_DEP) 164 $(Q)xsltproc --nonet \ 165 --xinclude \ 168 166 --stringparam profile.revision $(REV) \ 169 167 --output $(RENDERTMP)/wget-list.xml \ 170 168 stylesheets/lfs-xsl/profile.xsl \ 171 169 chapter03/chapter03.xml 172 $(Q)xsltproc --xinclude --nonet \ 170 171 $(Q)xsltproc --nonet \ 173 172 --output $(BASEDIR)/wget-list-$(REV) \ 174 173 stylesheets/wget-list.xsl \ … … 176 175 177 176 md5sums: $(BASEDIR)/md5sums 178 $(BASEDIR)/md5sums: stylesheets/wget-list.xsl chapter03/chapter03.xml \ 179 packages.ent patches.ent 177 $(BASEDIR)/md5sums: stylesheets/wget-list.xsl $(DOWNLOADS_DEP) 180 178 @echo "Generating consolidated md5sum file at $(BASEDIR)/md5sums ..." 181 179 $(Q)mkdir -p $(BASEDIR) 182 180 183 $(Q)xsltproc --nonet --xinclude \ 181 $(Q)xsltproc --nonet \ 182 --xinclude \ 184 183 --stringparam profile.revision $(REV) \ 185 184 --output $(RENDERTMP)/md5sum.xml \ … … 187 186 chapter03/chapter03.xml 188 187 189 $(Q)xsltproc -- xinclude --nonet\188 $(Q)xsltproc --nonet \ 190 189 --output $(BASEDIR)/md5sums \ 191 190 stylesheets/md5sum.xsl \ -
appendices/acknowledgments.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
appendices/acronymlist.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
appendices/creat-comm.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
appendices/dependencies.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 7 7 <!ENTITY systemd-udev "<phrase revision='systemd'>Systemd</phrase> 8 8 <phrase revision='sysv'>Udev</phrase>"> 9 <!ENTITY bdb "<ulink url='https://www.oracle.com/database/technologies/related/berkeleydb.html'>Berkeley DB</ulink>"> 9 10 ]> 10 11 … … 30 31 the test suites. The fourth list of dependencies are packages that require 31 32 this package to be built and installed in its final location before they are 32 built and installed. In most cases, this is because these packages will hard 33 code paths to binaries within their scripts. If not built in a certain order, 34 this could result in paths of /tools/bin/[binary] being placed inside scripts 35 installed to the final system. This is obviously not desirable.</para> 33 built and installed.</para> 36 34 37 35 <para>The last list of dependencies are optional packages that are not … … 110 108 <segtitle>&before;</segtitle> 111 109 <seglistitem> 112 <seg>Acl and Libcap</seg>110 <seg>Acl, Libcap, and Patch</seg> 113 111 </seglistitem> 114 112 </segmentedlist> … … 1050 1048 <segtitle>&external;</segtitle> 1051 1049 <seglistitem> 1052 <seg> None</seg>1050 <seg><ulink url='&blfs-book;general/libxml2.html'>libxml2</ulink></seg> 1053 1051 </seglistitem> 1054 1052 </segmentedlist> … … 1242 1240 <segtitle>&before;</segtitle> 1243 1241 <seglistitem> 1244 <seg>Man-DB and Perl</seg>1242 <seg>Man-DB</seg> 1245 1243 </seglistitem> 1246 1244 </segmentedlist> … … 1487 1485 <seglistitem> 1488 1486 <seg> 1489 <ulink url="&blfs-book;server/db.html">Berkeley DB</ulink>,1487 &bdb;, 1490 1488 <ulink url="&blfs-book;postlfs/iptables.html">iptables</ulink>, 1491 1489 <ulink url="&github;/libbpf/libbpf">libbpf</ulink>, … … 2417 2415 <segtitle>&dependencies;</segtitle> 2418 2416 <seglistitem> 2419 <seg>Bash, Binutils, Coreutils, GCC, Glibc, Grep, Make, and Sed</seg> 2417 <seg>Attr, Bash, Binutils, Coreutils, GCC, Glibc, Grep, Make, and 2418 Sed</seg> 2420 2419 </seglistitem> 2421 2420 </segmentedlist> … … 2424 2423 <segtitle>&runtime;</segtitle> 2425 2424 <seglistitem> 2426 <seg> Glibc</seg>2425 <seg>Attr and Glibc</seg> 2427 2426 </seglistitem> 2428 2427 </segmentedlist> … … 2457 2456 <segtitle>&dependencies;</segtitle> 2458 2457 <seglistitem> 2459 <seg>Bash, Binutils, Coreutils, Gawk, GCC, GDBM, Glibc, Grep, Groff,2458 <seg>Bash, Binutils, Coreutils, Gawk, GCC, GDBM, Glibc, Grep, 2460 2459 Libxcrypt, Make, Sed, and Zlib</seg> 2461 2460 </seglistitem> … … 2487 2486 <seglistitem> 2488 2487 <seg> 2489 <ulink url="&blfs-book;server/db.html">Berkeley DB</ulink>2488 &bdb; 2490 2489 </seg> 2491 2490 </seglistitem> … … 2656 2655 <seglistitem> 2657 2656 <seg> 2658 <ulink url="&blfs-book;server/db.html">Berkeley DB</ulink>,2657 &bdb;, 2659 2658 <ulink url="&blfs-book;basicnet/libnsl.html">libnsl</ulink>, 2660 2659 <ulink url="&blfs-book;server/sqlite.html">SQLite</ulink>, and … … 2938 2937 <ulink url="&blfs-book;postlfs/p11-kit.html">p11-kit</ulink>, 2939 2938 <ulink url="&blfs-book;general/pcre2.html">PCRE2</ulink>, 2939 <ulink url="&pypi-home;pefile">pefile</ulink>, 2940 2940 <ulink url="&blfs-book;postlfs/polkit.html">Polkit</ulink>, 2941 2941 <ulink url='&pypi-home;/pyelftools'>pyelftools</ulink>, … … 3195 3195 <seglistitem> 3196 3196 <seg> 3197 <ulink url="&blfs-book;general/asciidoctor.html">Asciidoctor</ulink>, 3197 3198 <ulink 3198 3199 url="https://people.redhat.com/sgrubb/libcap-ng/">Libcap-NG</ulink>, … … 3203 3204 url="&blfs-book;postlfs/linux-pam.html">Linux-PAM</ulink>, 3204 3205 <ulink 3205 url="&blfs-book;postlfs/smartmontools.html">smartmontools</ulink>, and 3206 url="&blfs-book;postlfs/smartmontools.html">smartmontools</ulink>, 3207 <ulink url="https://po4a.org/index.php.en">po4a</ulink>, and 3206 3208 <ulink url="&blfs-book;general/slang.html">slang</ulink> 3207 3209 </seg> -
appendices/license.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
appendices/mit-lic.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
appendices/scripts.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
appendices/udev-rules.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter01/askforhelp.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter01/changelog.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 40 40 appropriate for the entry or if needed the entire day's listitem. 41 41 --> 42 43 <listitem> 44 <para>2024-02-02</para> 45 <itemizedlist> 46 <listitem> 47 <para>[xry111] - Update to tzdata-2024a. Fixes 48 <ulink url='&lfs-ticket-root;5428'>#5428</ulink>.</para> 49 </listitem> 50 <listitem> 51 <para>[xry111] - Update to glibc-2.39 (security fix). Fixes 52 <ulink url='&lfs-ticket-root;5426'>#5426</ulink>.</para> 53 </listitem> 54 <listitem> 55 <para>[xry111] - Update to linux-6.7.3. Fixes 56 <ulink url='&lfs-ticket-root;5427'>#5427</ulink>.</para> 57 </listitem> 58 </itemizedlist> 59 </listitem> 60 61 <listitem> 62 <para>2024-02-01</para> 63 <itemizedlist> 64 <listitem> 65 <para>[bdubbs] - Update to openssl-3.2.1 (security fix). Fixes 66 <ulink url='&lfs-ticket-root;5425'>#5425</ulink>.</para> 67 </listitem> 68 <listitem> 69 <para>[bdubbs] - Update to zlib-1.3.1. Fixes 70 <ulink url='&lfs-ticket-root;5419'>#5419</ulink>.</para> 71 </listitem> 72 <listitem> 73 <para>[bdubbs] - Update to xz-5.4.6. Fixes 74 <ulink url='&lfs-ticket-root;5423'>#5423</ulink>.</para> 75 </listitem> 76 <listitem> 77 <para>[bdubbs] - Update to linux-6.7.2. Fixes 78 <ulink url='&lfs-ticket-root;5422'>#5422</ulink>.</para> 79 </listitem> 80 <listitem> 81 <para>[bdubbs] - Update to iana-etc-20240125. Addresses 82 <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para> 83 </listitem> 84 <listitem> 85 <para>[bdubbs] - Update to binutils-2.42. Fixes 86 <ulink url='&lfs-ticket-root;5424'>#5424</ulink>.</para> 87 </listitem> 88 <listitem> 89 <para>[bdubbs] - Update to acl-2.3.2. Fixes 90 <ulink url='&lfs-ticket-root;5421'>#5421</ulink>.</para> 91 </listitem> 92 <listitem> 93 <para>[bdubbs] - Update upstream fixes for readline-8.2. Fixes 94 <ulink url='&lfs-ticket-root;5420'>#5420</ulink>.</para> 95 </listitem> 96 <listitem> 97 <para>[bdubbs] - Apply upstream fix for bash-5.2.21. Fixes 98 <ulink url='&lfs-ticket-root;5420'>#5420</ulink>.</para> 99 </listitem> 100 </itemizedlist> 101 </listitem> 102 103 <listitem> 104 <para>2024-01-21</para> 105 <itemizedlist> 106 <listitem> 107 <para>[xry111] - Apply upstream fix for pkgconf-2.1.0 regression. 108 Fixes <ulink url='&lfs-ticket-root;5414'>#5414</ulink>.</para> 109 </listitem> 110 <listitem> 111 <para>[xry111] - Update to jinja2-3.1.3 (security fix). Fixes 112 <ulink url='&lfs-ticket-root;5411'>#5411</ulink>.</para> 113 </listitem> 114 <listitem> 115 <para>[xry111] - Update to bc-6.7.5. Fixes 116 <ulink url='&lfs-ticket-root;5408'>#5408</ulink>.</para> 117 </listitem> 118 <listitem> 119 <para>[xry111] - Update to attr-2.5.2. Fixes 120 <ulink url='&lfs-ticket-root;5412'>#5412</ulink>.</para> 121 </listitem> 122 <listitem> 123 <para>[xry111] - Update to ncurses-6.4-20230520 (security fix). 124 Fixes <ulink url='&lfs-ticket-root;5416'>#5416</ulink>.</para> 125 </listitem> 126 <listitem> 127 <para>[xry111] - Update to markupsafe-2.1.4. Fixes 128 <ulink url='&lfs-ticket-root;5418'>#5418</ulink>.</para> 129 </listitem> 130 <listitem> 131 <para>[xry111] - Update to linux-6.7.1. Fixes 132 <ulink url='&lfs-ticket-root;5406'>#5406</ulink>.</para> 133 </listitem> 134 <listitem> 135 <para>[xry111] - Update to iproute2-6.7.0. Fixes 136 <ulink url='&lfs-ticket-root;5410'>#5410</ulink>.</para> 137 </listitem> 138 <listitem> 139 <para>[xry111] - Update to vim-9.1.0041. Addresses 140 <ulink url='&lfs-ticket-root;4500'>#4500</ulink>.</para> 141 </listitem> 142 <listitem> 143 <para>[xry111] - Update to iana-etc-20240117. Addresses 144 <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para> 145 </listitem> 146 <listitem> 147 <para>[xry111] - Update to shadow-4.14.3. Fixes 148 <ulink url='&lfs-ticket-root;5413'>#5413</ulink>.</para> 149 </listitem> 150 <listitem> 151 <para>[xry111] - Fix CVE-2024-0684 for coreutils-9.4. Fixes 152 <ulink url="&lfs-ticket-root;5417">#5417</ulink>.</para> 153 </listitem> 154 </itemizedlist> 155 </listitem> 156 157 <listitem> 158 <para>2024-01-18</para> 159 <itemizedlist> 160 <listitem> 161 <para>[xry111] - Edit a ncurses header to always use the 162 wide-character ABI compatible with libncursesw.so because we 163 are faking the 8-bit libncurses.so with it. Fixes 164 <ulink url="&lfs-ticket-root;5415">#5415</ulink>.</para> 165 </listitem> 166 </itemizedlist> 167 </listitem> 168 169 <listitem> 170 <para>2024-01-09</para> 171 <itemizedlist> 172 <listitem> 173 <para>[renodr] - Fix the definition of the C.UTF-8 locale. Fixes 174 <ulink url="&lfs-ticket-root;5409">#5409</ulink>.</para> 175 </listitem> 176 </itemizedlist> 177 </listitem> 178 179 <listitem> 180 <para>2023-12-31</para> 181 <itemizedlist> 182 <listitem> 183 <para>[xry111] - Add --enable-default-hash-style=gnu configuring 184 binutils. Fixes 185 <ulink url='&lfs-ticket-root;5401'>#5401</ulink>.</para> 186 </listitem> 187 <listitem> 188 <para>[xry111] - Fix CVE-2023-7008 for systemd-255. Fixes 189 <ulink url='&lfs-ticket-root;5405'>#5405</ulink>.</para> 190 </listitem> 191 <listitem> 192 <para>[xry111] - Update to iana-etc-20231205. Addresses 193 <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para> 194 </listitem> 195 <listitem> 196 <para>[xry111] - Update to tzdata-2023d. Fixes 197 <ulink url='&lfs-ticket-root;5399'>#5399</ulink>.</para> 198 </listitem> 199 <listitem> 200 <para>[xry111] - Update to linux-6.6.8. Fixes 201 <ulink url='&lfs-ticket-root;5397'>#5397</ulink>.</para> 202 </listitem> 203 <listitem> 204 <para>[xry111] - Update to meson-1.3.1. Fixes 205 <ulink url='&lfs-ticket-root;5402'>#5402</ulink>.</para> 206 </listitem> 207 <listitem> 208 <para>[xry111] - Update to grub-2.12. Fixes 209 <ulink url='&lfs-ticket-root;5396'>#5396</ulink>.</para> 210 </listitem> 211 <listitem> 212 <para>[xry111] - Update to inetutils-2.5. Fixes 213 <ulink url='&lfs-ticket-root;5404'>#5404</ulink>.</para> 214 </listitem> 215 <listitem> 216 <para>[xry111] - Update to setuptools-69.0.3. Fixes 217 <ulink url='&lfs-ticket-root;5400'>#5400</ulink>.</para> 218 </listitem> 219 <listitem> 220 <para>[xry111] - Update to xml-parser-2.47. Fixes 221 <ulink url='&lfs-ticket-root;5403'>#5403</ulink>.</para> 222 </listitem> 223 <listitem> 224 <para>[xry111] - Update to vim-9.0.2189. Addresses 225 <ulink url='&lfs-ticket-root;4500'>#4500</ulink>.</para> 226 </listitem> 227 <listitem> 228 <para>[xry111] - Update to autoconf-2.72. Fixes 229 <ulink url='&lfs-ticket-root;5398'>#5398</ulink>.</para> 230 </listitem> 231 </itemizedlist> 232 </listitem> 233 234 <listitem> 235 <para>2023-12-16</para> 236 <itemizedlist> 237 <listitem> 238 <para>[xry111] - Update to <phrase revision='sysv'>udev 239 from </phrase>systemd-255. Fixes 240 <ulink url='&lfs-ticket-root;5390'>#5390</ulink>.</para> 241 </listitem> 242 </itemizedlist> 243 </listitem> 244 245 <listitem> 246 <para>2023-12-14</para> 247 <itemizedlist> 248 <listitem> 249 <para>[bdubbs] - Update to util-linux v2.39.3. Fixes 250 <ulink url='&lfs-ticket-root;5388'>#5388</ulink>.</para> 251 </listitem> 252 <listitem> 253 <para>[bdubbs] - Update to python3-3.12.1. Fixes 254 <ulink url='&lfs-ticket-root;5392'>#5392</ulink>.</para> 255 </listitem> 256 <listitem> 257 <para>[bdubbs] - Update to linux-6.6.7. Fixes 258 <ulink url='&lfs-ticket-root;5387'>#5387</ulink>.</para> 259 </listitem> 260 <listitem> 261 <para>[bdubbs] - Update to kbd-2.6.4. Fixes 262 <ulink url='&lfs-ticket-root;5393'>#5393</ulink>.</para> 263 </listitem> 264 <listitem> 265 <para>[bdubbs] - Update to bc-6.7.4. Fixes 266 <ulink url='&lfs-ticket-root;5389'>#5389</ulink>.</para> 267 </listitem> 268 <listitem> 269 <para>[bdubbs] - Reformat util-linux configure parameters. Fixes 270 <ulink url='&lfs-ticket-root;5395'>#5395</ulink>.</para> 271 </listitem> 272 </itemizedlist> 273 </listitem> 274 275 <listitem> 276 <para>2023-12-04</para> 277 <itemizedlist> 278 <listitem> 279 <para>[thomas] - Modify commands for install Python docs to avoid 280 too restrictive permissions on the files and dirs.</para> 281 </listitem> 282 </itemizedlist> 283 </listitem> 284 285 <listitem revision='sysv'> 286 <para>2023-12-01</para> 287 <itemizedlist> 288 <listitem> 289 <para>[xry111] - Restore NIC naming based on physical system 290 characteristics. Fixes 291 <ulink url='&lfs-ticket-root;5386'>#5386</ulink>.</para> 292 </listitem> 293 </itemizedlist> 294 </listitem> 295 296 <listitem> 297 <para>2023-11-30</para> 298 <itemizedlist> 299 <listitem> 300 <para>[bdubbs] - Update to vim-9.0.2136. Addresses 301 <ulink url='&lfs-ticket-root;4500'>#4500</ulink>.</para> 302 </listitem> 303 <listitem> 304 <para>[bdubbs] - Update to iana-etc-20231117. Addresses 305 <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para> 306 </listitem> 307 <listitem> 308 <para>[bdubbs] - Update to bc-6.7.3. Fixes 309 <ulink url='&lfs-ticket-root;5385'>#5385</ulink>.</para> 310 </listitem> 311 <listitem> 312 <para>[bdubbs] - Update to wheel-0.42.0 (Python Module). Fixes 313 <ulink url='&lfs-ticket-root;5384'>#5384</ulink>.</para> 314 </listitem> 315 <listitem> 316 <para>[bdubbs] - Update to perl-5.38.2. Fixes 317 <ulink url='&lfs-ticket-root;5383'>#5383</ulink>.</para> 318 </listitem> 319 <listitem> 320 <para>[bdubbs] - Update to pkgconf-2.1.0. Fixes 321 <ulink url='&lfs-ticket-root;5382'>#5382</ulink>.</para> 322 </listitem> 323 <listitem> 324 <para>[bdubbs] - Update to readline patches 002 through 007. Fixes 325 <ulink url='&lfs-ticket-root;5381'>#5381</ulink>.</para> 326 </listitem> 327 <listitem> 328 <para>[bdubbs] - Update to openssl-3.2.0. Fixes 329 <ulink url='&lfs-ticket-root;5380'>#5380</ulink>.</para> 330 </listitem> 331 <listitem> 332 <para>[bdubbs] - Update to setuptools-69.0.2. Fixes 333 <ulink url='&lfs-ticket-root;5379'>#5379</ulink>.</para> 334 </listitem> 335 <listitem> 336 <para>[bdubbs] - Update to linux-6.6.3. Fixes 337 <ulink url='&lfs-ticket-root;5378'>#5378</ulink>.</para> 338 </listitem> 339 <listitem> 340 <para>[bdubbs] - Update to meson-1.3.0. Fixes 341 <ulink url='&lfs-ticket-root;5377'>#5377</ulink>.</para> 342 </listitem> 343 <listitem> 344 <para>[bdubbs] - Update to gettext-0.22.4. Fixes 345 <ulink url='&lfs-ticket-root;5376'>#5376</ulink>.</para> 346 </listitem> 347 </itemizedlist> 348 </listitem> 349 42 350 <listitem> 43 351 <para>2023-11-13</para> -
chapter01/chapter01.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter01/how.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter01/resources.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter01/whatsnew.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 3 3 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" … … 27 27 <para>None</para> 28 28 </listitem>--> 29 < !--<listitem>29 <listitem> 30 30 <para>Acl-&acl-version;</para> 31 </listitem> -->32 < !--<listitem>31 </listitem> 32 <listitem> 33 33 <para>Attr-&attr-version;</para> 34 </listitem> -->35 < !--<listitem>34 </listitem> 35 <listitem> 36 36 <para>Autoconf-&autoconf-version;</para> 37 </listitem> -->37 </listitem> 38 38 <!--<listitem> 39 39 <para>Automake-&automake-version;</para> … … 45 45 <para>Bc-&bc-version;</para> 46 46 </listitem> 47 < !--<listitem>47 <listitem> 48 48 <para>Binutils-&binutils-version;</para> 49 </listitem> -->49 </listitem> 50 50 <!--<listitem> 51 51 <para>Bison-&bison-version;</para> … … 102 102 <para>Gettext-&gettext-version;</para> 103 103 </listitem> 104 < !--<listitem>104 <listitem> 105 105 <para>Glibc-&glibc-version;</para> 106 </listitem> -->106 </listitem> 107 107 <!--<listitem> 108 108 <para>GMP-&gmp-version;</para> … … 117 117 <para>Groff-&groff-version;</para> 118 118 </listitem>--> 119 < !--<listitem>119 <listitem> 120 120 <para>GRUB-&grub-version;</para> 121 </listitem> -->121 </listitem> 122 122 <listitem> 123 123 <para>Gzip-&gzip-version;</para> … … 126 126 <para>Iana-Etc-&iana-etc-version;</para> 127 127 </listitem> 128 < !--<listitem>128 <listitem> 129 129 <para>Inetutils-&inetutils-version;</para> 130 </listitem> -->130 </listitem> 131 131 <!--<listitem> 132 132 <para>Intltool-&intltool-version;</para> … … 135 135 <para>IPRoute2-&iproute2-version;</para> 136 136 </listitem> 137 < !--<listitem revision="systemd">137 <listitem> 138 138 <para>Jinja2-&jinja2-version;</para> 139 </listitem> -->139 </listitem> 140 140 <listitem> 141 141 <para>Kbd-&kbd-version;</para> … … 154 154 </listitem>--> 155 155 <listitem> 156 <para>Libelf -&elfutils-version; (from elfutils)</para>156 <para>Libelf from Elfutils-&elfutils-version;</para> 157 157 </listitem> 158 158 <!--<listitem> … … 180 180 <para>Man-pages-&man-pages-version;</para> 181 181 </listitem>--> 182 < !--<listitem revision="systemd">182 <listitem> 183 183 <para>MarkupSafe-&markupsafe-version;</para> 184 </listitem> -->184 </listitem> 185 185 <listitem> 186 186 <para>Meson-&meson-version;</para> … … 192 192 <para>MPFR-&mpfr-version;</para> 193 193 </listitem> 194 < !--<listitem>194 <listitem> 195 195 <para>Ncurses-&ncurses-version;</para> 196 </listitem> -->196 </listitem> 197 197 <!--<listitem> 198 198 <para>Ninja-&ninja-version;</para> … … 205 205 </listitem>--> 206 206 <listitem> 207 <para>Perl-&perl-version;</para> 208 </listitem> 209 <listitem> 207 210 <para>Pkgconf-&pkgconf-version;</para> 208 211 </listitem> 209 <!--<listitem>210 <para>Perl-&perl-version;</para>211 </listitem>-->212 212 <listitem> 213 213 <para>Procps-ng-&procps-ng-version;</para> … … 249 249 <para>Texinfo-&texinfo-version;</para> 250 250 </listitem> 251 < !--<listitem>251 <listitem> 252 252 <para>Tzdata-&tzdata-version;</para> 253 </listitem> -->253 </listitem> 254 254 <!--<listitem revision="sysv"> 255 <para>Udev-&systemd-version; (from systemd)</para>255 <para>Udev from Systemd-&systemd-version;</para> 256 256 </listitem>--> 257 257 <listitem> … … 264 264 <para>Wheel-&wheel-version;</para> 265 265 </listitem> 266 < !--<listitem>266 <listitem> 267 267 <para>XML::Parser-&xml-parser-version;</para> 268 </listitem> -->268 </listitem> 269 269 <listitem> 270 270 <para>Xz-&xz-version;</para> … … 292 292 293 293 <listitem> 294 <para>&bash-upstream-fixes-patch;</para> 295 </listitem> 296 297 <listitem> 294 298 <para>setuptools-&setuptools-version;</para> 295 299 </listitem> 296 300 297 301 <listitem> 298 <para>&glibc-upstream-fixes-patch;</para> 302 <para>&pkgconf-upstream-fix-patch;</para> 303 </listitem> 304 305 <listitem> 306 <para>&readline-fixes-patch;</para> 299 307 </listitem> 300 308 … … 309 317 </listitem> 310 318 319 <listitem> 320 <para>grub-2.06-upstream_fixes-1.patch</para> 321 </listitem> 322 323 <listitem> 324 <para>readline-8.2-upstream_fix-1.patch</para> 325 </listitem> 326 311 327 </itemizedlist> 312 328 -
chapter02/aboutlfs.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter02/chapter02.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter02/creatingfilesystem.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter02/creatingpartition.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 41 41 disk drive. Create a Linux native partition and a 42 42 <systemitem class="filesystem">swap</systemitem> partition, if needed. Please 43 refer to <filename>cfdisk(8)</filename> or <filename>fdisk(8)</filename> if 43 refer to <ulink role='man' url='&man;cfdisk.8'>cfdisk(8)</ulink> or 44 <ulink role='man' url='&man;fdisk.8'>fdisk(8)</ulink> if 44 45 you do not yet know how to use the programs.</para> 45 46 -
chapter02/hostreqs.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 35 35 modern Linux distributions. Also note that many distributions will 36 36 place software headers into separate packages, often in the form of 37 <quote><package-name>-devel</quote> or 38 <quote><package-name>-dev</quote>. Be sure to install those if 39 your distribution provides them.</para> 37 <literal><replaceable><package-name></replaceable>-devel</literal> 38 or 39 <literal><replaceable><package-name></replaceable>-dev</literal>. 40 Be sure to install those if your distribution provides them.</para> 40 41 41 42 <para>Earlier versions of the listed software packages may work, but have -
chapter02/introduction.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter02/mounting.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 17 17 </para> 18 18 19 <para>Strictly speaking, one cannot "mount a partition".One mounts the <emphasis>file19 <para>Strictly speaking, one cannot <quote>mount a partition.</quote> One mounts the <emphasis>file 20 20 system</emphasis> embedded in that partition. But since a single partition can't contain 21 21 more than one file system, people often speak of the partition and the -
chapter02/stages.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 71 71 <para>A few operations, from 72 72 <quote>Preparing Virtual Kernel File Systems</quote> to 73 <quote>Setting up Environment </quote>,must be done.</para>73 <quote>Setting up Environment,</quote> must be done.</para> 74 74 </listitem> 75 75 -
chapter03/chapter03.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter03/introduction.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter03/packages.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter03/patches.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 28 28 --> 29 29 30 <!--<varlistentry>31 <term>Bash Upstream Fixes Patch - <token>&bash- fixes-patch-size;</token>:</term>30 <varlistentry> 31 <term>Bash Upstream Fixes Patch - <token>&bash-upstream-fixes-patch-size;</token>:</term> 32 32 <listitem> 33 <para>Download: <ulink url="&patches-root;&bash- fixes-patch;"/></para>34 <para>MD5 sum: <literal>&bash- fixes-patch-md5;</literal></para>33 <para>Download: <ulink url="&patches-root;&bash-upstream-fixes-patch;"/></para> 34 <para>MD5 sum: <literal>&bash-upstream-fixes-patch-md5;</literal></para> 35 35 </listitem> 36 36 </varlistentry> 37 --> 37 38 38 <!-- 39 39 <varlistentry> … … 77 77 </listitem> 78 78 </varlistentry> 79 --> 79 80 80 <varlistentry> 81 81 <term>Glibc Upstream Fixes Patch - <token>&glibc-upstream-fixes-patch-size;</token>:</term> … … 85 85 </listitem> 86 86 </varlistentry> 87 87 --> 88 88 <varlistentry> 89 89 <term>Glibc FHS Patch - <token>&glibc-fhs-patch-size;</token>:</term> … … 91 91 <para>Download: <ulink url="&patches-root;&glibc-fhs-patch;"/></para> 92 92 <para>MD5 sum: <literal>&glibc-fhs-patch-md5;</literal></para> 93 </listitem>94 </varlistentry>95 96 <varlistentry>97 <term>GRUB Upstream Fixes Patch - <token>&grub-upstream-fixes-patch-size;</token>:</term>98 <listitem>99 <para>Download: <ulink url="&patches-root;&grub-upstream-fixes-patch;"/></para>100 <para>MD5 sum: <literal>&grub-upstream-fixes-patch-md5;</literal></para>101 93 </listitem> 102 94 </varlistentry> … … 126 118 </varlistentry> 127 119 --> 128 <!-- 120 129 121 <varlistentry> 130 <term>P erl Upstream Fix Patch - <token>&perl-fix-patch-size;</token>:</term>122 <term>Pkgconf Upstream Fix Patch - <token>&pkgconf-upstream-fix-patch-size;</token>:</term> 131 123 <listitem> 132 <para>Download: <ulink url="&patches-root;&p erl-fix-patch;"/></para>133 <para>MD5 sum: <literal>&p erl-fix-patch-md5;</literal></para>124 <para>Download: <ulink url="&patches-root;&pkgconf-upstream-fix-patch;"/></para> 125 <para>MD5 sum: <literal>&pkgconf-upstream-fix-patch-md5;</literal></para> 134 126 </listitem> 135 127 </varlistentry> 136 -->137 128 138 129 <varlistentry> -
chapter04/aboutsbus.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter04/abouttestsuites.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter04/addinguser.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 97 97 <command>su</command> to start a login shell as opposed to a non-login shell. 98 98 The difference between these two types of shells is described in detail in 99 <filename>bash(1)</filename> and <command>info bash</command>.</para> 99 <ulink role='man' url='&man;bash.1'>bash(1)</ulink> and <command>info 100 bash</command>.</para> 100 101 101 102 </sect1> -
chapter04/chapter04.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter04/creatingminlayout.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter04/introduction.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter04/settingenviron.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 80 80 created files and directories are only writable by their owner, but are 81 81 readable and executable by anyone (assuming default modes are used by the 82 < function>open(2)</function> system call, new files will end up with permission83 mode 644 and directories with mode 755).</para>82 <ulink role='man' url='&man;open.2'>open(2)</ulink> system call, new files 83 will end up with permission mode 644 and directories with mode 755).</para> 84 84 </listitem> 85 85 </varlistentry> … … 228 228 <command>make</command> or set such an option in 229 229 <envar>MAKEFLAGS</envar>. Doing so will allow <command>make</command> 230 to spawn infinite build jobs and cause system stability issue.230 to spawn infinite build jobs and cause system stability problems. 231 231 </para> 232 232 </important> -
chapter05/binutils-pass1.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 76 76 --disable-nls \ 77 77 --enable-gprofng=no \ 78 --disable-werror</userinput></screen> 78 --disable-werror \ 79 --enable-default-hash-style=gnu</userinput></screen> 79 80 80 81 <variablelist> … … 133 134 </varlistentry> 134 135 136 <varlistentry> 137 <term><parameter>--enable-default-hash-style=gnu</parameter></term> 138 <listitem> 139 <para>By default, the linker would generate both the GNU-style 140 hash table and the classic ELF hash table for shared libraries and 141 dynamically linked executables. The hash tables are only intended 142 for a dynamic linker to perform symbol lookup. On LFS the dynamic 143 linker (provided by the Glibc package) will always use the 144 GNU-style hash table which is faster to query. So the classic 145 ELF hash table is completely useless. This makes the linker 146 only generate the GNU-style hash table by default, so we can avoid 147 wasting time to generate the classic ELF hash table when we build 148 the packages, or wasting disk space to store it.</para> 149 </listitem> 150 </varlistentry> 151 135 152 </variablelist> 136 153 -
chapter05/chapter05.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter05/gcc-pass1.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter05/glibc.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 62 62 The above command is correct. The <command>ln</command> command has 63 63 several syntactic versions, so be sure to check 64 <command>info coreutils ln</command> and <filename>ln(1)</filename> 65 before reporting what may appear to be an error. 64 <command>info coreutils ln</command> and <ulink role='man' 65 url='&man;ln.1'>ln(1)</ulink> before reporting what may appear to be 66 an error. 66 67 </para> 67 68 </note> … … 163 164 164 165 <note><para>There have been reports that this package may fail when 165 building as a "parallel make".If that occurs, rerun the make command166 with the "-j1"option.</para></note>166 building as a <quote>parallel make.</quote> If that occurs, rerun the make command 167 with the <option>-j1</option> option.</para></note> 167 168 168 169 <para>Compile the package:</para> -
chapter05/introduction.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter05/libstdc++.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter05/linux-headers.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter06/bash.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter06/binutils-pass2.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 73 73 --enable-gprofng=no \ 74 74 --disable-werror \ 75 --enable-64-bit-bfd</userinput></screen> 75 --enable-64-bit-bfd \ 76 --enable-default-hash-style=gnu</userinput></screen> 76 77 77 78 <variablelist> -
chapter06/chapter06.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter06/coreutils.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter06/diffutils.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter06/file.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 79 79 <screen><userinput remap="configure">./configure --prefix=/usr --host=$LFS_TGT --build=$(./config.guess)</userinput></screen> 80 80 81 <!-- devs: if using - -build here, the build system wants to compile82 the signature file with "file" on the build system, but stops if it is not83 the same version. One possibility would be to build "file" on the build84 system first, but it is simpler to have the system think it is not85 cross-compiling, and use the just built "file". -->86 81 <para>Compile the package:</para> 87 82 -
chapter06/findutils.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter06/gawk.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter06/gcc-pass2.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter06/grep.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter06/gzip.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter06/introduction.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter06/m4.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter06/make.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter06/ncurses.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 79 79 <term><parameter>--with-manpage-format=normal</parameter></term> 80 80 <listitem> 81 <para>This prevents Ncurses installing compressed manual81 <para>This prevents Ncurses from installing compressed manual 82 82 pages, which may happen if the host distribution itself 83 83 has compressed manual pages.</para> … … 95 95 <term><parameter>--without-normal</parameter></term> 96 96 <listitem> 97 <para>This prevents Ncurses building and installing static C97 <para>This prevents Ncurses from building and installing static C 98 98 libraries.</para> 99 99 </listitem> … … 103 103 <term><parameter>--without-debug</parameter></term> 104 104 <listitem> 105 <para>This prevents Ncurses building and installing debug105 <para>This prevents Ncurses from building and installing debug 106 106 libraries.</para> 107 107 </listitem> … … 157 157 158 158 <screen><userinput remap="install">make DESTDIR=$LFS TIC_PATH=$(pwd)/build/progs/tic install 159 echo "INPUT(-lncursesw)" > $LFS/usr/lib/libncurses.so</userinput></screen> 159 ln -sv libncursesw.so $LFS/usr/lib/libncurses.so 160 sed -e 's/^#if.*XOPEN.*$/#if 1/' \ 161 -i $LFS/usr/include/curses.h</userinput></screen> 160 162 <!-- 161 163 <para>Remove an unneeded static library not handled by … … 177 179 178 180 <varlistentry> 179 <term><command> echo "INPUT(-lncursesw)" >$LFS/usr/lib/libncurses.so</command></term>181 <term><command>ln -sv libncursesw.so $LFS/usr/lib/libncurses.so</command></term> 180 182 <listitem> 181 183 <para>The <filename>libncurses.so</filename> library is needed by 182 a few packages we will build soon. We create this small linker 183 script, as this is what is done in <xref 184 linkend="chapter-building-system"/>.</para> 184 a few packages we will build soon. We create this symlink to use 185 <filename>libncursesw.so</filename> as a replacement.</para> 186 </listitem> 187 </varlistentry> 188 189 <varlistentry> 190 <term><command>sed -e 's/^#if.*XOPEN.*$/#if 1/' ...</command></term> 191 <listitem> 192 <para>The header file <filename>curses.h</filename> contains 193 the definition of various Ncurses data structures. With different 194 preprocessor macro definitions two different sets of the data 195 structure definition may be used: the 8-bit definition is 196 compatible with <filename>libncurses.so</filename> and the 197 wide-character definition is compatible with 198 <filename>libncursesw.so</filename>. Since we are using 199 <filename>libncursesw.so</filename> as a replacement of 200 <filename>libncurses.so</filename>, edit the header file so it 201 will always use the wide-character data structure definition 202 compatible with <filename>libncursesw.so</filename>.</para> 185 203 </listitem> 186 204 </varlistentry> -
chapter06/patch.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter06/sed.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter06/tar.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter06/xz.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter07/bison.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter07/changingowner.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter07/chapter07.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter07/chroot.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter07/cleanup.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter07/createfiles.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter07/creatingdirs.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter07/gettext.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter07/introduction.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter07/kernfs.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 33 33 Mount the remaining virtual kernel file systems:</para> 34 34 35 <!-- Do not put any option after $LFS/${mountpoint} or jhalfs cannot 36 handle it! --> 37 35 38 <screen><userinput>mkdir -pv /dev/{pts,shm} 36 mount -vt devpts /dev/pts /dev/pts -o gid=5,mode=62039 mount -vt devpts devpts -o gid=5,mode=0620 /dev/pts 37 40 mount -vt proc proc /proc 38 41 mount -vt sysfs sysfs /sys -
chapter07/perl.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter07/python.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 45 45 46 46 <note> 47 <para>There are two package files whose name starts with 48 <quote>python</quote> . The one to extract from is47 <para>There are two package files whose name starts with the 48 <quote>python</quote> prefix. The one to extract from is 49 49 <filename>Python-&python-version;.tar.xz</filename> (notice the 50 50 uppercase first letter).</para> … … 84 84 <para> 85 85 Some Python 3 modules can't be built now because the dependencies 86 are not installed yet. The building system still attempts to build87 them however, so the compilation of some files will fail and the88 compiler message may seem to indicate <quote>fatal error</quote>.86 are not installed yet. For the <filename>ssl</filename> module, 87 a message <computeroutput>Python requires a OpenSSL 1.1.1 or 88 newer</computeroutput> is outputted. 89 89 The message should be ignored. Just make sure the toplevel 90 90 <command>make</command> command has not failed. The optional -
chapter07/texinfo.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter07/util-linux.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 52 52 <para>Prepare Util-linux for compilation:</para> 53 53 54 <screen><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \ 55 --libdir=/usr/lib \ 54 <screen><userinput remap="configure">./configure --libdir=/usr/lib \ 56 55 --runstatedir=/run \ 57 --docdir=/usr/share/doc/util-linux-&util-linux-version; \58 56 --disable-chfn-chsh \ 59 57 --disable-login \ … … 64 62 --disable-pylibmount \ 65 63 --disable-static \ 66 --without-python</userinput></screen> 64 --without-python \ 65 ADJTIME_PATH=/var/lib/hwclock/adjtime \ 66 --docdir=/usr/share/doc/util-linux-&util-linux-version;</userinput></screen> 67 67 68 68 <variablelist> -
chapter08/aboutdebug.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/acl.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/attr.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/autoconf.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 42 42 <title>Installation of Autoconf</title> 43 43 44 <para>First, fix several problems with the tests caused by bash-5.2 and later:</para>45 46 <screen><userinput remap="pre">sed -e 's/SECONDS|/&SHLVL|/' \47 -e '/BASH_ARGV=/a\ /^SHLVL=/ d' \48 -i.orig tests/local.at</userinput></screen>49 50 44 <para>Prepare Autoconf for compilation:</para> 51 45 … … 62 56 --> 63 57 <screen><userinput remap="test">make check</userinput></screen> 64 <!--65 <para>This takes a long time, about &autoconf-fin-sbu-tests; SBUs. In addition,66 several tests are skipped that use Automake. For full test coverage,67 Autoconf can be re-tested after Automake has been installed. In addition,68 two tests fail due to changes in libtool-2.4.3 and later.</para>69 -->70 <note><para>The test time for autoconf can be reduced significantly on a71 system with multiple cores. To do this, append72 <command>TESTSUITEFLAGS=-j<N></command> to the line above. For73 instance, using -j4 can reduce the test time by over 6074 percent.</para></note>75 58 76 59 <para>Install the package:</para> -
chapter08/automake.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/bash.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 41 41 <title>Installation of Bash</title> 42 42 43 <para>First, fix some issues identified upstream:</para> 44 45 <screen><userinput remap="pre">patch -Np1 -i ../&bash-upstream-fixes-patch;</userinput></screen> 46 43 47 <para>Prepare Bash for compilation:</para> 44 48 … … 72 76 <para>To prepare the tests, ensure that the <systemitem class="username">tester</systemitem> user can write to the sources tree:</para> 73 77 74 <screen><userinput remap="test">chown -R vtester .</userinput></screen>78 <screen><userinput remap="test">chown -R tester .</userinput></screen> 75 79 76 80 <para>The test suite of this package is designed to be run as a non-&root; … … 80 84 class="username">tester</systemitem> user:</para> 81 85 82 <screen><userinput remap="test">su -s /usr/bin/expect tester << EOF86 <screen><userinput remap="test">su -s /usr/bin/expect tester << "EOF" 83 87 set timeout -1 84 88 spawn make tests -
chapter08/bc.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/binutils.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 58 58 --disable-werror \ 59 59 --enable-64-bit-bfd \ 60 --with-system-zlib</userinput></screen> 60 --with-system-zlib \ 61 --enable-default-hash-style=gnu</userinput></screen> 62 61 63 <variablelist> 62 <title>The meaning of the configure parameters:</title>64 <title>The meaning of the new configure parameters:</title> 63 65 64 66 <varlistentry> … … 82 84 <listitem> 83 85 <para>Enables plugin support for the linker.</para> 84 </listitem>85 </varlistentry>86 87 <varlistentry>88 <term><parameter>--enable-64-bit-bfd</parameter></term>89 <listitem>90 <para>Enables 64-bit support (on hosts with narrower word sizes).91 May not be needed on 64-bit systems, but does no harm.</para>92 86 </listitem> 93 87 </varlistentry> … … 146 140 <option>--enable-default-ssp</option> options are passed to GCC.</para> 147 141 148 <para>Three tests in the gprofng suite are also known to fail.</para>142 <!-- <para>Three tests in the gprofng suite are also known to fail.</para>--> 149 143 150 144 <para>Install the package:</para> -
chapter08/bison.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/bzip2.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/chapter08.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/check.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/cleanup.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/coreutils.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 54 54 </note> 55 55 56 <!-- https:// bugs.gnu.org/62403-->57 <!-- 58 <para>Fix a bug in checksum utilities causing failed checks not59 reported correctly:</para> 60 61 <screen><userinput remap="pre">sed '/if ( ! match/s/ed_checksums//' -i src/digest.c</userinput></screen>62 --> 56 <!-- https://seclists.org/oss-sec/2024/q1/30 --> 57 <para>Fix a security vulnerability in the <command>split</command> 58 utility:</para> 59 60 <screen><userinput remap="pre">sed -e '/n_out += n_hold/,+4 s|.*bufsize.*|//&|' \ 61 -i src/split.c</userinput></screen> 62 63 63 <para>Now prepare Coreutils for compilation:</para> 64 64 … … 127 127 compile and run the tests:</para> 128 128 129 <screen><userinput remap="test">chown -R vtester . </userinput></screen>129 <screen><userinput remap="test">chown -R tester . </userinput></screen> 130 130 131 131 <para>Now run the tests:</para> … … 1267 1267 <term><command>yes</command></term> 1268 1268 <listitem> 1269 <para>Repeatedly outputs < quote>y</quote>, or a given string, until1270 killed</para>1269 <para>Repeatedly outputs <literal>y</literal> or a given string, 1270 until killed</para> 1271 1271 <indexterm zone="ch-system-coreutils yes"> 1272 1272 <primary sortas="b-yes">yes</primary> -
chapter08/dbus.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 57 57 --disable-doxygen-docs \ 58 58 --disable-xml-docs \ 59 --docdir=/usr/share/doc/dbus-&dbus-version; 59 --docdir=/usr/share/doc/dbus-&dbus-version; \ 60 60 --with-system-socket=/run/dbus/system_bus_socket</userinput></screen> 61 61 -
chapter08/dejagnu.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 55 55 makeinfo --plaintext -o doc/dejagnu.txt ../doc/dejagnu.texi</userinput></screen> 56 56 57 <para>Build and install the package:</para> 57 <para>To test the results, issue:</para> 58 59 <screen><userinput remap="test">make check</userinput></screen> 60 61 <para>Install the package:</para> 58 62 59 63 <screen><userinput remap="install">make install 60 64 install -v -dm755 /usr/share/doc/dejagnu-&dejagnu-version; 61 65 install -v -m644 doc/dejagnu.{html,txt} /usr/share/doc/dejagnu-&dejagnu-version;</userinput></screen> 62 63 <para>To test the results, issue:</para>64 65 <screen><userinput remap="test">make check</userinput></screen>66 66 67 67 </sect2> -
chapter08/diffutils.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/e2fsprogs.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 160 160 161 161 <para> 162 Read the man page <filename>mke2fs.conf(5)</filename> for details. 162 Read the man page <ulink role='man' 163 url='&man;mke2fs.conf.5'>mke2fs.conf(5)</ulink> for details. 163 164 </para> 164 165 </sect2> -
chapter08/expat.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/expect.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 49 49 <title>Installation of Expect</title> 50 50 51 <para>Expect needs PTYs to work. Verify that the PTYs are working 52 properly inside the chroot environment by performing a simple 53 test:</para> 54 55 <screen><userinput remap="test">python3 -c 'from pty import spawn; spawn(["echo", "ok"])'</userinput></screen> 56 57 <para>This command should output <computeroutput>ok</computeroutput>. 58 If, instead, the output includes <computeroutput>OSError: out of pty 59 devices</computeroutput>, then the environment is not set up for proper 60 PTY operation. You need to exit from the chroot environment, read 61 <xref linkend='ch-tools-kernfs'/> again, and ensure the 62 <systemitem class="filesystem">devpts</systemitem> file system (and 63 other virtual kernel file systems) mounted correctly. Then reenter 64 the chroot environment following <xref linkend='ch-tools-chroot'/>. 65 This issue needs to be resolved before continuing, or the test suites 66 requring Expect (for example the test suites of Bash, Binutils, GCC, 67 GDBM, and of course Expect itself) will fail catastrophically, and other 68 subtle breakages may also happen.</para> 69 51 70 <para>Prepare Expect for compilation:</para> 52 71 … … 83 102 <screen><userinput remap="make">make</userinput></screen> 84 103 85 <important>86 <para>The test suite for Expect is considered critical.87 Do not skip it under any circumstances.</para>88 </important>89 90 104 <para>To test the results, issue:</para> 91 105 92 106 <screen><userinput remap="test">make test</userinput></screen> 93 94 <para>If any test fails with the message95 <quote><computeroutput>The system has no more ptys. Ask your system96 administrator to create more</computeroutput></quote>, it indicates97 you've not mounted the98 <systemitem class="filesystem">devpts</systemitem> file system99 correctly. You need to read100 <xref linkend='ch-tools-kernfs'/> again and ensure the101 <systemitem class="filesystem">devpts</systemitem> file system (and102 other virtual kernel file systems) mounted correctly.103 This issue needs to be resolved before continuing.</para>104 107 105 108 <para>Install the package:</para> -
chapter08/file.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/findutils.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 83 83 <para>To test the results, issue:</para> 84 84 85 <screen><userinput remap="test">chown -R vtester .85 <screen><userinput remap="test">chown -R tester . 86 86 su tester -c "PATH=$PATH make check"</userinput></screen> 87 87 -
chapter08/flex.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/flit-core.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/gawk.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 55 55 <para>To test the results, issue:</para> 56 56 57 <screen><userinput remap="test">chown -R vtester .57 <screen><userinput remap="test">chown -R tester . 58 58 su tester -c "PATH=$PATH make check"</userinput></screen> 59 59 -
chapter08/gcc.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 158 158 <para>Test the results as a non-privileged user, but do not stop at errors:</para> 159 159 160 <screen><userinput remap="test">chown -R vtester .160 <screen><userinput remap="test">chown -R tester . 161 161 su tester -c "PATH=$PATH make -k check"</userinput></screen> 162 162 … … 534 534 <term><filename class="libraryfile">libcc1</filename></term> 535 535 <listitem> 536 <para> The C preprocessing library</para>536 <para>A library that allows GDB to make use of GCC</para> 537 537 <indexterm zone="ch-system-gcc libcc1"> 538 538 <primary sortas="b-libcc1">libcc1</primary> -
chapter08/gdbm.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/gettext.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/glibc.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 50 50 51 51 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen> 52 52 <!-- 53 53 <para>Now fix two security vulnerabilities and a regression causing the 54 54 posix_memalign() function very slow in some conditions:</para> 55 55 56 56 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-upstream-fixes-patch;</userinput></screen> 57 57 --> 58 58 <para>The Glibc documentation recommends building Glibc 59 59 in a dedicated build directory:</para> … … 74 74 --enable-kernel=&linux-major-version;.&linux-minor-version; \ 75 75 --enable-stack-protector=strong \ 76 --with-headers=/usr/include \77 76 --disable-nscd \ 78 77 libc_cv_slibdir=/usr/lib</userinput></screen> … … 105 104 <para>This option increases system security by adding 106 105 extra code to check for buffer overflows, such as stack 107 smashing attacks.</para> 108 </listitem> 109 </varlistentry> 110 <!-- do we need this one? --> 111 <varlistentry> 112 <term><parameter>--with-headers=/usr/include</parameter></term> 113 <listitem> 114 <para>This option tells the build system where to find the 115 kernel API headers.</para> 106 smashing attacks. Note that Glibc always explicitly overrides 107 the default of GCC, so this option is still needed even though 108 we've already specified <option>--enable-default-ssp</option> for 109 GCC.</para> 116 110 </listitem> 117 111 </varlistentry> … … 208 202 209 203 <screen><userinput remap="install">sed '/test-installation/s@$(PERL)@echo not running@' -i ../Makefile</userinput></screen> 204 205 <important> 206 <para> 207 If upgrading Glibc to a new minor version (for example, from 208 Glibc-2.36 to Glibc-&glibc-version;) on a running LFS system, you 209 need to take some extra precautions to avoid breaking the system: 210 </para> 211 212 <itemizedlist> 213 <listitem> 214 <!-- There are two reasons we don't support this: 215 1. Upgrading on a system with separate /lib and /usr/lib is 216 tricky. 217 2. With Glibc prior to 2.34 libc.so.6 etc. are symlinks to 218 libc-2.33.so etc., again causing the upgradation tricky. 219 The Glibc NEWS file explicit states they no longer use 220 symlinks for the ABI names to avoid upgradation 221 issues. --> 222 <para> 223 Upgrading Glibc on a LFS system prior to 11.0 (exclusive) is 224 not supported. Rebuild LFS if you are running such an old LFS 225 system but you need a newer Glibc. 226 </para> 227 </listitem> 228 229 <!-- https://sourceware.org/pipermail/libc-alpha/2024-January/154095.html --> 230 <listitem> 231 <para> 232 If upgrading on a LFS system prior to 12.0 (exclusive), install 233 <application>Libxcrypt</application> following 234 <xref role='.' linkend='ch-system-libxcrypt'/> In addition to 235 a normal <application>Libxcrypt</application> installation, 236 <emphasis role='bold'>you MUST follow the note in Libxcrypt 237 section to install 238 <filename class='libraryfile'>libcrypt.so.1*</filename> 239 (overwritting 240 <filename class='libraryfile'>libcrypt.so.1</filename> from the 241 prior Glibc installation)</emphasis>. 242 </para> 243 </listitem> 244 245 <!-- Otherwise on lfs-systemd nscd will fail to start on boot, 246 and on both lfs-sysv and lfs-systemd useradd etc. will try 247 to start nscd, then nscd will fail to start as well and 248 produce some spurious error message. --> 249 <listitem> 250 <para> 251 If upgrading on a LFS system prior to 12.1 (exclusive), 252 remove the <command>nscd</command> program: 253 </para> 254 255 <screen role='nodump'><userinput>rm -f /usr/sbin/nscd</userinput></screen> 256 257 <para> 258 If this system (prior to LFS 12.1, exclusive) is based on 259 Systemd, it's also needed to disable and stop the 260 <command>nscd</command> service now: 261 </para> 262 263 <screen revision='systemd' role='nodump'><userinput>systemctl disable --now nscd</userinput></screen> 264 </listitem> 265 266 <listitem> 267 <para> 268 Upgrade the kernel and reboot if it's older than &min-kernel; 269 (check the current version with <command>uname -r</command>) 270 or if you want to upgrade it anyway, following 271 <xref linkend='ch-bootable-kernel' role='.'/> 272 </para> 273 </listitem> 274 275 <listitem> 276 <para> 277 Upgrade the kernel API headers if it's older than &min-kernel; 278 (check the current version with 279 <command>cat /usr/include/linux/version.h</command>) 280 or if you want to upgrade it anyway, following 281 <xref linkend='ch-tools-linux-headers'/> (but removing 282 <envar>$LFS</envar> from the <command>cp</command> command). 283 </para> 284 </listitem> 285 286 <!-- This is to ensure we don't start a process at the time point 287 where some Glibc shared libraries are updated but the others 288 are not. Such mismatches can cause programs crash on startup, 289 esp. a mismatch between ld-linux-x86-64.so.2 and 290 libc.so.6. Note that a crash in the installation process 291 will leave the system in a state with the mismatch forever, 292 unrecoverable without the help of another distro. --> 293 <listitem> 294 <para> 295 Perform a <envar>DESTDIR</envar> installation and upgrade 296 the Glibc shared libraries on the system using one single 297 <command>install</command> command: 298 </para> 299 300 <screen role='nodump'><userinput>make DESTDIR=$PWD/dest install 301 install -vm755 dest/usr/lib/*.so.* /usr/lib</userinput></screen> 302 </listitem> 303 </itemizedlist> 304 305 <para> 306 It's imperative to strictly follow these steps above unless you 307 completely understand what you are doing. 308 <emphasis role='bold'>Any unexpected deviation may render the 309 system completely unusable. YOU ARE WARNED.</emphasis> 310 </para> 311 312 <para> 313 Then continue to run the <command>make install</command> command, 314 the <command>sed</command> command against 315 <filename>/usr/bin/ldd</filename>, and the commands to install 316 the locales. Once they are finished, reboot the system 317 immediately. 318 </para> 319 </important> 210 320 211 321 <para>Install the package:</para> … … 247 357 248 358 <screen role="nodump"><userinput remap="locale-test">mkdir -pv /usr/lib/locale 249 localedef -i POSIX -f UTF-8 C.UTF-8 2> /dev/null || true359 localedef -i C -f UTF-8 C.UTF-8 250 360 localedef -i cs_CZ -f UTF-8 cs_CZ.UTF-8 251 361 localedef -i de_DE -f ISO-8859-1 de_DE … … 299 409 needed for some tests later in this chapter:</para> 300 410 301 <screen role="nodump"><userinput remap="locale-full">localedef -i POSIX -f UTF-8 C.UTF-8 2> /dev/null || true411 <screen role="nodump"><userinput remap="locale-full">localedef -i C -f UTF-8 C.UTF-8 302 412 localedef -i ja_JP -f SHIFT_JIS ja_JP.SJIS 2> /dev/null || true</userinput></screen> 303 413 -
chapter08/gmp.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 59 59 60 60 <!-- To editors: the configure script says "the none host is obsolete, 61 use - -disable-assembly ",but don't believe it: with the latter61 use - -disable-assembly," but don't believe it: with the latter 62 62 CFLAGS is still automatically set to -march=something. --> 63 63 </note> … … 107 107 it is built. Occasionally, the code that detects the processor misidentifies 108 108 the system capabilities and there will be errors in the tests or other 109 applications using the gmp libraries with the message "Illegal 110 instruction". In this case, gmp should be reconfigured with the option 109 applications using the gmp libraries with the message 110 <computeroutput>Illegal instruction</computeroutput>. 111 In this case, gmp should be reconfigured with the option 111 112 <option>--host=none-linux-gnu</option> and rebuilt.</para></caution> 112 113 -
chapter08/gperf.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/grep.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/groff.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/grub.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 63 63 64 64 <para> 65 Fix an issue causing <command>grub-install</command> to fail when the 66 <filename class='directory'>/boot</filename> partition (or the root 67 partition if <filename class='directory'>/boot</filename> is not a 68 separate partition) is created by e2fsprogs-1.47.0 or later: 65 Add a file missing from the release tarball: 69 66 </para> 70 67 71 <screen><userinput remap='pre'> patch -Np1 -i ../grub-&grub-version;-upstream_fixes-1.patch</userinput></screen>68 <screen><userinput remap='pre'>echo <literal>depends bli part_gpt</literal> > grub-core/extra_deps.lst</userinput></screen> 72 69 73 70 <para>Prepare GRUB for compilation:</para> -
chapter08/gzip.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/iana-etc.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/inetutils.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/intltool.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/introduction.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/iproute2.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 46 46 LFS. However, a directory and a man page for <command>arpd</command> will still 47 47 be installed. Prevent this by running the commands shown below. 48 (If the <command>arpd</command> program is needed,49 instructions for compiling Berkeley DB can be found in the BLFS book at50 <ulink url="&blfs-book;server/db.html"/>.)51 48 </para> 52 49 -
chapter08/jinja2.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/kbd.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/kmod.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/less.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/libcap.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/libelf.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/libffi.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/libpipeline.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/libtool.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 55 55 <screen><userinput remap="test">make -k check</userinput></screen> 56 56 57 <note><para>The test time for Libtool can be reduced significantly on a58 system with multiple cores. To do this, append59 <command>TESTSUITEFLAGS=-j<N></command> to the line above. For60 instance, using -j4 can reduce the test time by over 6061 percent.</para></note>62 63 57 <para>Five tests are known to fail in the LFS build environment due 64 58 to a circular dependency, but these tests pass if rechecked after 65 automake has been installed. Additionally, with grep-3.8, two tests will 66 trigger a warning for non-POSIX regular expressions and fail.</para> 59 automake has been installed. Additionally, with grep-3.8 or newer, 60 two tests will trigger a warning for non-POSIX regular expressions and 61 fail.</para> 67 62 68 63 <para>Install the package:</para> -
chapter08/libxcrypt.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/m4.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/make.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 54 54 <para>To test the results, issue:</para> 55 55 56 <screen><userinput remap="test">chown -R vtester .56 <screen><userinput remap="test">chown -R tester . 57 57 su tester -c "PATH=$PATH make check"</userinput></screen> 58 58 -
chapter08/man-db.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/man-pages.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/markupsafe.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/meson.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/mpc.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/mpfr.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/ncurses.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 100 100 <listitem> 101 101 <para>This switch causes wide-character libraries (e.g., <filename 102 class="libraryfile">libncursesw.so.&ncurses- version;</filename>)102 class="libraryfile">libncursesw.so.&ncurses-release;</filename>) 103 103 to be built instead of normal ones (e.g., <filename 104 class="libraryfile">libncurses.so.&ncurses- version;</filename>).104 class="libraryfile">libncurses.so.&ncurses-release;</filename>). 105 105 These wide-character libraries are usable in both multibyte and 106 106 traditional 8-bit locales, while normal libraries work properly … … 128 128 129 129 <para>The installation of this package will overwrite 130 <filename class="libraryfile">libncursesw.so.&ncurses- version;</filename>130 <filename class="libraryfile">libncursesw.so.&ncurses-release;</filename> 131 131 in-place. It may crash the shell process which is using code and data 132 132 from the library file. Install the package with 133 133 <literal>DESTDIR</literal>, and replace the library file correctly using 134 <command>install</command> command:</para> 134 <command>install</command> command (the header 135 <filename>curses.h</filename> is also edited to ensure the 136 wide-character ABI to be used as what we've done in 137 <xref linkend='ch-tools-ncurses'/>):</para> 135 138 136 139 <screen><userinput remap="install">make DESTDIR=$PWD/dest install 137 install -vm755 dest/usr/lib/libncursesw.so.&ncurses-version; /usr/lib 138 rm -v dest/usr/lib/libncursesw.so.&ncurses-version; 140 install -vm755 dest/usr/lib/libncursesw.so.&ncurses-release; /usr/lib 141 rm -v dest/usr/lib/libncursesw.so.&ncurses-release; 142 sed -e 's/^#if.*XOPEN.*$/#if 1/' \ 143 -i dest/usr/include/curses.h 139 144 cp -av dest/* /</userinput></screen> 140 145 141 146 <para>Many applications still expect the linker to be able to find 142 non-wide-character Ncurses libraries. Trick such applications into linking with 143 wide-character libraries by means of symlinks and linker scripts:</para> 147 non-wide-character Ncurses libraries. Trick such applications into 148 linking with wide-character libraries by means of symlinks 149 (note that the <filename class='extension'>.so</filename> links are 150 only safe with <filename>curses.h</filename> edited to always use the 151 wide-character ABI):</para> 144 152 145 153 <screen><userinput remap="install">for lib in ncurses form panel menu ; do 146 rm -vf /usr/lib/lib${lib}.so 147 echo "INPUT(-l${lib}w)" > /usr/lib/lib${lib}.so 148 ln -sfv ${lib}w.pc /usr/lib/pkgconfig/${lib}.pc 154 ln -sfv lib${lib}w.so /usr/lib/lib${lib}.so 155 ln -sfv ${lib}w.pc /usr/lib/pkgconfig/${lib}.pc 149 156 done</userinput></screen> 150 157 … … 153 160 buildable:</para> 154 161 155 <screen><userinput remap="install">rm -vf /usr/lib/libcursesw.so 156 echo "INPUT(-lncursesw)" > /usr/lib/libcursesw.so 157 ln -sfv libncurses.so /usr/lib/libcurses.so</userinput></screen> 162 <screen><userinput remap="install">ln -sfv libncursesw.so /usr/lib/libcurses.so</userinput></screen> 158 163 159 164 <para>If desired, install the Ncurses documentation:</para> … … 207 212 </seg> 208 213 <seg> 209 libcursesw.so (symlink and linker script to libncursesw.so), 214 libcurses.so (symlink), 215 libform.so (symlink), 210 216 libformw.so, 217 libmenu.so (symlink), 211 218 libmenuw.so, 219 libncurses.so (symlink), 212 220 libncursesw.so, 213 221 libncurses++w.so, 214 libpanelw.so, and their non-wide-character counterparts without "w" 215 in the library names.</seg> 222 libpanel.so (symlink), 223 and libpanelw.so, 224 </seg> 216 225 <seg> 217 226 /usr/share/tabset, … … 343 352 </varlistentry> 344 353 345 <varlistentry id="libcursesw">346 <term><filename class="libraryfile">libcursesw</filename></term>347 <listitem>348 <para>A link to <filename>libncursesw</filename></para>349 <indexterm zone="ch-system-ncurses libcursesw">350 <primary sortas="c-libcursesw">libcursesw</primary>351 </indexterm>352 </listitem>353 </varlistentry>354 355 354 <varlistentry id="libncursesw"> 356 355 <term><filename class="libraryfile">libncursesw</filename></term> -
chapter08/ninja.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/openssl.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 164 164 of <application>OpenSSL</application>'s crypto library from the 165 165 shell. It can be used for various functions which are documented in 166 < command>man 1 openssl</command>166 <ulink role='man' url='&man;openssl.1'>openssl(1)</ulink> 167 167 </para> 168 168 <indexterm zone="ch-system-openssl openssl-prog"> … … 196 196 implements the Transport Layer Security (TLS v1) protocol. 197 197 It provides a rich API, documentation 198 on which can be found by running <command>man 7 ssl</command> 198 on which can be found in <ulink role='man' 199 url='&man;ssl.7'>ssl(7)</ulink> 199 200 </para> 200 201 <indexterm zone="ch-system-openssl libssl"> -
chapter08/patch.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/perl.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/pkgconf.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 46 46 47 47 <!-- https://github.com/pkgconf/pkgconf/issues/317 --> 48 <para>Fix a regression in pkgconf-2. 0.3breaking BLFS packages:</para>48 <para>Fix a regression in pkgconf-2.1.0 breaking BLFS packages:</para> 49 49 50 <screen><userinput remap="pre"> sed -i 's/str\(cmp.*package\)/strn\1, strlen(pkg->why)/' cli/main.c</userinput></screen>50 <screen><userinput remap="pre">patch -Np1 -i ../&pkgconf-upstream-fix-patch;</userinput></screen> 51 51 52 52 <para>Prepare Pkgconf for compilation:</para> -
chapter08/pkgmgt.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 57 57 The system will keep working fine thanks to the well-defined interface 58 58 between the kernel and userspace. Specifically, Linux API headers 59 need not be (and should not be, see the next item)upgraded59 need not be upgraded 60 60 along with the kernel. You will merely need to reboot your system to use the 61 61 upgraded kernel.</para> … … 63 63 64 64 <listitem> 65 <para>If the Linux API headers or Glibc need to be upgraded to a newer 66 version, (e.g., from Glibc-2.31 to Glibc-2.32), it is safer to 67 rebuild LFS. Though you <emphasis>may</emphasis> be able to rebuild 68 all the packages in their dependency order, we do not recommend 69 it. </para> 70 </listitem> 71 72 <listitem> 73 <para>Reinstalling the same version of Glibc (&glibc-version; for 74 this release of LFS) with patches should be safe when these patches 75 do not change ABI and API. When a security vulnerability is found 76 in Glibc, we often need to apply such a patch to fix the 77 vulnerability and reinstall Glibc. Consult 78 <ulink url='&lfs-root;lfs/advisories/'>LFS security 79 advisories</ulink> if you are alerted for a published Glibc security 80 vulnerability but unsure about the action to take.</para> 65 <para>If Glibc needs to be upgraded to a newer 66 version, (e.g., from Glibc-2.36 to Glibc-&glibc-version;), 67 some extra steps are needed to avoid breaking the system. 68 Read <xref linkend='ch-system-glibc'/> for details.</para> 81 69 </listitem> 82 70 -
chapter08/procps.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/psmisc.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/python.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 156 156 <screen><userinput remap="install">install -v -dm755 /usr/share/doc/python-&python-version;/html 157 157 158 tar --strip-components=1 \ 159 --no-same-owner \ 160 --no-same-permissions \ 161 -C /usr/share/doc/python-&python-version;/html \ 162 -xvf ../python-&python-version;-docs-html.tar.bz2</userinput></screen> 158 tar --no-same-owner \ 159 -xvf ../python-&python-version;-docs-html.tar.bz2 160 cp -R --no-preserve=mode python-&python-version;-docs-html/* \ 161 /usr/share/doc/python-&python-version;/html</userinput></screen> 163 162 164 163 <variablelist> … … 166 165 167 166 <varlistentry> 168 <term><option>--no-same-owner</option> and <option>--no-same-permissions</option></term>167 <term><option>--no-same-owner</option> (tar) and <option>--no-preserve=mode</option> (cp)</term> 169 168 <listitem> 170 169 <para>Ensure the installed files have the correct ownership and 171 170 permissions. Without these options, <application>tar</application> 172 will install the package files with the upstream creator's values. 171 will install the package files with the upstream creator's values 172 and files would have restrictive permissions. 173 173 </para> 174 174 </listitem> -
chapter08/readline.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/sed.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 52 52 <para>To test the results, issue:</para> 53 53 54 <screen><userinput remap="test">chown -R vtester .54 <screen><userinput remap="test">chown -R tester . 55 55 su tester -c "PATH=$PATH make check"</userinput></screen> 56 56 -
chapter08/setuptools.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/shadow.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 204 204 parameter to <command>useradd</command>, or else change the setting of 205 205 <parameter>USERGROUPS_ENAB</parameter> in 206 <filename>/etc/login.defs</filename>. See < filename>useradd(8)</filename>207 for more information.</para>206 <filename>/etc/login.defs</filename>. See <ulink role='man' 207 url='&man;useradd.8'>useradd(8)</ulink> for more information.</para> 208 208 209 209 <para>Second, to change the default parameters, the file -
chapter08/stripping.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 53 53 and ld-linux.so.2 on 32-bit systems. The construct below selects the 54 54 correct name for the current architecture, excluding anything ending 55 with < quote>g</quote>, in case the commands below have already been55 with <literal>g</literal>, in case the commands below have already been 56 56 run.</para></note> 57 57 -
chapter08/sysklogd.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/systemd.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 48 48 <screen><userinput remap="pre">sed -i -e 's/GROUP="render"/GROUP="video"/' \ 49 49 -e 's/GROUP="sgx", //' rules.d/50-udev-default.rules.in</userinput></screen> 50 51 <!-- https://github.com/systemd/systemd/pull/30549 --> 52 <para>Now fix a security vulnerability in the DNSSEC verification of 53 <command>systemd-resolved</command>:</para> 54 55 <screen><userinput remap='pre'>sed -e '/return FLAGS_SET.*AUTHENTICATED/s/(t/(dt/' \ 56 -i src/resolve/resolved-dns-transaction.c</userinput></screen> 50 57 51 58 <para>Prepare systemd for compilation:</para> … … 63 70 -Dsysusers=false \ 64 71 -Drpmmacrosdir=no \ 65 -Dhomed= false\72 -Dhomed=disabled \ 66 73 -Duserdb=false \ 67 -Dman= false\74 -Dman=disabled \ 68 75 -Dmode=release \ 69 76 -Dpamconfdir=no \ 70 77 -Ddev-kvm-mode=0660 \ 71 78 -Dnobody-group=nogroup \ 79 -Dsysupdate=disabled \ 80 -Dukify=disabled \ 72 81 -Ddocdir=/usr/share/doc/systemd-&systemd-version; \ 73 82 ..</userinput></screen> … … 140 149 141 150 <varlistentry> 142 <term><parameter>-D{userdb,homed}=false</parameter></term> 151 <term><parameter>-Dhomed=disabled</parameter> and 152 <parameter>-Duserdb=false</parameter></term> 143 153 <listitem> 144 154 <para>Remove two daemons with dependencies that do not fit … … 148 158 149 159 <varlistentry> 150 <term><parameter>-Dman= false</parameter></term>160 <term><parameter>-Dman=disabled</parameter></term> 151 161 <listitem> 152 162 <para>Prevent the generation of man pages to avoid extra … … 188 198 </listitem> 189 199 </varlistentry> 200 201 <varlistentry> 202 <term><parameter>-Dsysupdate=disabled</parameter></term> 203 <listitem> 204 <para>Do not install the <command>systemd-sysupdate</command> 205 tool. It's designed for automatically upgrading binary distros, 206 so it's useless for a basic Linux system built from source. 207 And it will report errors on boot if it's enabled but not properly 208 configured.</para> 209 </listitem> 210 </varlistentry> 211 212 <varlistentry> 213 <term><parameter>-Dukify=disabled</parameter></term> 214 <listitem> 215 <para>Do not install the <command>systemd-ukify</command> script. 216 At runtime this script requires the 217 <application>pefile</application> Python module that neither LFS 218 nor BLFS provides.</para> 219 </listitem> 220 </varlistentry> 221 190 222 </variablelist> 191 223 … … 214 246 215 247 <screen><userinput remap="adjust">systemctl preset-all</userinput></screen> 216 217 <para>Disable two services for upgrading binary distros. They are useless for218 a basic Linux system built from source, and each one will report an error if219 it's enabled but not configured:</para>220 221 <screen><userinput remap="adjust">systemctl disable systemd-sysupdate{,-reboot}</userinput></screen>222 248 223 249 <!-- dev: 50-pid-max.conf is not removed in BLFS, so I commented the following out. -
chapter08/sysvinit.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/tar.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 73 73 <screen><userinput remap="test">make check</userinput></screen> 74 74 75 <!-- On one system the -j4 improvement is 167s - 46s = 121s (72.46%) -->76 <note><para>The test time for Tar can be reduced significantly on a77 system with multiple cores. To do this, append78 <command>TESTSUITEFLAGS=-j<N></command> to the line above. For79 instance, using -j4 can reduce the test time by over 7080 percent.</para></note>81 82 75 <para>One test, capabilities: binary store/restore, is known to fail if it is 83 76 run because LFS lacks selinux, but will be skipped if the host kernel does -
chapter08/tcl.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/texinfo.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/udev.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 55 55 56 56 <screen><userinput remap="pre">sed '/systemd-sysctl/s/^/#/' -i rules.d/99-systemd.rules.in</userinput></screen> 57 58 <para>Adjust the hardcoded paths to network configuration files for the 59 standalone udev installation:</para> 60 61 <screen><userinput remap="pre">sed '/NETWORK_DIRS/s/systemd/udev/' -i src/basic/path-lookup.h</userinput></screen> 57 62 58 63 <para>Prepare Udev for compilation:</para> … … 121 126 </variablelist> 122 127 128 <para>Get the list of the shipped udev helpers and save it into an 129 environment variable (exporting it is not strictly necessary, but it makes 130 building as a regular user or using a package manager easier):</para> 131 132 <screen><userinput remap="make">export udev_helpers=$(grep "'name' :" ../src/udev/meson.build | \ 133 awk '{print $3}' | tr -d ",'" | grep -v 'udevadm')</userinput></screen> 134 123 135 <para>Only build the components needed for udev:</para> 124 136 125 137 <screen><userinput remap="make">ninja udevadm systemd-hwdb \ 126 138 $(ninja -n | grep -Eo '(src/(lib)?udev|rules.d|hwdb.d)/[^ ]*') \ 127 $(realpath libudev.so --relative-to .)</userinput></screen> 139 $(realpath libudev.so --relative-to .) \ 140 $udev_helpers</userinput></screen> 128 141 129 142 <para>Install the package:</para> 130 143 131 <screen><userinput remap="install">install -vm755 -d {/usr/lib,/etc}/udev/{hwdb ,rules}.d144 <screen><userinput remap="install">install -vm755 -d {/usr/lib,/etc}/udev/{hwdb.d,rules.d,network} 132 145 install -vm755 -d /usr/{lib,share}/pkgconfig 133 146 install -vm755 udevadm /usr/bin/ … … 143 156 -not -name '*power-switch*') /usr/lib/udev/rules.d/ 144 157 install -vm644 hwdb.d/* ../hwdb.d/{*.hwdb,README} /usr/lib/udev/hwdb.d/ 145 install -vm755 $ (find src/udev \146 -type f -not -name '*.*') /usr/lib/udev</userinput></screen>158 install -vm755 $udev_helpers /usr/lib/udev 159 install -vm644 ../network/99-default.link /usr/lib/udev/network</userinput></screen> 147 160 148 161 <para>Install some custom rules and support files useful in an LFS … … 159 172 --no-same-owner --strip-components=1 \ 160 173 -C /usr/share/man --wildcards '*/udev*' '*/libudev*' \ 174 '*/systemd.link.5' \ 161 175 '*/systemd-'{hwdb,udevd.service}.8 176 177 sed 's|systemd/network|udev/network|' \ 178 /usr/share/man/man5/systemd.link.5 \ 179 > /usr/share/man/man5/udev.link.5 180 162 181 sed 's/systemd\(\\\?-\)/udev\1/' /usr/share/man/man8/systemd-hwdb.8 \ 163 182 > /usr/share/man/man8/udev-hwdb.8 183 164 184 sed 's|lib.*udevd|sbin/udevd|' \ 165 185 /usr/share/man/man8/systemd-udevd.service.8 \ 166 186 > /usr/share/man/man8/udevd.8 167 rm /usr/share/man/man8/systemd-*.8</userinput></screen> 187 188 rm /usr/share/man/man*/systemd*</userinput></screen> 189 190 <para>Finally, unset the <envar>udev_helpers</envar> variable:</para> 191 192 <!-- remap="make" seems confusing but we don't have sth. like 193 remap="clean". --> 194 <screen><userinput remap="install">unset udev_helpers</userinput></screen> 168 195 169 196 </sect2> -
chapter08/util-linux.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 49 49 <para>Prepare Util-linux for compilation:</para> 50 50 51 <screen revision="sysv"><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \ 52 --bindir=/usr/bin \ 51 <screen revision="sysv"><userinput remap="configure">./configure --bindir=/usr/bin \ 53 52 --libdir=/usr/lib \ 54 53 --runstatedir=/run \ … … 64 63 --without-python \ 65 64 --without-systemd \ 66 --without-systemdsystemunitdir \ 65 --without-systemdsystemunitdir \ 66 ADJTIME_PATH=/var/lib/hwclock/adjtime \ 67 67 --docdir=/usr/share/doc/util-linux-&util-linux-version;</userinput></screen> 68 68 69 <screen revision="systemd"><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \ 70 --bindir=/usr/bin \ 69 <screen revision="systemd"><userinput remap="configure">./configure --bindir=/usr/bin \ 71 70 --libdir=/usr/lib \ 72 71 --runstatedir=/run \ … … 81 80 --disable-static \ 82 81 --without-python \ 82 ADJTIME_PATH=/var/lib/hwclock/adjtime \ 83 83 --docdir=/usr/share/doc/util-linux-&util-linux-version;</userinput></screen> 84 84 … … 104 104 </warning> 105 105 106 <screen><userinput remap="test">chown -R vtester .106 <screen><userinput remap="test">chown -R tester . 107 107 su tester -c "make -k check"</userinput></screen> 108 108 … … 585 585 <listitem> 586 586 <para>Displays kernel interrupt counter information in 587 <filename>top(1)</filename> style view</para> 587 <ulink role='man' url='&man;top.1'>top(1)</ulink> style 588 view</para> 588 589 <indexterm zone="ch-system-util-linux irqtop"> 589 590 <primary sortas="b-irqtop">irqtop</primary> -
chapter08/vim.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 67 67 to the source tree:</para> 68 68 69 <screen><userinput remap="test">chown -R vtester .</userinput></screen>69 <screen><userinput remap="test">chown -R tester .</userinput></screen> 70 70 71 71 <para>Now run the tests as user <systemitem -
chapter08/wheel.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/xml-parser.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/xz.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/zlib.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter08/zstd.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter09/bootscripts.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter09/chapter09.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 27 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="network.xml"/> 28 28 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="usage.xml"/> 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="profile.xml"/>30 29 31 30 <!-- systemd --> 32 31 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="clock.xml"/> 33 32 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="consoled.xml"/> 34 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="locale.xml"/>35 33 36 34 <!-- common --> 35 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="locale.xml"/> 37 36 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="inputrc.xml"/> 38 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="etcshells.xml"/> -
chapter09/clock.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter09/consoled.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 31 31 32 32 <para>The <filename>/etc/vconsole.conf</filename> file should contain lines 33 of the form: VARIABLE="value". The following variables are recognized:</para>33 of the form: <envar>VARIABLE=value</envar>. The following variables are recognized:</para> 34 34 35 35 <variablelist> … … 74 74 75 75 </variablelist> 76 77 <para>We'll use <literal>C.UTF-8</literal> as the locale for interactive 78 sessions in the Linux console in <xref role='.' 79 linkend='ch-config-locale'/> The console fonts shipped by 80 the <application>Kbd</application> package containing the glyphs for 81 all characters from the program messages in the <literal>C.UTF-8</literal> 82 locale are <filename>LatArCyrHeb*.psfu.gz</filename>, 83 <filename>LatGrkCyr*.psfu.gz</filename>, 84 <filename>Lat2-Terminus16.psfu.gz</filename>, and 85 <filename>pancyrillic.f16.psfu.gz</filename> in 86 <filename class='directory'>/usr/share/consolefonts</filename> (the other 87 shipped console fonts lack glyphs of some characters like the Unicode 88 left/right quotation marks and the Unicode English dash). So set one of 89 them, for example <filename>Lat2-Terminus16.psfu.gz</filename> as the 90 default console font:</para> 91 92 <!-- We are using "nodump" for general settings, but not examples. This 93 is ironic, but needed for the compatibility with jhalfs! --> 94 <screen role='nodump'><userinput>echo <literal>FONT=Lat2-Terminus16</literal> > /etc/vconsole.conf</userinput></screen> 76 95 77 96 <para>An example for a German keyboard and console is given below:</para> -
chapter09/etcshells.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE part PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter09/inputrc.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter09/introduction.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter09/introductiond.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter09/locale.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 6 6 ]> 7 7 8 <sect1 id="ch-config-locale" revision="systemd">8 <sect1 id="ch-config-locale"> 9 9 <?dbhtml filename="locale.html"?> 10 10 … … 12 12 13 13 <indexterm zone="ch-config-locale"> 14 <primary sortas="e- etc-locale-conf">/etc/locale.conf</primary>14 <primary sortas="e-/etc/profile">/etc/profile</primary> 15 15 </indexterm> 16 16 17 <para>The <filename>/etc/locale.conf</filename> file below sets some 18 environment variables necessary for native language support. Setting 19 them properly results in:</para> 17 <indexterm zone="ch-config-locale" revision='systemd'> 18 <primary sortas="e-/etc/profile">/etc/locale.conf</primary> 19 </indexterm> 20 21 <para>Some environment variables are necessary for native language 22 support. Setting them properly results in:</para> 20 23 21 24 <itemizedlist> … … 40 43 41 44 <para>Replace <replaceable><ll></replaceable> below with the two-letter code 42 for your desired language (e.g., < quote>en</quote>) and45 for your desired language (e.g., <literal>en</literal>) and 43 46 <replaceable><CC></replaceable> with the two-letter code for the appropriate 44 country (e.g., < quote>GB</quote>). <replaceable><charmap></replaceable> should47 country (e.g., <literal>GB</literal>). <replaceable><charmap></replaceable> should 45 48 be replaced with the canonical charmap for your chosen locale. Optional 46 modifiers such as < quote>@euro</quote> may also be present.</para>49 modifiers such as <literal>@euro</literal> may also be present.</para> 47 50 48 51 <para>The list of all locales supported by Glibc can be obtained by running … … 51 54 <screen role="nodump"><userinput>locale -a</userinput></screen> 52 55 53 <para>Charmaps can have a number of aliases, e.g., <quote>ISO-8859-1</quote> 54 is also referred to as <quote>iso8859-1</quote> and <quote>iso88591</quote>. 56 <para>Charmaps can have a number of aliases, e.g., 57 <literal>ISO-8859-1</literal> is also referred to as 58 <literal>iso8859-1</literal> and <literal>iso88591</literal>. 55 59 Some applications cannot handle the various synonyms correctly (e.g., require 56 that < quote>UTF-8</quote> is written as <quote>UTF-8</quote>, not57 < quote>utf8</quote>), so it is the safest in most60 that <literal>UTF-8</literal> is written as <literal>UTF-8</literal>, not 61 <literal>utf8</literal>), so it is the safest in most 58 62 cases to choose the canonical name for a particular locale. To determine 59 63 the canonical name, run the following command, where <replaceable><locale 60 64 name></replaceable> is the output given by <command>locale -a</command> for 61 your preferred locale (<quote>en_GB.iso88591</quote> in our example).</para> 65 your preferred locale (<literal>en_GB.iso88591</literal> in our 66 example).</para> 62 67 63 68 <screen role="nodump"><userinput>LC_ALL=<replaceable><locale name></replaceable> locale charmap</userinput></screen> 64 69 65 <para>For the < quote>en_GB.iso88591</quote> locale, the above command70 <para>For the <literal>en_GB.iso88591</literal> locale, the above command 66 71 will print:</para> 67 72 68 73 <screen><computeroutput>ISO-8859-1</computeroutput></screen> 69 74 70 <para>This results in a final locale setting of < quote>en_GB.ISO-8859-1</quote>.75 <para>This results in a final locale setting of <literal>en_GB.ISO-8859-1</literal>. 71 76 It is important that the locale found using the heuristic above is tested prior 72 77 to it being added to the Bash startup files:</para> … … 91 96 Glibc.</para> 92 97 93 <!-- FIXME: the xlib example will become obsolete in the future.-->94 <para>Some packages beyond LFS may also lack support for your chosen locale. One95 example is the X library (part of the X Window System), which outputs the96 following error message if the locale does not exactly match one of the character97 map names in its internal files:</para>98 99 <screen><computeroutput>Warning: locale not supported by Xlib, locale set to C</computeroutput></screen>100 101 <para>In several cases Xlib expects that the character map will be listed in102 uppercase notation with canonical dashes. For instance, "ISO-8859-1" rather103 than "iso88591". It is also possible to find an appropriate specification by104 removing the charmap part of the locale specification. This can be checked105 by running the <command>locale charmap</command> command in both locales.106 For example, one would have to change "de_DE.ISO-8859-15@euro" to107 "de_DE@euro" in order to get this locale recognized by Xlib.</para>108 109 98 <para>Other packages can also function incorrectly (but may not necessarily 110 99 display any error messages) if the locale name does not meet their expectations. … … 112 101 might provide some useful information.</para> 113 102 114 <para >Once the proper locale settings have been determined, create the115 <filename>/etc/locale.conf</filename> file:</para>116 117 <screen ><userinput>cat > /etc/locale.conf << "EOF"103 <para revision='systemd'>Once the proper locale settings have been 104 determined, create the <filename>/etc/locale.conf</filename> file:</para> 105 106 <screen revision='systemd'><userinput>cat > /etc/locale.conf << "EOF" 118 107 <literal>LANG=<replaceable><ll>_<CC>.<charmap><@modifiers></replaceable></literal> 119 108 EOF</userinput></screen> 120 109 121 <para>Note that you can modify <filename>/etc/locale.conf</filename> with the 110 <para>The shell program <command>/bin/bash</command> (here after referred 111 as <quote>the shell</quote>) uses a collection of startup files to help 112 create the environment to run in. Each file has a specific use and may 113 affect login and interactive environments differently. The files in the 114 <filename class="directory">/etc</filename> directory provide global 115 settings. If equivalent files exist in the home directory, they 116 may override the global settings.</para> 117 118 <para>An interactive login shell is started after a successful login, 119 using <command>/bin/login</command>, by reading the 120 <filename>/etc/passwd</filename> file. An interactive non-login shell is 121 started at the command-line (e.g. 122 <prompt>[prompt]$</prompt><command>/bin/bash</command>). A 123 non-interactive shell is usually present when a shell script is running. 124 It is non-interactive because it is processing a script and not waiting 125 for user input between commands.</para> 126 127 <para><phrase revision='systemd'>The login shells are often unaffected by 128 the settings in <filename>/etc/locale.conf</filename>. </phrase>Create the 129 <filename>/etc/profile</filename> 130 <phrase revision='sysv'>once the proper locale settings have been 131 determined to set the desired locale</phrase><phrase 132 revision='systemd'>to read the locale settings from 133 <filename>/etc/locale.conf</filename> and export them</phrase>, 134 but set the <literal>C.UTF-8</literal> locale instead if running in the Linux 135 console (to prevent programs from outputting characters that the Linux 136 console is unable to render):</para> 137 138 <screen revision="systemd"><userinput>cat > /etc/profile << "EOF" 139 <literal># Begin /etc/profile 140 141 for i in $(locale); do 142 unset ${i%=*} 143 done 144 145 if [[ "$TERM" = linux ]]; then 146 export LANG=C.UTF-8 147 else 148 source /etc/locale.conf 149 150 for i in $(locale); do 151 key=${i%=*} 152 if [[ -v $key ]]; then 153 export $key 154 fi 155 done 156 fi 157 158 # End /etc/profile</literal> 159 EOF</userinput></screen> 160 161 <screen revision="sysv"><userinput>cat > /etc/profile << "EOF" 162 <literal># Begin /etc/profile 163 164 for i in $(locale); do 165 unset ${i%=*} 166 done 167 168 if [[ "$TERM" = linux ]]; then 169 export LANG=C.UTF-8 170 else 171 export LANG=<replaceable><ll>_<CC>.<charmap><@modifiers></replaceable> 172 fi 173 174 # End /etc/profile</literal> 175 EOF</userinput></screen> 176 177 <para revision='systemd'>Note that you can modify <filename>/etc/locale.conf</filename> with the 122 178 systemd <command>localectl</command> utility. To use 123 179 <command>localectl</command> for the example above, run:</para> 124 180 125 <screen role="nodump"><userinput>localectl set-locale LANG="<replaceable><ll>_<CC>.<charmap><@modifiers></replaceable>"</userinput></screen> 126 127 <para>You can also specify other language specific environment variables such 128 as <envar>LANG</envar>, <envar>LC_CTYPE</envar>, <envar>LC_NUMERIC</envar> or 129 any other environment variable from <command>locale</command> output. Just 130 separate them with a space. An example where <envar>LANG</envar> is set as 181 <screen revision='systemd' role="nodump"><userinput>localectl set-locale LANG="<replaceable><ll>_<CC>.<charmap><@modifiers></replaceable>"</userinput></screen> 182 183 <para revision='systemd'>You can also specify other language specific 184 environment variables such as <envar>LANG</envar>, 185 <envar>LC_CTYPE</envar>, <envar>LC_NUMERIC</envar> or any other 186 environment variable from <command>locale</command> output. Just separate 187 them with a space. An example where <envar>LANG</envar> is set as 131 188 en_US.UTF-8 but <envar>LC_CTYPE</envar> is set as just en_US is:</para> 132 189 133 <screen role="nodump"><userinput>localectl set-locale LANG="en_US.UTF-8" LC_CTYPE="en_US"</userinput></screen> 134 135 <note><para>Please note that the <command>localectl</command> command 136 doesn't work in the chroot environment. It can only 137 be used after the LFS system is booted with systemd.</para></note> 138 139 <para>The <quote>C</quote> (default) and <quote>en_US</quote> (the recommended 140 one for United States English users) locales are different. <quote>C</quote> 190 <screen revision='systemd' role="nodump"><userinput>localectl set-locale LANG="en_US.UTF-8" LC_CTYPE="en_US"</userinput></screen> 191 192 <note revision='systemd'><para>Please note that the 193 <command>localectl</command> command doesn't work in the chroot 194 environment. It can only be used after the LFS system is booted with 195 systemd.</para></note> 196 197 <para>The <literal>C</literal> (default) and <literal>en_US</literal> 198 (the recommended one for United States English users) locales are 199 different. <literal>C</literal> 141 200 uses the US-ASCII 7-bit character set, and treats bytes with the high bit set 142 201 as invalid characters. That's why, e.g., the <command>ls</command> command 143 202 substitutes them with question marks in that locale. Also, an attempt to send 144 203 mail with such characters from Mutt or Pine results in non-RFC-conforming 145 messages being sent (the charset in the outgoing mail is indicated as <quote>unknown 146 8-bit</quote>). It's suggested that you use the <quote>C</quote> locale only 204 messages being sent (the charset in the outgoing mail is indicated as 205 <computeroutput>unknown 8-bit</computeroutput>). It's suggested that you 206 use the <literal>C</literal> locale only 147 207 if you are certain that you will never need 8-bit characters.</para> 148 208 149 <!--150 <para>UTF-8 based locales are not supported well by many programs.151 Work is in progress to document and, if possible, fix such problems, see152 <ulink url="&blfs-book;introduction/locale-issues.html"/>.</para>153 -->154 155 209 </sect1> -
chapter09/network.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 63 63 the interfaces up correctly.</para> 64 64 65 <para>If the <envar>ONBOOT</envar> variable is set to < quote>yes</quote> the65 <para>If the <envar>ONBOOT</envar> variable is set to <literal>yes</literal> the 66 66 System V network script will bring up the Network Interface Card (NIC) during 67 the system boot process. If set to anything besides < quote>yes</quote>, the NIC67 the system boot process. If set to anything besides <literal>yes</literal>, the NIC 68 68 will be ignored by the network script and will not be started automatically. 69 69 Interfaces can be manually started or stopped with the -
chapter09/networkd.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 51 51 <filename class="extension">.network</filename> files. For detailed 52 52 descriptions and example contents of these configuration files, consult 53 the <filename>systemd-link(5)</filename>, 54 <filename>systemd-netdev(5)</filename> and 55 <filename>systemd-network(5)</filename> manual pages.</para> 53 the <ulink role='man' url='&man;systemd-link.5'>systemd-link(5)</ulink>, 54 <ulink role='man' url='&man;systemd-netdev.5'>systemd-netdev(5)</ulink>, 55 and <ulink role='man' 56 url='&man;systemd-network.5'>systemd-network(5)</ulink> manual 57 pages.</para> 56 58 57 59 <sect3 id="systemd-network-devices"> … … 90 92 <listitem> 91 93 <para> 92 Mask udev's .link file for the default policy: 94 Mask udev's <filename class='extension'>.link</filename> file 95 for the default policy: 93 96 <screen role="nodump"><userinput>ln -s /dev/null /etc/systemd/network/99-default.link</userinput></screen> 94 97 </para> … … 97 100 <listitem> 98 101 <para> 99 Create a manual naming scheme, for example by naming the 100 interfaces something like "internet0", "dmz0", or "lan0". 101 To do that, create .link files in /etc/systemd/network/ that 102 select an explicit name or a better naming scheme for your 103 network interfaces. For example: 102 Create a manual naming scheme, for example by naming the 103 interfaces something like <literal>internet0</literal>, 104 <literal>dmz0</literal>, or <literal>lan0</literal>. 105 To do that, create <filename class='extension'>.link</filename> 106 files in /etc/systemd/network/ that select an explicit name or a 107 better naming scheme for your network interfaces. For example: 104 108 </para> 105 109 … … 114 118 115 119 <para> 116 See the man page systemd.link(5)for more information.120 See <ulink role='man' url='&man;systemd.link.5'>systemd.link(5)</ulink> for more information. 117 121 </para> 118 122 </listitem> … … 120 124 <listitem> 121 125 <para> 122 In /boot/grub/grub.cfg, pass the option net.ifnames=0 on the123 kernel command line.126 In /boot/grub/grub.cfg, pass the option 127 <option>net.ifnames=0</option> on the kernel command line. 124 128 </para> 125 129 </listitem> … … 358 362 domain) because they are handled by the 359 363 <systemitem class='library'>myhostname</systemitem> NSS module, read 360 the man page <filename>nss-myhostname(8)</filename> for details.</para> 364 the man page <ulink role='man' 365 url='&man;nss-myhostname.8'>nss-myhostname(8)</ulink> for 366 details.</para> 361 367 362 368 <para>The ::1 entry is the IPv6 counterpart of 127.0.0.1 and represents -
chapter09/symlinks.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 113 113 creating your network configuration files.</para> 114 114 115 <para>Even if the custom udev rule file is created, udev may still 116 assign one or more alternative names for a NIC based on physical 117 characteristics. If a custom udev rule would rename some NIC using 118 a name already assigned as an alternative name of another NIC, this 119 udev rule will fail. If this issue happens, you may create the 120 <filename>/etc/udev/network/99-default.link</filename> configuration 121 file with an empty alternative assignment policy, overriding the 122 default configuration file 123 <filename>/usr/lib/udev/network/99-default.link</filename>:</para> 124 125 <screen role="nodump"><userinput>sed -e '/^AlternativeNamesPolicy/s/=.*$/=/' \ 126 -i /usr/lib/udev/network/99-default.link \ 127 > /etc/udev/network/99-default.link</userinput></screen> 115 128 </sect3> 116 129 -
chapter09/systemd-custom.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 22 22 entries commented out with the default settings indicated. This file is 23 23 where the log level may be changed as well as some basic logging settings. 24 See the <filename>systemd-system.conf(5)</filename> manual page for details 25 on each configuration option.</para> 24 See the <ulink role='man' 25 url='&man;systemd-system.conf.5'>systemd-system.conf(5)</ulink> manual 26 page for details on each configuration option.</para> 26 27 27 28 </sect2> … … 90 91 files with the same name in 91 92 <filename class="directory">/usr/lib/tmpfiles.d</filename>. See 92 < filename>tmpfiles.d(5)</filename> manual page for file format93 details.</para>93 <ulink role='man' url='&man;tmpfiles.d.5'>tmpfiles.d(5)</ulink> manual 94 page for file format details.</para> 94 95 95 96 <para> … … 136 137 EOF</userinput></screen> 137 138 138 <para>See <filename>systemd.unit(5)</filename> manual page for more 139 <para>See <ulink role='man' 140 url='&man;systemd.unit.5'>systemd.unit(5)</ulink> manual page for more 139 141 information. After creating the configuration file, run 140 142 <userinput>systemctl daemon-reload</userinput> and <userinput>systemctl … … 252 254 EOF</userinput></screen> 253 255 254 <para>See the <filename>systemd-coredump(8)</filename>, 255 <filename>coredumpctl(1)</filename>, and 256 <filename>coredump.conf.d(5)</filename> manual pages for more 257 information.</para> 256 <para>See the <ulink role='man' url='&man;systemd-coredump.8'>systemd-coredump(8)</ulink>, 257 <ulink role='man' url='&man;coredumpctl.1'>coredumpctl(1)</ulink>, and 258 <ulink role='man' 259 url='&man;coredump.conf.d.5'>coredump.conf.d(5)</ulink> manual pages for 260 more information.</para> 258 261 </sect2> 259 262 -
chapter09/udev.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 130 130 supported by a module. For example, the <emphasis>snd-fm801</emphasis> 131 131 driver supports PCI devices with vendor ID 0x1319 and device ID 0x0801, 132 and has an alias of < quote>pci:v00001319d00000801sv*sd*bc04sc01i*</quote>.132 and has an alias of <literal>pci:v00001319d00000801sv*sd*bc04sc01i*</literal>. 133 133 For most devices, the bus driver exports the alias of the driver that 134 134 would handle the device via <systemitem … … 136 136 <filename>/sys/bus/pci/devices/0000:00:0d.0/modalias</filename> file 137 137 might contain the string 138 < quote>pci:v00001319d00000801sv00001319sd00001319bc04sc01i00</quote>.138 <literal>pci:v00001319d00000801sv00001319sd00001319bc04sc01i00</literal>. 139 139 The default rules provided with udev will cause <command>udevd</command> 140 140 to call out to <command>/sbin/modprobe</command> with the contents of the … … 226 226 <literal>pre:</literal> dependencies, or a mixture of both 227 227 <literal>pre:</literal> and <literal>post:</literal> dependencies. See 228 the <filename>modprobe.d(5)</filename> manual page for more information 229 on <quote>softdep</quote> syntax and capabilities.</para> 228 the <ulink role='man' url='&man;modprobe.d.5'>modprobe.d(5)</ulink> 229 manual page for more information on <quote>softdep</quote> syntax and 230 capabilities.</para> 230 231 231 232 <para revision="sysv">If the module in question is not a wrapper and is … … 301 302 <para>This is due to the fact that udev, by design, handles uevents and 302 303 loads modules in parallel, and thus in an unpredictable order. This will 303 never be <quote>fixed </quote>.You should not rely upon the kernel device304 never be <quote>fixed.</quote> You should not rely upon the kernel device 304 305 names being stable. Instead, create your own rules that make symlinks with 305 306 stable names based on some stable attributes of the device, such as a -
chapter09/usage.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 33 33 uses a run levels scheme. There are seven run levels, numbered 0 to 6. 34 34 (Actually, there are more run levels, but the others are for special cases and are 35 generally not used. See <filename>init(8)</filename> for more details.) 35 generally not used. See <ulink role='man' 36 url='&man;init.8'>init(8)</ulink> for more details.) 36 37 Each one of the seven corresponds to actions the computer is supposed to 37 38 perform when it starts up or shuts down. The default run level is 3. Here are the … … 48 49 <note> 49 50 <para> 50 Classically, run level 2 above was defined as51 "multi-user mode without networking",but this was only the case52 53 54 we now say it is "reserved".51 Classically, run level 2 above was defined as <quote>multi-user 52 mode without networking,</quote> but this was only the case 53 many years ago when multiple users could connect to a system via 54 serial ports. In today's environment it makes no sense, and 55 we now say it is <quote>reserved.</quote> 55 56 </para> 56 57 </note> … … 342 343 doubt, look in the <filename class="directory">/usr/share/keymaps</filename> 343 344 and <filename class="directory">/usr/share/consolefonts</filename> directories 344 for valid keymaps and screen fonts. Read the <filename>loadkeys(1)</filename> and 345 <filename>setfont(8)</filename> manual pages to determine the correct 346 arguments for these programs.</para> 345 for valid keymaps and screen fonts. Read the <ulink role='man' 346 url='&man;loadkeys.1'>loadkeys(1)</ulink> and <ulink role='man' 347 url='&man;setfont.8'>setfont(8)</ulink> manual pages to determine the 348 correct arguments for these programs.</para> 347 349 348 350 <para>The <filename>/etc/sysconfig/console</filename> file should contain lines 349 of the form: VARIABLE="value". The following variables are recognized:</para>351 of the form: <envar>VARIABLE=value</envar>. The following variables are recognized:</para> 350 352 <variablelist> 351 353 … … 355 357 <para>This variable specifies the log level for kernel messages sent 356 358 to the console as set by <command>dmesg -n</command>. Valid levels are 357 from "1" (no messages) to "8". The default level is "7".</para>359 from <literal>1</literal> (no messages) to <literal>8</literal>. The default level is <literal>7</literal>, which is quite verbose.</para> 358 360 </listitem> 359 361 </varlistentry> … … 364 366 <para>This variable specifies the arguments for the 365 367 <command>loadkeys</command> program, typically, the name of the keymap 366 to load, e.g., < quote>it</quote>. If this variable is not set, the368 to load, e.g., <literal>it</literal>. If this variable is not set, the 367 369 bootscript will not run the <command>loadkeys</command> program, 368 370 and the default kernel keymap will be used. Note that a few keymaps … … 383 385 is not completely satisfactory and a small adjustment has to be made. E.g., 384 386 to include the Euro sign into a keymap that normally doesn't have it, 385 set this variable to < quote>euro2</quote>.</para>387 set this variable to <literal>euro2</literal>.</para> 386 388 </listitem> 387 389 </varlistentry> … … 392 394 <para>This variable specifies the arguments for the 393 395 <command>setfont</command> program. Typically, this includes the font 394 name, < quote>-m</quote>, and the name of the application character396 name, <literal>-m</literal>, and the name of the application character 395 397 map to load. E.g., in order to load the <quote>lat1-16</quote> font 396 398 together with the <quote>8859-1</quote> application character map 397 399 (appropriate in the USA), 398 400 <!-- because of the copyright sign --> 399 set this variable to < quote>lat1-16 -m 8859-1</quote>.401 set this variable to <literal>lat1-16 -m 8859-1</literal>. 400 402 In UTF-8 mode, the kernel uses the application character map to 401 403 convert 8-bit key codes to UTF-8. Therefore … … 409 411 <term>UNICODE</term> 410 412 <listitem> 411 <para>Set this variable to < quote>1</quote>, <quote>yes</quote>, or412 < quote>true</quote> in order to put the413 <para>Set this variable to <literal>1</literal>, <literal>yes</literal>, or 414 <literal>true</literal> in order to put the 413 415 console into UTF-8 mode. This is useful in UTF-8 based locales and 414 416 harmful otherwise.</para> … … 431 433 432 434 <itemizedlist> 435 <listitem> 436 <para> 437 We'll use <literal>C.UTF-8</literal> as the locale for interactive 438 sessions in the Linux console in <xref role=',' 439 linkend='ch-config-locale'/> so we should set 440 <literal>UNICODE</literal> to <literal>1</literal>. And the console 441 fonts shipped by the <application>Kbd</application> package 442 containing the glyphs for all characters from the program messages 443 in the <literal>C.UTF-8</literal> locale are 444 <filename>LatArCyrHeb*.psfu.gz</filename>, 445 <filename>LatGrkCyr*.psfu.gz</filename>, 446 <filename>Lat2-Terminus16.psfu.gz</filename>, and 447 <filename>pancyrillic.f16.psfu.gz</filename> in 448 <filename class='directory'>/usr/share/consolefonts</filename> (the 449 other shipped console fonts lack glyphs of some characters like the 450 Unicode left/right quotation marks and the Unicode English dash). 451 So set one of them, for example 452 <filename>Lat2-Terminus16.psfu.gz</filename> as the default console 453 font: 454 </para> 455 456 <!-- We are using 'nodump' for the generic setting, but not for an 457 example (see below). This is deliberate to keep the 458 compatibility with jhalfs. --> 459 <screen role='nodump'><userinput>cat > /etc/sysconfig/console << "EOF" 460 <literal># Begin /etc/sysconfig/console 461 462 UNICODE="1" 463 FONT="Lat2-Terminus16" 464 465 # End /etc/sysconfig/console</literal> 466 EOF</userinput></screen> 467 468 </listitem> 433 469 434 470 <listitem> … … 525 561 characters, or two ASCII characters are composed together. However, in 526 562 UTF-8 mode it is a problem; e.g., for the Greek language, where one 527 sometimes needs to put an accent on the letter <quote>alpha</quote>.563 sometimes needs to put an accent on the letter α. 528 564 The solution is either to avoid the use of UTF-8, or to install the 529 565 X window system, which doesn't have this limitation, in its input -
chapter10/chapter10.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter10/fstab.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 53 53 <para>Replace <replaceable>sda</replaceable> to the name of the device 54 54 node for your disk where LFS is being built. For details on the six 55 fields in this file, see < command>man 5 fstab</command>.</para>55 fields in this file, see <ulink role='man' url='&man;fstab.5'>fstab(5)</ulink>.</para> 56 56 57 57 <para>Filesystems with MS-DOS or Windows origin (i.e. vfat, ntfs, smbfs, -
chapter10/grub.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 106 106 </note> 107 107 108 <!-- This does not seem to be true any more109 <note><para><application>grub-install</application> is a script and calls another110 program, grub-probe, that may fail with a message "cannot stat `/dev/root'".111 If so, create a temporary symbolic link from your root partition to /dev/root:</para>112 113 <screen role="nodump"><userinput>ln -sv /dev/sda2 /dev/root</userinput></screen>114 115 <para>The symbolic link will only be present until the system is rebooted.116 The link is only needed for the installation procedure.117 </para></note>118 -->119 108 </sect2> 120 109 -
chapter10/introduction.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter10/kernel.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 274 274 275 275 <varlistentry> 276 <term><parameter>Framebuffer Console support</parameter></term> 277 <listitem> 278 <para>This is needed to display the Linux console on a frame 279 buffer device. To allow the kernel to print debug messages at an 280 early boot stage, it shouldn't be built as a kernel module 281 unless an initramfs will be used. And, if 282 <option>CONFIG_DRM</option> (Direct Rendering Manager) is enabled, 283 it's likely <option>CONFIG_DRM_FBDEV_EMULATION</option> (Enable 284 legacy fbdev support for your modesetting driver) should be 285 enabled as well.</para> 276 <term> 277 <parameter> 278 Enable legacy fbdev support for your modesetting driver 279 </parameter> and 280 <parameter>Framebuffer Console support</parameter> 281 </term> 282 <listitem> 283 <para>These are needed to display the Linux console on a 284 GPU driven by a DRI (Direct Rendering Infrastructure) driver. 285 If <option>CONFIG_DRM</option> (Direct Rendering Manager) is 286 enabled, you should enable these two options as well or you'll see 287 a blank screen once the DRI driver is loaded.</para> 286 288 </listitem> 287 289 </varlistentry> … … 323 325 documentation in the <filename 324 326 class="directory">linux-&linux-version;/Documentation</filename> directory. 325 Also, <filename>modprobe.d(5)</filename> may be of interest.</para> 327 Also, <ulink role='man' url='&man;modprobe.d.5'>modprobe.d(5)</ulink> 328 may be of interest.</para> 326 329 327 330 <para>Unless module support has been disabled in the kernel configuration, -
chapter10/kernel/Makefile
re49e2ea r9e76c64 20 20 touch s-kernel-version 21 21 22 %.xml : %.toml kernel-config.py kernel_version.py kernel.version22 %.xml.tmp: %.toml kernel-config.py kernel_version.py kernel.version 23 23 ./kernel-config.py $(KERNEL_TREE) $< > $@ 24 25 %.xml: %.xml.tmp 26 mv $< $@ -
chapter10/kernel/highmem.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE note PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> -
chapter10/kernel/kernel-config.py
re49e2ea r9e76c64 186 186 elif line.startswith('endif'): 187 187 if_stack = if_stack[:-1] 188 189 if config_buf: 190 r += [parse_config(config_buf)] 191 188 192 return r 189 193 … … 248 252 for i0, val, i1, title, arrow, key, menu, comment in r: 249 253 rem = max_line 254 is_choice = (val == '(X)') 250 255 251 256 if val: … … 260 265 title = title[:rem - 3] + '...' 261 266 262 b = title.lstrip('YyMmNnHh') 267 b = title 268 if not is_choice: 269 b = b.lstrip('YyMmNnHh.' + "".join(map(str, range(10)))) 263 270 a = title[:len(title) - len(b)] 264 271 b0 = "<emphasis role='blue'>" + escape(b[0]) + "</emphasis>" … … 287 294 from jinja2 import Template 288 295 289 t = Template('''<?xml version="1.0" encoding=" ISO-8859-1"?>296 t = Template('''<?xml version="1.0" encoding="UTF-8"?> 290 297 <!DOCTYPE note PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 291 298 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> -
chapter10/kernel/kernel.version
re49e2ea r9e76c64 1 6. 4.81 6.7.1 -
chapter10/kernel/nvme.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE note PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> -
chapter10/kernel/systemd.toml
re49e2ea r9e76c64 14 14 DEVTMPFS='*' 15 15 DEVTMPFS_MOUNT='*' 16 FB='*' 17 FRAMEBUFFER_CONSOLE='*' 18 16 DRM=' *M' 19 17 AUDIT=' ' 20 18 NET='*' … … 29 27 30 28 revision='systemd' 29 30 [DRM_FBDEV_EMULATION] 31 value = ' *' 32 comment = 'If [DRM] is selected as * or M, this must be selected' 33 34 [FRAMEBUFFER_CONSOLE] 35 value = ' *' 36 comment = 'If [DRM] is selected as * or M, this must be selected' -
chapter10/kernel/systemd.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE note PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> … … 42 42 [*] <emphasis role='blue'>E</emphasis>xport DMI identification via sysfs to userspace [DMIID] 43 43 <emphasis role='blue'>G</emphasis>raphics support ---> 44 <emphasis role='blue'>F</emphasis>rame buffer Devices ---> 45 <*> <emphasis role='blue'>S</emphasis>upport for frame buffer devices ---> [FB] 44 < /*/M> <emphasis role='blue'>D</emphasis>irect Rendering Manager (XFree86 4.1.0 and higher DRI support) ---> 45 ... [DRM] 46 # If [DRM] is selected as * or M, this must be selected: 47 [ /*] <emphasis role='blue'>E</emphasis>nable legacy fbdev support for your modesetting driver 48 ... [DRM_FBDEV_EMULATION] 46 49 <emphasis role='blue'>C</emphasis>onsole display driver support ---> 47 [*] <emphasis role='blue'>F</emphasis>ramebuffer Console support [FRAMEBUFFER_CONSOLE] 50 # If [DRM] is selected as * or M, this must be selected: 51 [ /*] <emphasis role='blue'>F</emphasis>ramebuffer Console support [FRAMEBUFFER_CONSOLE] 48 52 49 53 <emphasis role='blue'>F</emphasis>ile systems ---> -
chapter10/kernel/sysv.toml
re49e2ea r9e76c64 13 13 DEVTMPFS='*' 14 14 DEVTMPFS_MOUNT='*' 15 FB='*' 16 FRAMEBUFFER_CONSOLE='*' 15 DRM=' *M' 17 16 18 17 revision='sysv' 18 19 [DRM_FBDEV_EMULATION] 20 value = ' *' 21 comment = 'If [DRM] is selected as * or M, this must be selected' 22 23 [FRAMEBUFFER_CONSOLE] 24 value = ' *' 25 comment = 'If [DRM] is selected as * or M, this must be selected' -
chapter10/kernel/sysv.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE note PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> … … 30 30 ... [DEVTMPFS_MOUNT] 31 31 <emphasis role='blue'>G</emphasis>raphics support ---> 32 <emphasis role='blue'>F</emphasis>rame buffer Devices ---> 33 <*> <emphasis role='blue'>S</emphasis>upport for frame buffer devices ---> [FB] 32 < /*/M> <emphasis role='blue'>D</emphasis>irect Rendering Manager (XFree86 4.1.0 and higher DRI support) ---> 33 ... [DRM] 34 # If [DRM] is selected as * or M, this must be selected: 35 [ /*] <emphasis role='blue'>E</emphasis>nable legacy fbdev support for your modesetting driver 36 ... [DRM_FBDEV_EMULATION] 34 37 <emphasis role='blue'>C</emphasis>onsole display driver support ---> 35 [*] <emphasis role='blue'>F</emphasis>ramebuffer Console support [FRAMEBUFFER_CONSOLE]</screen> 38 # If [DRM] is selected as * or M, this must be selected: 39 [ /*] <emphasis role='blue'>F</emphasis>ramebuffer Console support [FRAMEBUFFER_CONSOLE]</screen> -
chapter10/kernel/x2apic.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE note PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> -
chapter11/afterlfs.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter11/chapter11.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter11/getcounted.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter11/reboot.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter11/theend.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter11/whatnow.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
gen-changelog.py
re49e2ea r9e76c64 77 77 ticket[pkg] = tic 78 78 79 hold_ticket = {'vim': '4500', 'iana-etc': '5006'} 80 79 81 print("Plain Text:") 80 82 for (s, act) in [(upd, "Update to "), (add, "Add ")]: … … 84 86 if pkgver in ticket: 85 87 out += ' (#' + ticket[pkgver] + ')' 88 elif i in hold_ticket: 89 out += ' (#' + hold_ticket[i] + ')' 86 90 print("-", out) 87 91 for i in rem: … … 100 104 out += " (security fix)" 101 105 out += "." 106 107 pkg_ticket = None 102 108 if pkgver in ticket: 103 109 out += " Fixes\n " 104 out += "<ulink url='&lfs-ticket-root;" + ticket[pkgver] + "'>#" 105 out += ticket[pkgver] + "</ulink>." 110 pkg_ticket = ticket[pkgver] 111 elif i in hold_ticket: 112 out += " Addresses\n " 113 pkg_ticket = hold_ticket[i] 114 115 if pkg_ticket: 116 out += "<ulink url='&lfs-ticket-root;" + pkg_ticket + "'>#" 117 out += pkg_ticket + "</ulink>." 106 118 out += "</para>" 107 119 print(out) -
general.ent
re49e2ea r9e76c64 93 93 <!ENTITY secadv "&lfs-root;lfs/advisories/"> 94 94 95 <!-- 4.1 4 EOL is Jan202496 so for LFS 1 1.5 we may consider moving to 4.19-->97 <!ENTITY min-kernel "4.1 4">95 <!-- 4.19 EOL is Dec 2024 96 so for LFS 12.3 we may consider moving to 5.4 --> 97 <!ENTITY min-kernel "4.19"> 98 98 99 99 <!-- … … 126 126 <!ENTITY pypi-home "https://pypi.org/project"> 127 127 <!ENTITY pypi-src "https://pypi.org/packages/source"> 128 <!ENTITY man "https://man.archlinux.org/man/"> 128 129 129 130 <!ENTITY root "<systemitem class='username'>root</systemitem>"> -
git-version.sh
re49e2ea r9e76c64 58 58 59 59 if [ "$(git diff HEAD | wc -l)" != "0" ]; then 60 version="$version +"61 versiond="$versiond +"60 version="$version-wip" 61 versiond="$versiond-wip" 62 62 fi 63 63 -
index.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ 3 3 <!ENTITY % general-entities SYSTEM "general.ent"> -
lfs-latest-git.php
re49e2ea r9e76c64 153 153 if ( $package == "vim" ) $dirpath = "https://github.com/vim/vim/tags"; 154 154 if ( $package == "wheel" ) $dirpath = "https://pypi.org/project/wheel/#files"; 155 if ( $package == "xz" ) $dirpath = github("tukaani-project/xz"); 155 156 if ( $package == "zlib" ) $dirpath = "https://www.zlib.net"; 156 157 if ( $package == "zstd" ) $dirpath = github("facebook/zstd"); -
packages.ent
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 3 3 <!-- Notes: … … 14 14 --> 15 15 16 <!ENTITY acl-version "2.3. 1">17 <!ENTITY acl-size "3 48KB">16 <!ENTITY acl-version "2.3.2"> 17 <!ENTITY acl-size "363 KB"> 18 18 <!ENTITY acl-url "&savannah;/releases/acl/acl-&acl-version;.tar.xz"> 19 <!ENTITY acl-md5 " 95ce715fe09acca7c12d3306d0f076b2">19 <!ENTITY acl-md5 "590765dee95907dbc3c856f7255bd669"> 20 20 <!ENTITY acl-home "&savannah-nongnu;/projects/acl"> 21 21 <!ENTITY acl-fin-du "6.1 MB"> 22 22 <!ENTITY acl-fin-sbu "less than 0.1 SBU"> 23 23 24 <!ENTITY attr-version "2.5. 1">25 <!ENTITY attr-size "4 56KB">24 <!ENTITY attr-version "2.5.2"> 25 <!ENTITY attr-size "484 KB"> 26 26 <!ENTITY attr-url "&savannah;/releases/attr/attr-&attr-version;.tar.gz"> 27 <!ENTITY attr-md5 " ac1c5a7a084f0f83b8cace34211f64d8">27 <!ENTITY attr-md5 "227043ec2f6ca03c0948df5517f9c927"> 28 28 <!ENTITY attr-home "&savannah-nongnu;/projects/attr"> 29 29 <!ENTITY attr-fin-du "4.1 MB"> 30 30 <!ENTITY attr-fin-sbu "less than 0.1 SBU"> 31 31 32 <!ENTITY autoconf-version "2.7 1">33 <!ENTITY autoconf-size "1, 263KB">32 <!ENTITY autoconf-version "2.72"> 33 <!ENTITY autoconf-size "1,360 KB"> 34 34 <!ENTITY autoconf-url "&gnu;autoconf/autoconf-&autoconf-version;.tar.xz"> 35 <!ENTITY autoconf-md5 "1 2cfa1687ffa2606337efe1a64416106">35 <!ENTITY autoconf-md5 "1be79f7106ab6767f18391c5e22be701"> 36 36 <!ENTITY autoconf-home "&gnu-software;autoconf/"> 37 37 <!ENTITY autoconf-fin-du "24 MB"> … … 58 58 <!ENTITY bash-fin-sbu "1.1 SBU"> 59 59 60 <!ENTITY bc-version "6.7. 2">61 <!ENTITY bc-size "4 56KB">60 <!ENTITY bc-version "6.7.5"> 61 <!ENTITY bc-size "460 KB"> 62 62 <!ENTITY bc-url "https://github.com/gavinhoward/bc/releases/download/&bc-version;/bc-&bc-version;.tar.xz"> 63 <!ENTITY bc-md5 " 27c217ea495f73758f548eb2c6e10244">63 <!ENTITY bc-md5 "e249b1f86f886d6fb71c15f72b65dd3d"> 64 64 <!ENTITY bc-home "https://git.gavinhoward.com/gavin/bc"> 65 65 <!ENTITY bc-fin-du "7.7 MB"> 66 66 <!ENTITY bc-fin-sbu "less than 0.1 SBU"> 67 67 68 <!ENTITY binutils-version "2.4 1">69 <!ENTITY binutils-size "26, 139KB">68 <!ENTITY binutils-version "2.42"> 69 <!ENTITY binutils-size "26,922 KB"> 70 70 <!ENTITY binutils-url "https://sourceware.org/pub/binutils/releases/binutils-&binutils-version;.tar.xz"> 71 <!ENTITY binutils-md5 " 256d7e0ad998e423030c84483a7c1e30">71 <!ENTITY binutils-md5 "a075178a9646551379bfb64040487715"> 72 72 <!ENTITY binutils-home "&gnu-software;binutils/"> 73 73 <!ENTITY binutils-tmpp1-du "647 MB"> … … 246 246 <!ENTITY gdbm-fin-sbu "less than 0.1 SBU"> 247 247 248 <!ENTITY gettext-version "0.22. 3">249 <!ENTITY gettext-size " 9,997KB">248 <!ENTITY gettext-version "0.22.4"> 249 <!ENTITY gettext-size "10,016 KB"> 250 250 <!ENTITY gettext-url "&gnu;gettext/gettext-&gettext-version;.tar.xz"> 251 <!ENTITY gettext-md5 " 460b38ae5e520253dcd06165dd3e281f">251 <!ENTITY gettext-md5 "2d8507d003ef3ddd1c172707ffa97ed8"> 252 252 <!ENTITY gettext-home "&gnu-software;gettext/"> 253 253 <!ENTITY gettext-tmp-du "306 MB"> … … 256 256 <!ENTITY gettext-fin-sbu "1.4 SBU"> 257 257 258 <!ENTITY glibc-version "2.3 8">259 <!ENTITY glibc-size "18, 471KB">258 <!ENTITY glibc-version "2.39"> 259 <!ENTITY glibc-size "18,092 KB"> 260 260 <!ENTITY glibc-url "&gnu;glibc/glibc-&glibc-version;.tar.xz"> 261 <!ENTITY glibc-md5 " 778cce0ea6bf7f84ca8caacf4a01f45b">261 <!ENTITY glibc-md5 "be81e87f72b5ea2c0ffe2bedfeb680c6"> 262 262 <!ENTITY glibc-home "&gnu-software;libc/"> 263 263 <!ENTITY glibc-tmp-du "858 MB"> … … 300 300 <!ENTITY groff-fin-sbu "0.2 SBU"> 301 301 302 <!ENTITY grub-version "2. 06">303 <!ENTITY grub-size "6, 428KB">302 <!ENTITY grub-version "2.12"> 303 <!ENTITY grub-size "6,524 KB"> 304 304 <!ENTITY grub-url "https://ftp.gnu.org/gnu/grub/grub-&grub-version;.tar.xz"> 305 <!ENTITY grub-md5 " cf0fd928b1e5479c8108ee52cb114363">305 <!ENTITY grub-md5 "60c564b1bdc39d8e43b3aab4bc0fb140"> 306 306 <!ENTITY grub-home "&gnu-software;grub/"> 307 307 <!ENTITY grub-fin-du "161 MB"> … … 320 320 <!ENTITY gzip-fin-sbu "0.3 SBU"> 321 321 322 <!ENTITY iana-etc-version "202 31107">322 <!ENTITY iana-etc-version "20240125"> 323 323 <!ENTITY iana-etc-size "589 KB"> 324 324 <!ENTITY iana-etc-url "https://github.com/Mic92/iana-etc/releases/download/&iana-etc-version;/iana-etc-&iana-etc-version;.tar.gz"> 325 <!ENTITY iana-etc-md5 " 01331998d26d5beb592c12b06b2eeb24">325 <!ENTITY iana-etc-md5 "aed66d04de615d76c70890233081e584"> 326 326 <!ENTITY iana-etc-home "https://www.iana.org/protocols"> 327 327 <!ENTITY iana-etc-fin-du "4.8 MB"> 328 328 <!ENTITY iana-etc-fin-sbu "less than 0.1 SBU"> 329 329 330 <!ENTITY inetutils-version "2. 4">331 <!ENTITY inetutils-size "1, 522 KB">330 <!ENTITY inetutils-version "2.5"> 331 <!ENTITY inetutils-size "1,632 KB"> 332 332 <!ENTITY inetutils-url "&gnu;inetutils/inetutils-&inetutils-version;.tar.xz"> 333 <!ENTITY inetutils-md5 " 319d65bb5a6f1847c4810651f3b4ba74">333 <!ENTITY inetutils-md5 "9e5a6dfd2d794dc056a770e8ad4a9263"> 334 334 <!ENTITY inetutils-home "&gnu-software;inetutils/"> 335 335 <!ENTITY inetutils-fin-du "31 MB"> … … 344 344 <!ENTITY intltool-fin-sbu "less than 0.1 SBU"> 345 345 346 <!ENTITY iproute2-version "6. 6.0">347 <!ENTITY iproute2-size " 897KB">346 <!ENTITY iproute2-version "6.7.0"> 347 <!ENTITY iproute2-size "900 KB"> 348 348 <!ENTITY iproute2-url "&kernel;linux/utils/net/iproute2/iproute2-&iproute2-version;.tar.xz"> 349 <!ENTITY iproute2-md5 " 6716fc3188dbea226997fa2478a190d7">349 <!ENTITY iproute2-md5 "35d8277d1469596b7edc07a51470a033"> 350 350 <!ENTITY iproute2-home "&kernel;linux/utils/net/iproute2/"> 351 351 <!ENTITY iproute2-fin-du "17 MB"> … … 354 354 <!ENTITY iproute2-tmp-sbu "less than 0.1 SBU"> 355 355 356 <!ENTITY jinja2-version "3.1. 2">357 <!ENTITY jinja2-size "26 2KB">356 <!ENTITY jinja2-version "3.1.3"> 357 <!ENTITY jinja2-size "264 KB"> 358 358 <!ENTITY jinja2-url "&pypi-src;/J/Jinja2/Jinja2-&jinja2-version;.tar.gz"> 359 <!ENTITY jinja2-md5 " d31148abd89c1df1cdb077a55db27d02">360 <!ENTITY jinja2-home "https://jinja.palletsprojects.com/en/3. 0.x/">359 <!ENTITY jinja2-md5 "caf5418c851eac59e70a78d9730d4cea"> 360 <!ENTITY jinja2-home "https://jinja.palletsprojects.com/en/3.1.x/"> 361 361 <!ENTITY jinja2-fin-du "3.4 MB"> 362 362 <!ENTITY jinja2-fin-sbu "less than 0.1 SBU"> 363 363 364 <!ENTITY kbd-version "2.6. 3">365 <!ENTITY kbd-size "1,4 68KB">364 <!ENTITY kbd-version "2.6.4"> 365 <!ENTITY kbd-size "1,470 KB"> 366 366 <!ENTITY kbd-url "https://www.kernel.org/pub/linux/utils/kbd/kbd-&kbd-version;.tar.xz"> 367 <!ENTITY kbd-md5 " 4764775cac0415f1d35a0cd311249941">367 <!ENTITY kbd-md5 "e2fd7adccf6b1e98eb1ae8d5a1ce5762"> 368 368 <!ENTITY kbd-home "https://kbd-project.org/"> 369 369 <!ENTITY kbd-fin-du "35 MB"> … … 435 435 436 436 <!ENTITY linux-major-version "6"> 437 <!ENTITY linux-minor-version " 6">438 <!ENTITY linux-patch-version " 1">437 <!ENTITY linux-minor-version "7"> 438 <!ENTITY linux-patch-version "3"> 439 439 <!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">--> 440 440 <!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;"> 441 <!ENTITY linux-size "13 6,730KB">441 <!ENTITY linux-size "138,128 KB"> 442 442 <!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz"> 443 <!ENTITY linux-md5 " 90291279ca684fb8cfa59b2ae75b6fe0">443 <!ENTITY linux-md5 "a542a2aea4db4cf09e932fff02c8d1d1"> 444 444 <!ENTITY linux-home "https://www.kernel.org/"> 445 445 <!-- measured for 6.5.3 / gcc-13.2.0 on x86_64 with -j4 : minimum is … … 495 495 <!ENTITY man-pages-fin-sbu "less than 0.1 SBU"> 496 496 497 <!ENTITY markupsafe-version "2.1. 3">498 <!ENTITY markupsafe-size " 19KB">497 <!ENTITY markupsafe-version "2.1.4"> 498 <!ENTITY markupsafe-size "20 KB"> 499 499 <!ENTITY markupsafe-url "&pypi-src;/M/MarkupSafe/MarkupSafe-&markupsafe-version;.tar.gz"> 500 <!ENTITY markupsafe-md5 " ca33f119bd0551ce15837f58bb180214">500 <!ENTITY markupsafe-md5 "8138329a11cf4bd0f9db780b2af26c66"> 501 501 <!ENTITY markupsafe-home "https://palletsprojects.com/p/markupsafe/"> 502 502 <!ENTITY markupsafe-fin-du "548 KB"> 503 503 <!ENTITY markupsafe-fin-sbu "less than 0.1 SBU"> 504 504 505 <!ENTITY meson-version "1. 2.3">506 <!ENTITY meson-size "2,1 34KB">505 <!ENTITY meson-version "1.3.1"> 506 <!ENTITY meson-size "2,172 KB"> 507 507 <!ENTITY meson-url "&github;/mesonbuild/meson/releases/download/&meson-version;/meson-&meson-version;.tar.gz"> 508 <!ENTITY meson-md5 " 69da4c63ef06c9d3bcc00ce89abb306f">508 <!ENTITY meson-md5 "dd404b8c0f8b79f80181b4a58bb81768"> 509 509 <!ENTITY meson-home "https://mesonbuild.com"> 510 510 <!ENTITY meson-fin-du "42 MB"> … … 527 527 <!ENTITY mpfr-fin-sbu "0.2 SBU"> 528 528 529 <!ENTITY ncurses-version "6.4"> 530 <!ENTITY ncurses-size "3,528 KB"> 531 <!ENTITY ncurses-url "https://invisible-mirror.net/archives/ncurses/ncurses-&ncurses-version;.tar.gz"> 532 <!ENTITY ncurses-md5 "5a62487b5d4ac6b132fe2bf9f8fad29b"> 529 <!ENTITY ncurses-release "6.4"> 530 <!ENTITY ncurses-version "&ncurses-release;-20230520"> 531 <!ENTITY ncurses-size "2,156 KB"> 532 <!-- switch back to invisible-mirror.net for 6.5 --> 533 <!--ENTITY ncurses-url "https://invisible-mirror.net/archives/ncurses/ncurses-&ncurses-version;.tar.gz"--> 534 <!ENTITY ncurses-url "&anduin-sources;/ncurses-&ncurses-version;.tar.xz"> 535 <!ENTITY ncurses-md5 "c5367e829b6d9f3f97b280bb3e6bfbc3"> 533 536 <!ENTITY ncurses-home "&gnu-software;ncurses/"> 534 537 <!ENTITY ncurses-tmp-du "51 MB"> … … 545 548 <!ENTITY ninja-fin-sbu "0.3 SBU"> 546 549 547 <!ENTITY openssl-version "3. 1.4">548 <!ENTITY openssl-size "1 5,205KB">550 <!ENTITY openssl-version "3.2.1"> 551 <!ENTITY openssl-size "17,318 KB"> 549 552 <!ENTITY openssl-url "https://www.openssl.org/source/openssl-&openssl-version;.tar.gz"> 550 <!ENTITY openssl-md5 " 653ad58812c751b887e8ec37e02bba70">553 <!ENTITY openssl-md5 "c239213887804ba00654884918b37441"> 551 554 <!ENTITY openssl-home "https://www.openssl.org/"> 552 555 <!ENTITY openssl-fin-du "587 MB"> … … 565 568 <!ENTITY perl-version-major "5"> 566 569 <!ENTITY perl-version-minor "38"> 567 <!ENTITY perl-version-patch " 0">570 <!ENTITY perl-version-patch "2"> 568 571 <!ENTITY perl-version-min "&perl-version-major;.&perl-version-minor;"> 569 572 <!ENTITY perl-version "&perl-version-major;.&perl-version-minor;.&perl-version-patch;"> 570 <!ENTITY perl-size "13, 248KB">573 <!ENTITY perl-size "13,359 KB"> 571 574 <!ENTITY perl-url "https://www.cpan.org/src/5.0/perl-&perl-version;.tar.xz"> 572 <!ENTITY perl-md5 " e1c8aaec897dd386c741f97eef9f2e87">575 <!ENTITY perl-md5 "d3957d75042918a23ec0abac4a2b7e0a"> 573 576 <!ENTITY perl-home "https://www.perl.org/"> 574 577 <!ENTITY perl-tmp-du "280 MB"> … … 577 580 <!ENTITY perl-fin-sbu "7.1 SBU"> 578 581 579 <!ENTITY pkgconf-version "2. 0.3">580 <!ENTITY pkgconf-size "30 4KB">582 <!ENTITY pkgconf-version "2.1.0"> 583 <!ENTITY pkgconf-size "305 KB"> 581 584 <!ENTITY pkgconf-url "https://distfiles.ariadne.space/pkgconf/pkgconf-&pkgconf-version;.tar.xz"> 582 <!ENTITY pkgconf-md5 " b82ca48ed3097adfa007ee71489b6719">585 <!ENTITY pkgconf-md5 "0f2eadbb9dea5aed95147272ae1592cc"> 583 586 <!ENTITY pkgconf-home "http://pkgconf.org/"> 584 587 <!ENTITY pkgconf-fin-du "4.6 MB"> … … 604 607 meson pages will be needed: python3.6 and python3.6m --> 605 608 606 <!ENTITY python-version "3.12. 0">609 <!ENTITY python-version "3.12.1"> 607 610 <!ENTITY python-minor "3.12"> 608 <!ENTITY python-size "20, 093KB">611 <!ENTITY python-size "20,102 KB"> 609 612 <!ENTITY python-url "https://www.python.org/ftp/python/&python-version;/Python-&python-version;.tar.xz"> 610 <!ENTITY python-md5 " f6f4616584b23254d165f4db90c247d6">613 <!ENTITY python-md5 "50f827c800483776c8ef86e6a53831fa"> 611 614 <!ENTITY python-home "https://www.python.org/"> 612 615 <!ENTITY python-tmp-du "533 MB"> … … 615 618 <!ENTITY python-fin-sbu "1.9 SBU"> 616 619 <!ENTITY python-docs-url "https://www.python.org/ftp/python/doc/&python-version;/python-&python-version;-docs-html.tar.bz2"> 617 <!ENTITY python-docs-md5 " ae9d19bb613ae8ef2457496bd2893915">618 <!ENTITY python-docs-size " 8,009KB">620 <!ENTITY python-docs-md5 "d5c21b804c219b06256495eae30fd153"> 621 <!ENTITY python-docs-size "7,998 KB"> 619 622 620 623 <!ENTITY readline-version "8.2"> … … 637 640 <!ENTITY sed-fin-sbu "0.3 SBU"> 638 641 639 <!ENTITY setuptools-version "6 8.2.2">640 <!ENTITY setuptools-size "2,1 52KB">642 <!ENTITY setuptools-version "69.0.3"> 643 <!ENTITY setuptools-size "2,168 KB"> 641 644 <!ENTITY setuptools-url "&pypi-src;/s/setuptools/setuptools-&setuptools-version;.tar.gz"> 642 <!ENTITY setuptools-md5 " d967ca2ba7f46db887daee2d5c9bd6a2">645 <!ENTITY setuptools-md5 "b82de45aaa6b9bb911226660212ebb83"> 643 646 <!ENTITY setuptools-home "&pypi-home;/setuptools/"> 644 647 <!ENTITY setuptools-fin-du "30 MB"> 645 648 <!ENTITY setuptools-fin-sbu "0.1 SBU"> 646 649 647 <!ENTITY shadow-version "4.14. 2">648 <!ENTITY shadow-size "1,7 58KB">650 <!ENTITY shadow-version "4.14.3"> 651 <!ENTITY shadow-size "1,760 KB"> 649 652 <!ENTITY shadow-url "&github;/shadow-maint/shadow/releases/download/&shadow-version;/shadow-&shadow-version;.tar.xz"> 650 <!ENTITY shadow-md5 " effc1aa17590305647413125b966f1dd">653 <!ENTITY shadow-md5 "b9a7f56d0c63297c0d11d742be2f8ffd"> 651 654 <!ENTITY shadow-home "&github;/shadow-maint/shadow/"> 652 655 <!ENTITY shadow-fin-du "46 MB"> … … 661 664 <!ENTITY sysklogd-fin-sbu "less than 0.1 SBU"> 662 665 663 <!ENTITY systemd-version "25 4">666 <!ENTITY systemd-version "255"> 664 667 <!--<!ENTITY systemd-stable "6b4878d">--> 665 668 <!-- The above entity is used whenever we move to a stable backport branch. In the event of a critical problem or kernel 666 669 change that is incompatible, we will switch to the backport branch until the next stable release. --> 667 <!ENTITY systemd-size "1 3,985KB">670 <!ENTITY systemd-size "14,516 KB"> 668 671 <!ENTITY systemd-url "&github;/systemd/systemd/archive/v&systemd-version;/systemd-&systemd-version;.tar.gz"> 669 672 <!--<!ENTITY systemd-url "&anduin-sources;/systemd-&systemd-version;-&systemd-stable;.tar.xz">--> 670 <!ENTITY systemd-md5 " 0d266e5361dc72097b6c18cfde1c0001">673 <!ENTITY systemd-md5 "521cda27409a9edf0370c128fae3e690"> 671 674 <!ENTITY systemd-home "https://www.freedesktop.org/wiki/Software/systemd/"> 672 <!ENTITY systemd-man-version "25 4">673 <!ENTITY systemd-man-size "6 26KB">675 <!ENTITY systemd-man-version "255"> 676 <!ENTITY systemd-man-size "652 KB"> 674 677 <!--<!ENTITY systemd-man-url "&anduin-sources;/systemd-man-pages-&systemd-version;-&systemd-stable;.tar.xz">--> 675 678 <!ENTITY systemd-man-url "&anduin-sources;/systemd-man-pages-&systemd-man-version;.tar.xz"> 676 <!ENTITY systemd-man-md5 " fc32faeac581e1890ca27fcea3858410">679 <!ENTITY systemd-man-md5 "1ebe54d7a80f9abf8f2d14ddfeb2432d"> 677 680 <!ENTITY systemd-fin-du "238 MB"> 678 681 <!ENTITY systemd-fin-sbu "0.7 SBU"> … … 718 721 <!ENTITY texinfo-fin-sbu "0.3 SBU"> 719 722 720 <!ENTITY tzdata-version "202 3c">721 <!ENTITY tzdata-size "4 36KB">723 <!ENTITY tzdata-version "2024a"> 724 <!ENTITY tzdata-size "444 KB"> 722 725 <!ENTITY tzdata-url "https://www.iana.org/time-zones/repository/releases/tzdata&tzdata-version;.tar.gz"> 723 <!ENTITY tzdata-md5 " 5aa672bf129b44dd915f8232de38e49a">726 <!ENTITY tzdata-md5 "2349edd8335245525cc082f2755d5bf4"> 724 727 <!ENTITY tzdata-home "https://www.iana.org/time-zones"> 725 728 … … 734 737 735 738 <!ENTITY util-linux-minor "2.39"> 736 <!ENTITY util-linux-version "2.39. 2"> <!-- 2.33.x -->737 <!ENTITY util-linux-size "8, 167 KB">739 <!ENTITY util-linux-version "2.39.3"> <!-- 2.33.x --> 740 <!ENTITY util-linux-size "8,327 KB"> 738 741 <!ENTITY util-linux-url "&kernel;linux/utils/util-linux/v&util-linux-minor;/util-linux-&util-linux-version;.tar.xz"> 739 <!ENTITY util-linux-md5 " 2feb3e7c306f336a3d22a182dfffc942">742 <!ENTITY util-linux-md5 "f3591e6970c017bb4bcd24ae762a98f5"> 740 743 <!ENTITY util-linux-home "https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/"> 741 744 <!ENTITY util-linux-tmp-du "169 MB"> … … 747 750 <!ENTITY mount-setsid-sbu "less than 0.1 SBU"> 748 751 749 <!ENTITY vim-version "9. 0.2103">752 <!ENTITY vim-version "9.1.0041"> 750 753 <!-- <!ENTITY vim-majmin "90"> --> 751 <!ENTITY vim-docdir "vim/vim9 0">752 <!ENTITY vim-size "1 1,193KB">753 <! --<!ENTITY vim-url "https://github.com/vim/vim/archive/v&vim-version;/vim-&vim-version;.tar.gz">-->754 <! ENTITY vim-url "&anduin-sources;/vim-&vim-version;.tar.xz">755 <!ENTITY vim-md5 " 1af1d018026234d085a82348703461ce">754 <!ENTITY vim-docdir "vim/vim91"> 755 <!ENTITY vim-size "17,224 KB"> 756 <!ENTITY vim-url "https://github.com/vim/vim/archive/v&vim-version;/vim-&vim-version;.tar.gz"> 757 <!--<!ENTITY vim-url "&anduin-sources;/vim-&vim-version;.tar.gz">--> 758 <!ENTITY vim-md5 "79dfe62be5d347b1325cbd5ce2a1f9b3"> 756 759 <!ENTITY vim-home "https://www.vim.org"> 757 760 <!ENTITY vim-fin-du "229 MB"> 758 761 <!ENTITY vim-fin-sbu "2.3 SBU"> 759 762 760 <!ENTITY wheel-version "0.4 1.3">763 <!ENTITY wheel-version "0.42.0"> 761 764 <!ENTITY wheel-size "97 KB"> 762 765 <!ENTITY wheel-url "&pypi-src;/w/wheel/wheel-&wheel-version;.tar.gz"> 763 <!ENTITY wheel-md5 " c66db2f3a50d5659994fa974138d4002">766 <!ENTITY wheel-md5 "802ad6e5f9336fcb1c76b7593f0cd22d"> 764 767 <!ENTITY wheel-home "&pypi-home;/wheel/"> 765 768 <!ENTITY wheel-fin-du "1.5 MB"> 766 769 <!ENTITY wheel-fin-sbu "less than 0.1 SBU"> 767 770 768 <!ENTITY xml-parser-version "2.4 6">769 <!ENTITY xml-parser-size "2 49KB">771 <!ENTITY xml-parser-version "2.47"> 772 <!ENTITY xml-parser-size "276 KB"> 770 773 <!ENTITY xml-parser-url "https://cpan.metacpan.org/authors/id/T/TO/TODDR/XML-Parser-&xml-parser-version;.tar.gz"> 771 <!ENTITY xml-parser-md5 "8 0bb18a8e6240fcf7ec2f7b57601c170">774 <!ENTITY xml-parser-md5 "89a8e82cfd2ad948b349c0a69c494463"> 772 775 <!ENTITY xml-parser-home "&github;/chorny/XML-Parser"> 773 776 <!ENTITY xml-parser-fin-du "2.3 MB"> 774 777 <!ENTITY xml-parser-fin-sbu "less than 0.1 SBU"> 775 778 776 <!ENTITY xz-version "5.4. 5">777 <!ENTITY xz-size "1,64 2KB">778 <!ENTITY xz-url "https:// tukaani.org/xz/xz-&xz-version;.tar.xz">779 <!ENTITY xz-md5 " 1d33e0be05c53e7a5641acf5c8b35fdd">779 <!ENTITY xz-version "5.4.6"> 780 <!ENTITY xz-size "1,645 KB"> 781 <!ENTITY xz-url "https://github.com/tukaani-project/xz/releases/download/v&xz-version;/xz-&xz-version;.tar.xz"> 782 <!ENTITY xz-md5 "7ade7bd1181a731328f875bec62a9377"> 780 783 <!ENTITY xz-home "https://tukaani.org/xz"> 781 784 <!ENTITY xz-tmp-du "22 MB"> … … 784 787 <!ENTITY xz-fin-sbu "0.1 SBU"> 785 788 786 <!ENTITY zlib-version "1.3 ">787 <!ENTITY zlib-size "1,4 61KB">789 <!ENTITY zlib-version "1.3.1"> 790 <!ENTITY zlib-size "1,478 KB"> 788 791 <!-- DO NOT remove "fossils"! 789 792 The upstream removes https://zlib.net/zlib-&zlib-version;.tar.xz … … 791 794 Unfortunately there is no .xz files in fossils directory. --> 792 795 <!ENTITY zlib-url "https://zlib.net/fossils/zlib-&zlib-version;.tar.gz"> 793 <!ENTITY zlib-md5 " 60373b133d630f74f4a1f94c1185a53f">796 <!ENTITY zlib-md5 "9855b6d802d7fe5b7bd5b196a2271655"> 794 797 <!ENTITY zlib-home "https://zlib.net/"> 795 798 <!ENTITY zlib-fin-du "6.2 MB"> -
part3intro/generalinstructions.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
part3intro/introduction.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
part3intro/part3intro.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
part3intro/toolchaintechnotes.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 57 57 <varlistentry><term>The build</term><listitem> 58 58 <para>is the machine where we build programs. Note that this machine 59 is also referred to as the <quote>host </quote>.</para></listitem>59 is also referred to as the <quote>host.</quote></para></listitem> 60 60 </varlistentry> 61 61 -
patches.ent
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 3 3 <!-- Start of Common Patches --> 4 5 <!ENTITY bash-upstream-fixes-patch "bash-&bash-version;-upstream_fixes-1.patch"> 6 <!ENTITY bash-upstream-fixes-patch-md5 "2d1691a629c558e894dbb78ee6bf34ef"> 7 <!ENTITY bash-upstream-fixes-patch-size "5.9 KB"> 4 8 5 9 <!ENTITY bzip2-docs-patch "bzip2-&bzip2-version;-install_docs-1.patch"> … … 14 18 <!ENTITY glibc-fhs-patch-md5 "9a5997c3452909b1769918c759eff8a2"> 15 19 <!ENTITY glibc-fhs-patch-size "2.8 KB"> 16 17 <!ENTITY glibc-upstream-fixes-patch "glibc-&glibc-version;-upstream_fixes-3.patch"> 18 <!ENTITY glibc-upstream-fixes-patch-md5 "545977e0b5c341ba945cf4b5de92f1e2"> 19 <!ENTITY glibc-upstream-fixes-patch-size "28 KB"> 20 21 <!ENTITY grub-upstream-fixes-patch "grub-&grub-version;-upstream_fixes-1.patch"> 22 <!ENTITY grub-upstream-fixes-patch-md5 "da388905710bb4cbfbc7bd7346ff9174"> 23 <!ENTITY grub-upstream-fixes-patch-size "8 KB"> 24 20 <!-- 21 <!ENTITY glibc-upstream-fixes-patch "glibc-&glibc-version;-upstream_fixes-4.patch"> 22 <!ENTITY glibc-upstream-fixes-patch-md5 "66e843b00688c641c9bdda684db45b43"> 23 <!ENTITY glibc-upstream-fixes-patch-size "36 KB"> 24 --> 25 25 <!ENTITY kbd-backspace-patch "kbd-&kbd-version;-backspace-1.patch"> 26 26 <!ENTITY kbd-backspace-patch-md5 "f75cca16a38da6caa7d52151f7136895"> 27 27 <!ENTITY kbd-backspace-patch-size "12 KB"> 28 28 29 <!ENTITY readline-fixes-patch "readline-&readline-version;-upstream_fix-1.patch"> 30 <!ENTITY readline-fixes-patch-md5 "dd1764b84cfca6b677f44978218a75da"> 31 <!ENTITY readline-fixes-patch-size "1.3 KB"> 29 <!ENTITY pkgconf-upstream-fix-patch "pkgconf-&pkgconf-version;-upstream_fix-1.patch"> 30 <!ENTITY pkgconf-upstream-fix-patch-md5 "77d5bb10840724a0e3dc08efee548363"> 31 <!ENTITY pkgconf-upstream-fix-patch-size "4 KB"> 32 33 <!ENTITY readline-fixes-patch "readline-&readline-version;-upstream_fixes-3.patch"> 34 <!ENTITY readline-fixes-patch-md5 "9ed497b6cb8adcb8dbda9dee9ebce791"> 35 <!ENTITY readline-fixes-patch-size "13 KB"> 32 36 33 37 <!ENTITY sysvinit-consolidated-patch "sysvinit-&sysvinit-version;-consolidated-1.patch"> -
prologue/architecture.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
prologue/audience.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
prologue/bookinfo.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE bookinfo PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
prologue/dedication.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE dedication PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
prologue/errata.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
prologue/foreword.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
prologue/organization.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
prologue/preface.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE preface PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
prologue/prerequisites.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
prologue/standards.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 50 50 51 51 <para>While it is possible to create a complete system that will pass the LSB 52 certification tests "from scratch",this can't be done without many additional packages52 certification tests <quote>from scratch,</quote> this can't be done without many additional packages 53 53 that are beyond the scope of the LFS book. Installation instructions for these 54 54 additional packages can be found in BLFS. </para> -
prologue/typography.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 75 75 <para>This format is used to encapsulate text that is optional.</para> 76 76 77 <para>< filename>passwd(5)</filename></para>77 <para><ulink role='man' url='&man;passwd.5'>passwd(5)</ulink></para> 78 78 79 79 <para>This format is used to refer to a specific manual (man) page. The number inside parentheses … … 82 82 those two man pages will be located at 83 83 <filename>/usr/share/man/man1/passwd.1</filename> and 84 <filename>/usr/share/man/man5/passwd.5</filename>. When the book uses <filename>passwd(5)</filename> it is 84 <filename>/usr/share/man/man5/passwd.5</filename>. When the book uses 85 <ulink role='man' url='&man;/passwd.5'>passwd(5)</ulink> it is 85 86 specifically referring to <filename>/usr/share/man/man5/passwd.5</filename>. 86 87 <command>man passwd</command> will print the first man page it finds that 87 matches <quote>passwd </quote>,which will be88 matches <quote>passwd,</quote> which will be 88 89 <filename>/usr/share/man/man1/passwd.1</filename>. For this example, you will 89 90 need to run <command>man 5 passwd</command> in order to read the page 90 91 being specified. Note that most man pages do not have duplicate 91 92 page names in different sections. Therefore, <command>man <replaceable><program 92 name></replaceable></command> is generally sufficient.</para> 93 name></replaceable></command> is generally sufficient. In the LFS 94 book these references to man pages are also hyperlinks, so clicking on 95 such a reference will open the man page rendered in HTML from 96 <ulink url='https://man.archlinux.org/'>Arch Linux manual 97 pages</ulink>.</para> 93 98 94 99 </sect1> -
prologue/why.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
stylesheets/dump-commands.xsl
re49e2ea r9e76c64 1 <?xml version="1.0" ?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 3 xmlns:exsl="http://exslt.org/common"4 extension-element-prefixes="exsl"5 version="1.0">3 xmlns:exsl="http://exslt.org/common" 4 extension-element-prefixes="exsl" 5 version="1.0"> 6 6 7 7 <!-- XSLT stylesheet to extract commands from [B,H]LFS books. --> -
stylesheets/lfs-chunked.xsl
re49e2ea r9e76c64 1 <?xml version='1.0' encoding=' ISO-8859-1'?>1 <?xml version='1.0' encoding='UTF-8'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" -
stylesheets/lfs-nochunks.xsl
re49e2ea r9e76c64 1 <?xml version='1.0' encoding=' ISO-8859-1'?>1 <?xml version='1.0' encoding='UTF-8'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" -
stylesheets/lfs-pdf.xsl
re49e2ea r9e76c64 1 <?xml version='1.0' encoding=' ISO-8859-1'?>1 <?xml version='1.0' encoding='UTF-8'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" -
stylesheets/lfs-xsl/chunk-master.xsl
re49e2ea r9e76c64 1 <?xml version='1.0' encoding=' ISO-8859-1'?>1 <?xml version='1.0' encoding='UTF-8'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" -
stylesheets/lfs-xsl/chunk-slave.xsl
re49e2ea r9e76c64 1 <?xml version='1.0' encoding=' ISO-8859-1'?>1 <?xml version='1.0' encoding='UTF-8'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" … … 11 11 <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/> 12 12 13 <!-- Use ISO-8859-1 for output instead of default UTF-8 --> 14 <xsl:param name="chunker.output.encoding" select="'ISO-8859-1'"/> 13 <xsl:param name="chunker.output.method" select="'xml'"/> 14 <xsl:param name="chunker.output.encoding" select="'UTF-8'"/> 15 <xsl:param name="chunker.output.media-type" select="'application/xhtml+xml'"/> 16 <xsl:param name="chunker.output.doctype-public" select="'-//W3C//DTD XHTML 1.0 Strict//EN'"/> 17 <xsl:param name="chunker.output.doctype-system" select="'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'"/> 18 <xsl:param name="chunker.output.omit-xml-declaration" select="'yes'"/> 19 <xsl:param name="chunker.output.indent" select="'no'"/> 15 20 16 21 <!-- Including our customized elements templates --> … … 34 39 <xsl:param name="ulink.target" select="''"/> 35 40 <xsl:param name="css.decoration" select="0"/> 36 37 <!-- No XML declaration -->38 <xsl:param name="chunker.output.omit-xml-declaration" select="'yes'"/>39 41 40 42 <!-- Control generation of ToCs and LoTs --> -
stylesheets/lfs-xsl/chunkfast.xsl
re49e2ea r9e76c64 1 <?xml version='1.0' encoding=' ISO-8859-1'?>1 <?xml version='1.0' encoding='UTF-8'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" -
stylesheets/lfs-xsl/common.xsl
re49e2ea r9e76c64 1 <?xml version='1.0' encoding=' ISO-8859-1'?>1 <?xml version='1.0' encoding='UTF-8'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" -
stylesheets/lfs-xsl/lfs-l10n.xml
re49e2ea r9e76c64 1 <?xml version='1.0' encoding='ISO-8859-1'?> 1 <?xml version='1.0' encoding='UTF-8'?> 2 <!DOCTYPE l:i18n SYSTEM "https://cdn.docbook.org/release/xsl-nons/current/common/l10n.dtd"> 2 3 3 4 <l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0"> … … 72 73 language="es" english-language-name="Spanish"> 73 74 74 <l:gentext key="description" text="descripci ón"/>75 <l:gentext key="description" text="descripción"/> 75 76 <l:gentext key="Bootscripts" text="Guiones de arranque"/> 76 <l:gentext key="Configuration Files" text="Ficheros de configuraci ón"/>77 <l:gentext key="Kernel Configuration" text="Configuraci ón del núcleo"/>78 <l:gentext key="Libraries" text="Librer ías"/>77 <l:gentext key="Configuration Files" text="Ficheros de configuración"/> 78 <l:gentext key="Kernel Configuration" text="Configuración del núcleo"/> 79 <l:gentext key="Libraries" text="Librerías"/> 79 80 <l:gentext key="Others" text="Otros"/> 80 81 <l:gentext key="Packages" text="Paquetes"/> -
stylesheets/lfs-xsl/lfs.css
re49e2ea r9e76c64 1 1 /* Global settings */ 2 2 body { 3 font-family: verdana, tahoma, helvetica,arial, sans-serif;3 font-family: verdana, tahoma, arial, sans-serif; 4 4 text-align: left; 5 5 background: #fff; … … 8 8 padding: 0; 9 9 font-size: 1em; 10 line-height: 1.2em 10 line-height: 1.2em; 11 11 } 12 12 … … 39 39 } 40 40 41 42 /* Sections */ 43 div.sect1, div.appendix { 44 padding-left: .3em; 41 /* Section titles */ 42 h1.sect1, h1.preface, h1.part, h1.chapter, h1.appendix, .glossary h1, .index h1 43 { 44 background: #f5f6f7; 45 border-bottom: .1em solid #dbddec; 46 margin-bottom:1em; 47 margin-top: 0; 48 padding: .4em; 49 } 50 51 /* Scrolling parts 52 The header is taller for sect1 and chapter pages than on the 53 other pages. Since we want fixed boxes, their top has to be calculated 54 by trial and errors to fit below the static header box.*/ 55 56 div.sect1, div.chapter, div.appendix, div.wrap { 57 top: 11.55em; 58 } 59 div.preface, div.part, .index div.index { 60 top: 10.15em; 61 } 62 div.sect1, div.appendix, div.preface, div.part, div.chapter, div.wrap, .index div.index { 63 /* padding-left: .3em;*/ 64 overflow:auto; 65 height: auto; 66 position: fixed; 67 left:1em; 68 right:1em; 69 bottom: 1em; 70 border-bottom: 1em solid #dbddec; 45 71 } 46 72 … … 64 90 border-bottom: 0.2em solid #dbddec; 65 91 padding-top: .1em; 92 /* margin-top: 0;*/ 93 } 94 /* 95 .lfs .package p:first-child { 66 96 margin-top: 0; 67 } 97 }*/ 68 98 69 99 .lfs .configuration { … … 75 105 background: #f5f6f7; 76 106 border-top: 0.2em solid #dbddec; 107 border-bottom: 0.2em solid #dbddec; 77 108 padding-bottom: .1em; 78 margin-bottom: 0; 79 } 80 109 margin-bottom: .5em; 110 } 81 111 82 112 /* Headers */ … … 97 127 } 98 128 99 .preface h1, .part h1, .chapter h1, .appendix h1, .index h1, .sect1 h1, .glossary h1 {100 background: #f5f6f7;101 border-bottom: .1em solid #dbddec;102 margin-bottom: 1em;103 margin-top: 0;104 padding: .4em;105 }106 107 .sect1 h1, .appendix h1 {108 margin-left: -.2em;109 }110 111 129 .wrap h1 { 112 130 background: #f5f6f7; … … 158 176 159 177 div.navheader { 160 border-bottom: 1px solid #dbddec; 161 position: sticky; 162 top: 0; 163 } 164 178 border-bottom: .1em solid #dbddec; 179 } 180 181 /* no need for a footer now that the header is always visible */ 165 182 div.navfooter { 166 border-top: 1px solid #dbddec; 183 display:none; 184 } 185 186 /* Except for the first page (TOC), where the bottom is the only 187 place where navigation is displayed. */ 188 189 div.book + div.navfooter { 190 display:block 167 191 } 168 192 … … 180 204 181 205 div.navheader ul, div.navfooter ul { 182 padding: .2em .5em .5em 0;206 padding: .2em .5em .5em .5em; /*top right bottom left*/ 183 207 margin: .5em 0; 184 208 position: relative; … … 197 221 text-align: left; 198 222 padding: 0.2em 1em; 199 margin-left: 6px;223 margin-left: .4em; 200 224 } 201 225 … … 204 228 display: block; 205 229 text-align: right; 206 right: 5px;207 padding: 0.2em 0.5em;208 margin-right: 7px;230 right: 0; 231 padding: 0.2em 1em; 232 margin-right: .4em; 209 233 } 210 234 … … 212 236 div.navheader ul li.next p, div.navfooter ul li.next p { 213 237 padding: 0; 214 margin: 1px 0px;238 margin: .1em 0; 215 239 } 216 240 … … 219 243 text-align: center; 220 244 padding: 0; 221 margin: 0 pxauto;245 margin: 0 auto; 222 246 display: block; 223 247 color: #dbddec; -
stylesheets/lfs-xsl/nochunks.xsl
re49e2ea r9e76c64 1 <?xml version='1.0' encoding=' ISO-8859-1'?>1 <?xml version='1.0' encoding='UTF-8'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" … … 11 11 <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/> 12 12 13 <!-- Fix encoding issues with default UTF-8 output of the xhtml stylesheet --> 14 <xsl:output method="html" encoding="ISO-8859-1" indent="no" /> 15 13 <xsl:output method="xml" 14 encoding="UTF-8" 15 media-type="application/xhtml+xml" 16 doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" 17 doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" 18 omit-xml-declaration="yes" 19 indent="no" /> 16 20 <!-- Include our customized templates --> 17 21 <xsl:include href="common.xsl"/> -
stylesheets/lfs-xsl/pdf.xsl
re49e2ea r9e76c64 1 <?xml version='1.0' encoding=' ISO-8859-1'?>1 <?xml version='1.0' encoding='UTF-8'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" … … 52 52 <!-- Allow URLs to be automatically hyphenated. 53 53 We have expanded the support to several inline tags. 54 See pdf/lfs-mixed.xsl --> 54 See pdf/lfs-mixed.xsl. 55 Note: the argument in select= is a zero-width space 56 (unicode 200b)--> 55 57 <xsl:param name="ulink.hyphenate" select="'​'"/> 56 58 -
stylesheets/lfs-xsl/pdf/lfs-admon.xsl
re49e2ea r9e76c64 1 <?xml version='1.0' encoding=' ISO-8859-1'?>1 <?xml version='1.0' encoding='UTF-8'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" -
stylesheets/lfs-xsl/pdf/lfs-index.xsl
re49e2ea r9e76c64 1 <?xml version='1.0' encoding=' ISO-8859-1'?>1 <?xml version='1.0' encoding='UTF-8'?> 2 2 3 3 <!DOCTYPE xsl:stylesheet [ 4 <!ENTITY lowercase "'Aa ÀàÁáÂâÃãÄäÅåĀāĂ㥹ǍǎǞǟǠǡǺǻȀȁȂȃȦȧḀḁẚẠạẢảẤấẦầẨẩẪẫẬậẮắẰằẲẳẴẵẶặBbƀƁɓƂƃḂḃḄḅḆḇCcÇçĆćĈĉĊċČčƇƈɕḈḉDdĎďĐđƊɗƋƌDžDzȡɖḊḋḌḍḎḏḐḑḒḓEeÈèÉéÊêËëĒēĔĕĖėĘęĚěȄȅȆȇȨȩḔḕḖḗḘḙḚḛḜḝẸẹẺẻẼẽẾếỀềỂểỄễỆệFfƑƒḞḟGgĜĝĞğĠġĢģƓɠǤǥǦǧǴǵḠḡHhĤĥĦħȞȟɦḢḣḤḥḦḧḨḩḪḫẖIiÌìÍíÎîÏïĨĩĪīĬĭĮįİƗɨǏǐȈȉȊȋḬḭḮḯỈỉỊịJjĴĵǰʝKkĶķƘƙǨǩḰḱḲḳḴḵLlĹĺĻļĽľĿŀŁłƚLjȴɫɬɭḶḷḸḹḺḻḼḽMmɱḾḿṀṁṂṃNnÑñŃńŅņŇňƝɲƞȠNjǸǹȵɳṄṅṆṇṈṉṊṋOoÒòÓóÔôÕõÖöØøŌōŎŏŐőƟƠơǑǒǪǫǬǭǾǿȌȍȎȏȪȫȬȭȮȯȰȱṌṍṎṏṐṑṒṓỌọỎỏỐốỒồỔổỖỗỘộỚớỜờỞởỠỡỢợPpƤƥṔṕṖṗQqʠRrŔŕŖŗŘřȐȑȒȓɼɽɾṘṙṚṛṜṝṞṟSsŚśŜŝŞşŠšȘșʂṠṡṢṣṤṥṦṧṨṩTtŢţŤťŦŧƫƬƭƮʈȚțȶṪṫṬṭṮṯṰṱẗUuÙùÚúÛûÜüŨũŪūŬŭŮůŰűŲųƯưǓǔǕǖǗǘǙǚǛǜȔȕȖȗṲṳṴṵṶṷṸṹṺṻỤụỦủỨứỪừỬửỮữỰựVvƲʋṼṽṾṿWwŴŵẀẁẂẃẄẅẆẇẈẉẘXxẊẋẌẍYyÝýÿŸŶŷƳƴȲȳẎẏẙỲỳỴỵỶỷỸỹZzŹźŻżŽžƵƶȤȥʐʑẐẑẒẓẔẕẕ'">4 <!ENTITY lowercase "'AaÀàÁáÂâÃãÄäÅåĀāĂ㥹ǍǎǞǟǠǡǺǻȀȁȂȃȦȧḀḁẚẠạẢảẤấẦầẨẩẪẫẬậẮắẰằẲẳẴẵẶặBbƀƁɓƂƃḂḃḄḅḆḇCcÇçĆćĈĉĊċČčƇƈɕḈḉDdĎďĐđƊɗƋƌDžDzȡɖḊḋḌḍḎḏḐḑḒḓEeÈèÉéÊêËëĒēĔĕĖėĘęĚěȄȅȆȇȨȩḔḕḖḗḘḙḚḛḜḝẸẹẺẻẼẽẾếỀềỂểỄễỆệFfƑƒḞḟGgĜĝĞğĠġĢģƓɠǤǥǦǧǴǵḠḡHhĤĥĦħȞȟɦḢḣḤḥḦḧḨḩḪḫẖIiÌìÍíÎîÏïĨĩĪīĬĭĮįİƗɨǏǐȈȉȊȋḬḭḮḯỈỉỊịJjĴĵǰʝKkĶķƘƙǨǩḰḱḲḳḴḵLlĹĺĻļĽľĿŀŁłƚLjȴɫɬɭḶḷḸḹḺḻḼḽMmɱḾḿṀṁṂṃNnÑñŃńŅņŇňƝɲƞȠNjǸǹȵɳṄṅṆṇṈṉṊṋOoÒòÓóÔôÕõÖöØøŌōŎŏŐőƟƠơǑǒǪǫǬǭǾǿȌȍȎȏȪȫȬȭȮȯȰȱṌṍṎṏṐṑṒṓỌọỎỏỐốỒồỔổỖỗỘộỚớỜờỞởỠỡỢợPpƤƥṔṕṖṗQqʠRrŔŕŖŗŘřȐȑȒȓɼɽɾṘṙṚṛṜṝṞṟSsŚśŜŝŞşŠšȘșʂṠṡṢṣṤṥṦṧṨṩTtŢţŤťŦŧƫƬƭƮʈȚțȶṪṫṬṭṮṯṰṱẗUuÙùÚúÛûÜüŨũŪūŬŭŮůŰűŲųƯưǓǔǕǖǗǘǙǚǛǜȔȕȖȗṲṳṴṵṶṷṸṹṺṻỤụỦủỨứỪừỬửỮữỰựVvƲʋṼṽṾṿWwŴŵẀẁẂẃẄẅẆẇẈẉẘXxẊẋẌẍYyÝýÿŸŶŷƳƴȲȳẎẏẙỲỳỴỵỶỷỸỹZzŹźŻżŽžƵƶȤȥʐʑẐẑẒẓẔẕẕ'"> 5 5 <!ENTITY uppercase "'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBCCCCCCCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEFFFFFFGGGGGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIJJJJJJKKKKKKKKKKKKKKLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOPPPPPPPPQQQRRRRRRRRRRRRRRRRRRRRRRRSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTTTTUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUVVVVVVVVWWWWWWWWWWWWWWWXXXXXXYYYYYYYYYYYYYYYYYYYYYYYZZZZZZZZZZZZZZZZZZZZZ'"> 6 6 <!ENTITY primary 'normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = ""]))'> -
stylesheets/lfs-xsl/pdf/lfs-lists.xsl
re49e2ea r9e76c64 1 <?xml version='1.0' encoding=' ISO-8859-1'?>1 <?xml version='1.0' encoding='UTF-8'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" … … 50 50 keep-together.within-column="always" font-weight="bold" 51 51 keep-with-next.within-column="always" text-align="left"> 52 <xsl:text> •</xsl:text>52 <xsl:text>• </xsl:text> 53 53 <xsl:apply-templates select="term"/> 54 54 </fo:block> -
stylesheets/lfs-xsl/pdf/lfs-mixed.xsl
re49e2ea r9e76c64 1 <?xml version='1.0' encoding=' ISO-8859-1'?>1 <?xml version='1.0' encoding='UTF-8'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" -
stylesheets/lfs-xsl/pdf/lfs-pagesetup.xsl
re49e2ea r9e76c64 1 <?xml version='1.0' encoding=' ISO-8859-1'?>1 <?xml version='1.0' encoding='UTF-8'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" -
stylesheets/lfs-xsl/pdf/lfs-xref.xsl
re49e2ea r9e76c64 1 <?xml version='1.0' encoding=' ISO-8859-1'?>1 <?xml version='1.0' encoding='UTF-8'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 4 xmlns:xlink="http://www.w3.org/1999/xlink"5 4 xmlns:fo="http://www.w3.org/1999/XSL/Format" 6 exclude-result-prefixes="xlink"7 5 version="1.0"> 8 6 … … 17 15 18 16 <!-- xref: 19 Added role variable and use it when calling mode xref-to.--> 17 Added role variable and use it when calling mode xref-to. 18 Also remove code for xlink:href attribute in xref elements, 19 since we don't use it.--> 20 20 <!-- The original template is in {docbook-xsl}/fo/xref.xsl --> 21 21 <xsl:template match="xref" name="xref"> 22 <xsl:param name="xhref" select="@xlink:href"/>23 <!-- is the @xlink:href a local idref link? -->24 <xsl:param name="xlink.idref">25 <xsl:if test="starts-with($xhref,'#')26 and (not(contains($xhref,'('))27 or starts-with($xhref, '#xpointer(id('))">28 <xsl:call-template name="xpointer.idref">29 <xsl:with-param name="xpointer" select="$xhref"/>30 </xsl:call-template>31 </xsl:if>32 </xsl:param>33 <xsl:param name="xlink.targets" select="key('id',$xlink.idref)"/>34 22 <xsl:param name="linkend.targets" select="key('id',@linkend)"/> 35 <xsl:param name="target" select=" ($xlink.targets | $linkend.targets)[1]"/>23 <xsl:param name="target" select="$linkend.targets[1]"/> 36 24 <xsl:param name="refelem" select="local-name($target)"/> 37 25 <!-- Added role variable --> … … 90 78 <xsl:message> 91 79 <xsl:text>ERROR: xref linking to </xsl:text> 92 <xsl:value-of select="@linkend |@xlink:href"/>80 <xsl:value-of select="@linkend"/> 93 81 <xsl:text> has no generated link text.</xsl:text> 94 82 </xsl:message> -
stylesheets/lfs-xsl/profile.xsl
re49e2ea r9e76c64 1 <?xml version='1.0' encoding=' ISO-8859-1'?>1 <?xml version='1.0' encoding='UTF-8'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" … … 19 19 <!-- Generate DocBook instance with correct DOCTYPE --> 20 20 <xsl:output method="xml" 21 encoding="UTF-8" 21 22 doctype-public="-//OASIS//DTD DocBook XML V4.5//EN" 22 23 doctype-system="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"/> -
stylesheets/lfs-xsl/xhtml/lfs-admon.xsl
re49e2ea r9e76c64 1 <?xml version='1.0' encoding=' ISO-8859-1'?>1 <?xml version='1.0' encoding='UTF-8'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" -
stylesheets/lfs-xsl/xhtml/lfs-index.xsl
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 3 3 <!DOCTYPE xsl:stylesheet [ 4 <!ENTITY lowercase "'Aa ÀàÁáÂâÃãÄäÅåĀāĂ㥹ǍǎǞǟǠǡǺǻȀȁȂȃȦȧḀḁẚẠạẢảẤấẦầẨẩẪẫẬậẮắẰằẲẳẴẵẶặBbƀƁɓƂƃḂḃḄḅḆḇCcÇçĆćĈĉĊċČčƇƈɕḈḉDdĎďĐđƊɗƋƌDžDzȡɖḊḋḌḍḎḏḐḑḒḓEeÈèÉéÊêËëĒēĔĕĖėĘęĚěȄȅȆȇȨȩḔḕḖḗḘḙḚḛḜḝẸẹẺẻẼẽẾếỀềỂểỄễỆệFfƑƒḞḟGgĜĝĞğĠġĢģƓɠǤǥǦǧǴǵḠḡHhĤĥĦħȞȟɦḢḣḤḥḦḧḨḩḪḫẖIiÌìÍíÎîÏïĨĩĪīĬĭĮįİƗɨǏǐȈȉȊȋḬḭḮḯỈỉỊịJjĴĵǰʝKkĶķƘƙǨǩḰḱḲḳḴḵLlĹĺĻļĽľĿŀŁłƚLjȴɫɬɭḶḷḸḹḺḻḼḽMmɱḾḿṀṁṂṃNnÑñŃńŅņŇňƝɲƞȠNjǸǹȵɳṄṅṆṇṈṉṊṋOoÒòÓóÔôÕõÖöØøŌōŎŏŐőƟƠơǑǒǪǫǬǭǾǿȌȍȎȏȪȫȬȭȮȯȰȱṌṍṎṏṐṑṒṓỌọỎỏỐốỒồỔổỖỗỘộỚớỜờỞởỠỡỢợPpƤƥṔṕṖṗQqʠRrŔŕŖŗŘřȐȑȒȓɼɽɾṘṙṚṛṜṝṞṟSsŚśŜŝŞşŠšȘșʂṠṡṢṣṤṥṦṧṨṩTtŢţŤťŦŧƫƬƭƮʈȚțȶṪṫṬṭṮṯṰṱẗUuÙùÚúÛûÜüŨũŪūŬŭŮůŰűŲųƯưǓǔǕǖǗǘǙǚǛǜȔȕȖȗṲṳṴṵṶṷṸṹṺṻỤụỦủỨứỪừỬửỮữỰựVvƲʋṼṽṾṿWwŴŵẀẁẂẃẄẅẆẇẈẉẘXxẊẋẌẍYyÝýÿŸŶŷƳƴȲȳẎẏẙỲỳỴỵỶỷỸỹZzŹźŻżŽžƵƶȤȥʐʑẐẑẒẓẔẕẕ'">4 <!ENTITY lowercase "'AaÀàÁáÂâÃãÄäÅåĀāĂ㥹ǍǎǞǟǠǡǺǻȀȁȂȃȦȧḀḁẚẠạẢảẤấẦầẨẩẪẫẬậẮắẰằẲẳẴẵẶặBbƀƁɓƂƃḂḃḄḅḆḇCcÇçĆćĈĉĊċČčƇƈɕḈḉDdĎďĐđƊɗƋƌDžDzȡɖḊḋḌḍḎḏḐḑḒḓEeÈèÉéÊêËëĒēĔĕĖėĘęĚěȄȅȆȇȨȩḔḕḖḗḘḙḚḛḜḝẸẹẺẻẼẽẾếỀềỂểỄễỆệFfƑƒḞḟGgĜĝĞğĠġĢģƓɠǤǥǦǧǴǵḠḡHhĤĥĦħȞȟɦḢḣḤḥḦḧḨḩḪḫẖIiÌìÍíÎîÏïĨĩĪīĬĭĮįİƗɨǏǐȈȉȊȋḬḭḮḯỈỉỊịJjĴĵǰʝKkĶķƘƙǨǩḰḱḲḳḴḵLlĹĺĻļĽľĿŀŁłƚLjȴɫɬɭḶḷḸḹḺḻḼḽMmɱḾḿṀṁṂṃNnÑñŃńŅņŇňƝɲƞȠNjǸǹȵɳṄṅṆṇṈṉṊṋOoÒòÓóÔôÕõÖöØøŌōŎŏŐőƟƠơǑǒǪǫǬǭǾǿȌȍȎȏȪȫȬȭȮȯȰȱṌṍṎṏṐṑṒṓỌọỎỏỐốỒồỔổỖỗỘộỚớỜờỞởỠỡỢợPpƤƥṔṕṖṗQqʠRrŔŕŖŗŘřȐȑȒȓɼɽɾṘṙṚṛṜṝṞṟSsŚśŜŝŞşŠšȘșʂṠṡṢṣṤṥṦṧṨṩTtŢţŤťŦŧƫƬƭƮʈȚțȶṪṫṬṭṮṯṰṱẗUuÙùÚúÛûÜüŨũŪūŬŭŮůŰűŲųƯưǓǔǕǖǗǘǙǚǛǜȔȕȖȗṲṳṴṵṶṷṸṹṺṻỤụỦủỨứỪừỬửỮữỰựVvƲʋṼṽṾṿWwŴŵẀẁẂẃẄẅẆẇẈẉẘXxẊẋẌẍYyÝýÿŸŶŷƳƴȲȳẎẏẙỲỳỴỵỶỷỸỹZzŹźŻżŽžƵƶȤȥʐʑẐẑẒẓẔẕẕ'"> 5 5 <!ENTITY uppercase "'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBCCCCCCCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEFFFFFFGGGGGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIJJJJJJKKKKKKKKKKKKKKLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOPPPPPPPPQQQRRRRRRRRRRRRRRRRRRRRRRRSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTTTTUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUVVVVVVVVWWWWWWWWWWWWWWWXXXXXXYYYYYYYYYYYYYYYYYYYYYYYZZZZZZZZZZZZZZZZZZZZZ'"> 6 6 <!ENTITY primary 'normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = ""]))'> … … 23 23 <xsl:template match="index" mode="recursive-chunk-filename"> 24 24 <xsl:text>longindex.html</xsl:text> 25 </xsl:template> 26 27 <!-- The original template in {docbook-xsl}/xhtml/autoidx.xsl has 28 a bug (https://github.com/docbook/xslt10-stylesheets/issues/239) 29 that generates a <div> with a wrong xmlns:xlink attribute. So copy it 30 here where the bug does not occur, (and simplify it a lot).--> 31 32 <xsl:template name="generate-basic-index"> 33 <xsl:param name="scope" select="NOTANODE"/> 34 35 <xsl:variable name="terms" select="//indexterm 36 [count(.|key('letter', 37 translate(substring(&primary;, 1, 1), 38 &lowercase;, 39 &uppercase; 40 ) 41 ) [&scope;][1]) = 1]"/> 42 <div class="index"> 43 <xsl:apply-templates select="$terms" mode="index-div-basic"> 44 <xsl:with-param name="position" select="position()"/> 45 <xsl:with-param name="scope" select="$scope"/> 46 <xsl:sort select="translate(&primary;, &lowercase;, &uppercase;)"/> 47 </xsl:apply-templates> 48 </div> 25 49 </xsl:template> 26 50 -
stylesheets/lfs-xsl/xhtml/lfs-legalnotice.xsl
re49e2ea r9e76c64 1 <?xml version='1.0' encoding=' ISO-8859-1'?>1 <?xml version='1.0' encoding='UTF-8'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" -
stylesheets/lfs-xsl/xhtml/lfs-mixed.xsl
re49e2ea r9e76c64 1 <?xml version='1.0' encoding=' ISO-8859-1'?>1 <?xml version='1.0' encoding='UTF-8'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" … … 295 295 </xsl:when> 296 296 <xsl:when test="$numcols > 3"> 297 <td> </td> 297 <!-- The space between <td> and </td> is a non breakable 298 space (unicode A0) encoded in utf-8.--> 299 <td> </td> 298 300 </xsl:when> 299 301 <xsl:otherwise/> -
stylesheets/lfs-xsl/xhtml/lfs-navigational.xsl
re49e2ea r9e76c64 1 <?xml version='1.0' encoding=' ISO-8859-1'?>1 <?xml version='1.0' encoding='UTF-8'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" -
stylesheets/lfs-xsl/xhtml/lfs-sections.xsl
re49e2ea r9e76c64 1 <?xml version='1.0' encoding=' ISO-8859-1'?>1 <?xml version='1.0' encoding='UTF-8'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" … … 12 12 13 13 <!-- preface: 14 Output non sect1 child elements before the TOC --> 14 Output non sect1 child elements before the TOC 15 Output title outside of the <div> because we want to be able to 16 use it at a fixed position --> 15 17 <!-- The original template is in {docbook-xsl}/xhtml/components.xsl --> 16 18 <xsl:template match="preface"> 17 19 <xsl:call-template name="id.warning"/> 20 <xsl:call-template name="preface.titlepage"/> 21 <xsl:call-template name="component.separator"/> 18 22 <div> 19 23 <xsl:apply-templates select="." mode="class.attribute"/> … … 27 31 </xsl:attribute> 28 32 </xsl:if> 29 <xsl:call-template name="component.separator"/>30 <xsl:call-template name="preface.titlepage"/>31 33 <xsl:apply-templates/> 32 34 <xsl:variable name="toc.params"> … … 45 47 </xsl:template> 46 48 49 <!-- part: 50 Output non sect1 child elements before the TOC 51 Output title outside of the <div> because we want to be able to 52 use it at a fixed position --> 53 <!-- The original template is in {docbook-xsl}/xhtml/divisions.xsl --> 54 <xsl:template match="part"> 55 <xsl:call-template name="id.warning"/> 56 57 <xsl:call-template name="part.titlepage"/> 58 59 <div> 60 <xsl:apply-templates select="." mode="common.html.attributes"/> 61 <xsl:call-template name="id.attribute"> 62 <xsl:with-param name="conditional" select="0"/> 63 </xsl:call-template> 64 65 <xsl:apply-templates/> 66 <xsl:variable name="toc.params"> 67 <xsl:call-template name="find.path.params"> 68 <xsl:with-param name="table" select="normalize-space($generate.toc)"/> 69 </xsl:call-template> 70 </xsl:variable> 71 <xsl:if test="not(partintro) and contains($toc.params, 'toc')"> 72 <xsl:call-template name="division.toc"/> 73 </xsl:if> 74 </div> 75 </xsl:template> 76 47 77 <!-- chapter: 48 Output non sect1 child elements before the TOC --> 78 Output non sect1 child elements before the TOC 79 Output title before div to be able to fix the title position --> 49 80 <!-- The original template is in {docbook-xsl}/xhtml/components.xsl --> 50 81 <xsl:template match="chapter"> 51 82 <xsl:call-template name="id.warning"/> 83 <xsl:call-template name="chapter.titlepage"/> 84 <xsl:call-template name="component.separator"/> 52 85 <div> 53 86 <xsl:apply-templates select="." mode="class.attribute"/> … … 61 94 </xsl:attribute> 62 95 </xsl:if> 63 <xsl:call-template name="component.separator"/>64 <xsl:call-template name="chapter.titlepage"/>65 96 <xsl:apply-templates/> 66 97 <xsl:variable name="toc.params"> … … 79 110 </xsl:template> 80 111 112 <!-- appendix: 113 Output non sect1 child elements before the TOC 114 Output title before div to be able to fix the title position --> 115 <!-- The original template is in {docbook-xsl}/xhtml/components.xsl --> 116 <xsl:template match="appendix"> 117 118 <xsl:call-template name="id.warning"/> 119 120 <xsl:call-template name="appendix.titlepage"/> 121 122 <xsl:element name="div" namespace="http://www.w3.org/1999/xhtml"> 123 <xsl:call-template name="common.html.attributes"> 124 <xsl:with-param name="inherit" select="1"/> 125 </xsl:call-template> 126 <xsl:call-template name="id.attribute"> 127 <xsl:with-param name="conditional" select="0"/> 128 </xsl:call-template> 129 130 <xsl:apply-templates/> 131 132 <xsl:variable name="toc.params"> 133 <xsl:call-template name="find.path.params"> 134 <xsl:with-param name="table" select="normalize-space($generate.toc)"/> 135 </xsl:call-template> 136 </xsl:variable> 137 138 <xsl:if test="contains($toc.params, 'toc')"> 139 <xsl:call-template name="component.toc"> 140 <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/> 141 </xsl:call-template> 142 </xsl:if> 143 144 </xsl:element> 145 </xsl:template> 146 81 147 <!-- sect1: 82 148 When there is a role attibute, use it as the class value. 83 149 Process the SVN keywords found in sect1info as a footnote. 150 Output title before the containing <div> so that the title 151 can be at a fixed position. 84 152 Removed unused code. --> 85 153 <!-- The original template is in {docbook-xsl}/xhtml/sections.xsl --> 86 154 <xsl:template match="sect1"> 155 <xsl:call-template name="sect1.titlepage"/> 87 156 <div> 88 157 <xsl:choose> … … 97 166 </xsl:choose> 98 167 <xsl:call-template name="language.attribute"/> 99 <xsl:call-template name="sect1.titlepage"/>100 168 <xsl:apply-templates/> 101 169 <xsl:apply-templates select="sect1info" mode="svn-keys"/> -
stylesheets/lfs-xsl/xhtml/lfs-titles.xsl
re49e2ea r9e76c64 1 <?xml version='1.0' encoding=' ISO-8859-1'?>1 <?xml version='1.0' encoding='UTF-8'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" -
stylesheets/lfs-xsl/xhtml/lfs-toc.xsl
re49e2ea r9e76c64 1 <?xml version='1.0' encoding=' ISO-8859-1'?>1 <?xml version='1.0' encoding='UTF-8'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" -
stylesheets/lfs-xsl/xhtml/lfs-xref.xsl
re49e2ea r9e76c64 1 <?xml version='1.0' encoding=' ISO-8859-1'?>1 <?xml version='1.0' encoding='UTF-8'?> 2 2 3 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 4 xmlns:xlink="http://www.w3.org/1999/xlink"5 4 xmlns="http://www.w3.org/1999/xhtml" 6 exclude-result-prefixes="xlink"7 5 version="1.0"> 8 6 … … 16 14 17 15 <!-- xref: 18 Added role variable and use it when calling mode xref-to.--> 16 Added role variable and use it when calling mode xref-to. 17 Also remove code for xlink:href attributes in xref elements 18 since we don't use it.--> 19 19 <!-- The original template is in {docbook-xsl}/xhtml/xref.xsl --> 20 20 <xsl:template match="xref" name="xref"> 21 <xsl:param name="xhref" select="@xlink:href"/>22 <!-- is the @xlink:href a local idref link? -->23 <xsl:param name="xlink.idref">24 <xsl:if test="starts-with($xhref,'#') and (not(contains($xhref,'('))25 or starts-with($xhref, '#xpointer(id('))">26 <xsl:call-template name="xpointer.idref">27 <xsl:with-param name="xpointer" select="$xhref"/>28 </xsl:call-template>29 </xsl:if>30 </xsl:param>31 <xsl:param name="xlink.targets" select="key('id',$xlink.idref)"/>32 21 <xsl:param name="linkend.targets" select="key('id',@linkend)"/> 33 <xsl:param name="target" select=" ($xlink.targets | $linkend.targets)[1]"/>22 <xsl:param name="target" select="$linkend.targets[1]"/> 34 23 <!-- Added role variable --> 35 24 <xsl:variable name="role" select="@role"/> … … 86 75 <xsl:message> 87 76 <xsl:text>ERROR: xref linking to </xsl:text> 88 <xsl:value-of select="@linkend |@xlink:href"/>77 <xsl:value-of select="@linkend"/> 89 78 <xsl:text> has no generated link text.</xsl:text> 90 79 </xsl:message> -
stylesheets/md5sum.xsl
re49e2ea r9e76c64 1 <?xml version='1.0' encoding=' ISO-8859-1'?>1 <?xml version='1.0' encoding='UTF-8'?> 2 2 3 <!-- Create a md5 list for packages and pat hces used. -->3 <!-- Create a md5 list for packages and patches used. --> 4 4 5 5 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 6 version="1.0">6 version="1.0"> 7 7 8 8 <xsl:output method="text"/> … … 32 32 33 33 <!-- Add a newline --> 34 <xsl:text>&#x 0a;</xsl:text>34 <xsl:text>
</xsl:text> 35 35 36 36 </xsl:if> … … 56 56 57 57 </xsl:stylesheet> 58 -
stylesheets/patcheslist.xsl
re49e2ea r9e76c64 1 <?xml version='1.0' encoding=' ISO-8859-1'?>1 <?xml version='1.0' encoding='UTF-8'?> 2 2 <!DOCTYPE xsl:stylesheet [ 3 3 <!ENTITY % general-entities SYSTEM "../general.ent"> … … 23 23 } 24 24 25 umask 002 

</xsl:text>25 umask 002 26 26 27 <!-- Create dest.dir if it don't exist --> 28 <xsl:text>install -d -m 775 -g lfswww </xsl:text> 27 # Create dest.dir if it doesn't exist 28 # Remove old patches 29 # Copy the patches 30 # Ensure correct ownership 31 install -d -m 775 -g lfswww </xsl:text> 29 32 <xsl:value-of select="$dest.dir"/> 30 <xsl:text> && 
</xsl:text>31 <xsl:text>cd </xsl:text>33 <xsl:text> && 34 cd </xsl:text> 32 35 <xsl:value-of select="$dest.dir"/> 33 <xsl:text> &&

</xsl:text> 34 <!-- Remove old patches --> 35 <xsl:text>rm -f *.patch copyerrs && 

</xsl:text> 36 <xsl:text> && 37 rm -f *.patch copyerrs && 38 39 </xsl:text> 36 40 <xsl:apply-templates/> 37 <!-- Ensure correct owneship -->38 <xsl:text>
chgrp lfswww *.patch &&
</xsl:text>39 41 <xsl:text> 42 chgrp lfswww *.patch && 40 43 if [ `wc -l copyerrs | sed 's/ *//' | cut -f1 -d' '` -gt 0 ]; then 41 44 mail -s "Missing LFS patches" lfs-book@lists.linuxfromscratch.org < copyerrs 42 fi 

</xsl:text>45 fi 43 46 44 <xsl:text>exit
</xsl:text> 47 exit 48 </xsl:text> 45 49 </xsl:template> 46 50 … … 60 64 </xsl:variable> 61 65 <xsl:text>copy /srv/www/www.linuxfromscratch.org/patches/downloads/</xsl:text> 62 66 <xsl:value-of select="substring-before($patch.name2, '-0')"/> 63 67 <xsl:text>/</xsl:text> 64 68 <xsl:value-of select="$patch.name"/> 65 <xsl:text> . 
</xsl:text> 69 <xsl:text> . 70 </xsl:text> 66 71 </xsl:if> 67 72 </xsl:template> -
stylesheets/wget-list.xsl
re49e2ea r9e76c64 1 <?xml version='1.0' encoding=' ISO-8859-1'?>1 <?xml version='1.0' encoding='UTF-8'?> 2 2 3 3 <!-- Create a list of upstream URLs for packages and patches to be used … … 5 5 6 6 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 7 version="1.0">7 version="1.0"> 8 8 9 9 <xsl:output method="text"/> … … 29 29 </xsl:otherwise> 30 30 </xsl:choose> 31 <xsl:text>&#x 0a;</xsl:text>31 <xsl:text>
</xsl:text> 32 32 </xsl:if> 33 33 </xsl:template> -
tidy.conf
re49e2ea r9e76c64 2 2 wrap: 78 3 3 tab-size: 8 4 input-encoding: latin15 output-encoding: latin16 4 write-back: yes 7 5 markup: yes
Note:
See TracChangeset
for help on using the changeset viewer.