Changeset 73d91ac
- Timestamp:
- 12/05/2023 05:12:55 AM (7 months ago)
- Branches:
- xry111/arm64
- Children:
- 00de269
- Parents:
- 6b6a1b9 (diff), dc8572f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Files:
-
- 1 added
- 54 edited
Legend:
- Unmodified
- Added
- Removed
-
.gitignore
r6b6a1b9 r73d91ac 1 1 lfs-bootscripts-*.tar.xz 2 lfs-*.tar.xz 2 3 conditional.ent 3 4 version.ent -
Makefile
r6b6a1b9 r73d91ac 58 58 /bin/bash obfuscate.sh $$filename; \ 59 59 sed -e "s@text/html@application/xhtml+xml@g" \ 60 -e "s/\xa9/\©/ " \61 60 -i $$filename; \ 62 61 done; … … 210 209 all: book nochunks pdf dump-commands 211 210 212 .PHONY : all book dump-commands nochunks pdf profile-html tmpdir validate md5sums wget-list version 213 211 dist: 212 $(Q)DIST=/tmp/LFS-RELEASE ./git-version.sh $(REV) 213 $(Q)rm -f lfs-$$(</tmp/LFS-RELEASE).tar.xz 214 $(Q)tar cJf lfs-$$(</tmp/LFS-RELEASE).tar.xz \ 215 $(shell git ls-tree HEAD . --name-only) version.ent \ 216 -C /tmp LFS-RELEASE \ 217 --transform "s,^,lfs-$$(</tmp/LFS-RELEASE)/," 218 $(Q)echo "Generated XML tarball lfs-$$(</tmp/LFS-RELEASE).tar.xz" 219 220 .PHONY : all book dump-commands nochunks pdf profile-html tmpdir validate md5sums wget-list version dist 221 -
appendices/dependencies.xml
r6b6a1b9 r73d91ac 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 … … 295 293 <segtitle>&runtime;</segtitle> 296 294 <seglistitem> 297 <seg>Glibc and Zlib</seg>295 <seg>Glibc, Zlib, and Zstd</seg> 298 296 </seglistitem> 299 297 </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>, … … 1497 1495 1498 1496 <!-- Begin Jinja2 dependency info --> 1499 <bridgehead revision='systemd' renderas="sect2" id="jinja2-dep">Jinja2</bridgehead> 1500 1501 <segmentedlist id="jinja2-depends" revision='systemd'> 1502 <segtitle>&dependencies;</segtitle> 1497 <bridgehead renderas="sect2" id="jinja2-dep">Jinja2</bridgehead> 1498 1499 <segmentedlist id="jinja2-depends"> 1500 <segtitle>&dependencies;</segtitle> 1501 <seglistitem> 1502 <seg>MarkupSafe, Python, Setuptools, and Wheel</seg> 1503 </seglistitem> 1504 </segmentedlist> 1505 1506 <segmentedlist id="jinja2-rundeps"> 1507 <segtitle>&runtime;</segtitle> 1503 1508 <seglistitem> 1504 1509 <seg>MarkupSafe and Python</seg> … … 1506 1511 </segmentedlist> 1507 1512 1508 <segmentedlist id="jinja2-rundeps" revision='systemd'> 1509 <segtitle>&runtime;</segtitle> 1510 <seglistitem> 1511 <seg>MarkupSafe and Python</seg> 1512 </seglistitem> 1513 </segmentedlist> 1514 1515 <segmentedlist id="jinja2-testdeps" revision='systemd'> 1513 <segmentedlist id="jinja2-testdeps"> 1516 1514 <segtitle>&testsuites;</segtitle> 1517 1515 <seglistitem> … … 1520 1518 </segmentedlist> 1521 1519 1522 <segmentedlist id="jinja2-before" revision='systemd'>1520 <segmentedlist id="jinja2-before"> 1523 1521 <segtitle>&before;</segtitle> 1524 1522 <seglistitem> … … 1527 1525 </segmentedlist> 1528 1526 1529 <segmentedlist id="jinja2-optdeps" revision='systemd'>1527 <segmentedlist id="jinja2-optdeps"> 1530 1528 <segtitle>&external;</segtitle> 1531 1529 <seglistitem> … … 2137 2135 2138 2136 <!-- Begin MarkupSafe dependency info --> 2139 <bridgehead renderas="sect2" id="markupsafe-dep" revision='systemd'>MarkupSafe</bridgehead> 2140 2141 <segmentedlist id="markupsafe-depends" revision='systemd'> 2142 <segtitle>&dependencies;</segtitle> 2137 <bridgehead renderas="sect2" id="markupsafe-dep">MarkupSafe</bridgehead> 2138 2139 <segmentedlist id="markupsafe-depends"> 2140 <segtitle>&dependencies;</segtitle> 2141 <seglistitem> 2142 <seg>Python, Setuptools, and Wheel</seg> 2143 </seglistitem> 2144 </segmentedlist> 2145 2146 <segmentedlist id="markupsafe-rundeps"> 2147 <segtitle>&runtime;</segtitle> 2143 2148 <seglistitem> 2144 2149 <seg>Python</seg> … … 2146 2151 </segmentedlist> 2147 2152 2148 <segmentedlist id="markupsafe-rundeps" revision='systemd'> 2149 <segtitle>&runtime;</segtitle> 2150 <seglistitem> 2151 <seg>Python</seg> 2152 </seglistitem> 2153 </segmentedlist> 2154 2155 <segmentedlist id="markupsafe-testdeps" revision='systemd'> 2153 <segmentedlist id="markupsafe-testdeps"> 2156 2154 <segtitle>&testsuites;</segtitle> 2157 2155 <seglistitem> … … 2160 2158 </segmentedlist> 2161 2159 2162 <segmentedlist id="markupsafe-before" revision='systemd'>2160 <segmentedlist id="markupsafe-before"> 2163 2161 <segtitle>&before;</segtitle> 2164 2162 <seglistitem> … … 2167 2165 </segmentedlist> 2168 2166 2169 <segmentedlist id="markupsafe-optdeps" revision='systemd'>2167 <segmentedlist id="markupsafe-optdeps"> 2170 2168 <segtitle>&external;</segtitle> 2171 2169 <seglistitem> … … 2180 2178 <segtitle>&dependencies;</segtitle> 2181 2179 <seglistitem> 2182 <seg>Ninja and Python</seg>2180 <seg>Ninja, Python, Setuptools, and Wheel</seg> 2183 2181 </seglistitem> 2184 2182 </segmentedlist> … … 2487 2485 <seglistitem> 2488 2486 <seg> 2489 <ulink url="&blfs-book;server/db.html">Berkeley DB</ulink>2487 &bdb; 2490 2488 </seg> 2491 2489 </seglistitem> … … 2656 2654 <seglistitem> 2657 2655 <seg> 2658 <ulink url="&blfs-book;server/db.html">Berkeley DB</ulink>,2656 &bdb;, 2659 2657 <ulink url="&blfs-book;basicnet/libnsl.html">libnsl</ulink>, 2660 2658 <ulink url="&blfs-book;server/sqlite.html">SQLite</ulink>, and … … 2736 2734 2737 2735 <segmentedlist id="sed-optdeps"> 2736 <segtitle>&external;</segtitle> 2737 <seglistitem> 2738 <seg>None</seg> 2739 </seglistitem> 2740 </segmentedlist> 2741 2742 <!-- Begin Setuptools dependency info --> 2743 <bridgehead renderas="sect2" id="setuptools-dep">Setuptools</bridgehead> 2744 2745 <segmentedlist id="setuptools-depends"> 2746 <segtitle>&dependencies;</segtitle> 2747 <seglistitem> 2748 <seg>Python and Wheel</seg> 2749 </seglistitem> 2750 </segmentedlist> 2751 2752 <segmentedlist id="setuptools-rundeps"> 2753 <segtitle>&runtime;</segtitle> 2754 <seglistitem> 2755 <seg>Python</seg> 2756 </seglistitem> 2757 </segmentedlist> 2758 2759 <segmentedlist id="setuptools-testdeps"> 2760 <segtitle>&testsuites;</segtitle> 2761 <seglistitem> 2762 <seg>No test suite available</seg> 2763 </seglistitem> 2764 </segmentedlist> 2765 2766 <segmentedlist id="setuptools-before"> 2767 <segtitle>&before;</segtitle> 2768 <seglistitem> 2769 <seg>Jinja2, MarkupSafe, and Meson</seg> 2770 </seglistitem> 2771 </segmentedlist> 2772 2773 <segmentedlist id="setuptools-optdeps"> 2738 2774 <segtitle>&external;</segtitle> 2739 2775 <seglistitem> … … 3217 3253 3218 3254 <!-- Begin Wheel dependency info --> 3219 <bridgehead renderas="sect2" id="wheel-dep"> wheel</bridgehead>3255 <bridgehead renderas="sect2" id="wheel-dep">Wheel</bridgehead> 3220 3256 3221 3257 <segmentedlist id="wheel-depends"> … … 3244 3280 <seglistitem> 3245 3281 <seg> 3246 <phrase revision='sysv'>None</phrase> 3247 <phrase revision='systemd'>Jinja2</phrase> 3282 Jinja2, MarkupSafe, Meson, and Setuptools 3248 3283 </seg> 3249 3284 </seglistitem> -
bootscripts/ChangeLog
r6b6a1b9 r73d91ac 1 2023-10-04 Pierre Labastie <pierre.labastie@neuf.fr> 2 * After the changes done on 2022-03-24, several "halt stop" should 3 have been changed to "halt start". Done now. Fortunately, those 4 occur only when something wrong happens with disks or devices. 5 1 6 2023-07-28 Xi Ruoyao <xry111@xry111.site> 2 7 * In mountvirtfs, mount /sys/fs/cgroup for udev from systemd-254. … … 25 30 - S scripts only started if not already marked S in the previous runlevel 26 31 - K scripts only started if not already marked K in the previous runlevel 27 - remove the convention of running S scripts ith "stop" in rl 0/632 - remove the convention of running S scripts with "stop" in rl 0/6 28 33 2021-06-08 Bruce Dubbs <bdubbs@linuxfromscratch.org> 29 34 * When shutting down the network, ignore invalid interfaces -
bootscripts/lfs/init.d/checkfs
r6b6a1b9 r73d91ac 64 64 log_info_msg "Press Enter to continue..." 65 65 wait_for_user 66 /etc/rc.d/init.d/halt st op66 /etc/rc.d/init.d/halt start 67 67 else 68 68 log_success_msg2 … … 128 128 log_info_msg "Press Enter to continue..." 129 129 wait_for_user 130 /etc/rc.d/init.d/halt st op130 /etc/rc.d/init.d/halt start 131 131 fi 132 132 -
bootscripts/lfs/init.d/udev
r6b6a1b9 r73d91ac 42 42 log_info_msg "Press Enter to continue..." 43 43 wait_for_user 44 /etc/rc.d/init.d/halt st op44 /etc/rc.d/init.d/halt start 45 45 fi 46 46 -
chapter01/changelog.xml
r6b6a1b9 r73d91ac 42 42 43 43 <listitem> 44 <para>2023-12-04</para> 45 <itemizedlist> 46 <listitem> 47 <para>[thomas] - Modify commands for install Python docs to avoid 48 too restrictive permissions on the files and dirs.</para> 49 </listitem> 50 </itemizedlist> 51 </listitem> 52 53 <listitem revision='sysv'> 54 <para>2023-12-01</para> 55 <itemizedlist> 56 <listitem> 57 <para>[xry111] - Restore NIC naming based on physical system 58 characteristics. Fixes 59 <ulink url='&lfs-ticket-root;5386'>#5386</ulink>.</para> 60 </listitem> 61 </itemizedlist> 62 </listitem> 63 64 <listitem> 65 <para>2023-11-30</para> 66 <itemizedlist> 67 <listitem> 68 <para>[bdubbs] - Update to vim-9.0.2136. Addresses 69 <ulink url='&lfs-ticket-root;4500'>#4500</ulink>.</para> 70 </listitem> 71 <listitem> 72 <para>[bdubbs] - Update to iana-etc-20231117. Addresses 73 <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para> 74 </listitem> 75 <listitem> 76 <para>[bdubbs] - Update to bc-6.7.3. Fixes 77 <ulink url='&lfs-ticket-root;5385'>#5385</ulink>.</para> 78 </listitem> 79 <listitem> 80 <para>[bdubbs] - Update to wheel-0.42.0 (Python Module). Fixes 81 <ulink url='&lfs-ticket-root;5384'>#5384</ulink>.</para> 82 </listitem> 83 <listitem> 84 <para>[bdubbs] - Update to perl-5.38.2. Fixes 85 <ulink url='&lfs-ticket-root;5383'>#5383</ulink>.</para> 86 </listitem> 87 <listitem> 88 <para>[bdubbs] - Update to pkgconf-2.1.0. Fixes 89 <ulink url='&lfs-ticket-root;5382'>#5382</ulink>.</para> 90 </listitem> 91 <listitem> 92 <para>[bdubbs] - Update to readline patches 002 through 007. Fixes 93 <ulink url='&lfs-ticket-root;5381'>#5381</ulink>.</para> 94 </listitem> 95 <listitem> 96 <para>[bdubbs] - Update to openssl-3.2.0. Fixes 97 <ulink url='&lfs-ticket-root;5380'>#5380</ulink>.</para> 98 </listitem> 99 <listitem> 100 <para>[bdubbs] - Update to setuptools-69.0.2. Fixes 101 <ulink url='&lfs-ticket-root;5379'>#5379</ulink>.</para> 102 </listitem> 103 <listitem> 104 <para>[bdubbs] - Update to linux-6.6.3. Fixes 105 <ulink url='&lfs-ticket-root;5378'>#5378</ulink>.</para> 106 </listitem> 107 <listitem> 108 <para>[bdubbs] - Update to meson-1.3.0. Fixes 109 <ulink url='&lfs-ticket-root;5377'>#5377</ulink>.</para> 110 </listitem> 111 <listitem> 112 <para>[bdubbs] - Update to gettext-0.22.4. Fixes 113 <ulink url='&lfs-ticket-root;5376'>#5376</ulink>.</para> 114 </listitem> 115 </itemizedlist> 116 </listitem> 117 118 <listitem> 119 <para>2023-11-13</para> 120 <itemizedlist> 121 <listitem> 122 <para>[xry111] - Update to elfutils-0.190. Fixes 123 <ulink url='&lfs-ticket-root;5373'>#5373</ulink>.</para> 124 </listitem> 125 <listitem> 126 <para>[xry111] - Update to vim-9.0.2103. Addresses 127 <ulink url='&lfs-ticket-root;4500'>#4500</ulink>.</para> 128 </listitem> 129 <listitem> 130 <para>[xry111] - Update to linux-6.6.1. Fixes 131 <ulink url='&lfs-ticket-root;5369'>#5369</ulink>.</para> 132 </listitem> 133 <listitem> 134 <para>[xry111] - Update to xz-5.4.5. Fixes 135 <ulink url='&lfs-ticket-root;5371'>#5371</ulink>.</para> 136 </listitem> 137 <listitem> 138 <para>[xry111] - Update to iana-etc-20231107. Addresses 139 <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para> 140 </listitem> 141 <listitem> 142 <para>[xry111] - Update to gawk-5.3.0. Fixes 143 <ulink url='&lfs-ticket-root;5372'>#5372</ulink>.</para> 144 </listitem> 145 <listitem> 146 <para>[xry111] - Update to bash-5.2.21. Fixes 147 <ulink url='&lfs-ticket-root;5375'>#5375</ulink>.</para> 148 </listitem> 149 <listitem> 150 <para>[xry111] - Update to iproute2-6.6.0. Fixes 151 <ulink url='&lfs-ticket-root;5374'>#5374</ulink>.</para> 152 </listitem> 153 </itemizedlist> 154 </listitem> 155 156 <listitem> 157 <para>2023-11-01</para> 158 <itemizedlist> 159 <listitem> 160 <para>[bdubbs] - Update to iana-etc-20231019. Addresses 161 <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para> 162 </listitem> 163 <listitem> 164 <para>[bdubbs] - Update to wheel-0.41.3. Fixes 165 <ulink url='&lfs-ticket-root;5370'>#5370</ulink>.</para> 166 </listitem> 167 <listitem> 168 <para>[bdubbs] - Update to shadow-4.14.2. Fixes 169 <ulink url='&lfs-ticket-root;5368'>#5368</ulink>.</para> 170 </listitem> 171 <listitem> 172 <para>[bdubbs] - Update to openssl-3.1.4. Fixes 173 <ulink url='&lfs-ticket-root;5367'>#5367</ulink>.</para> 174 </listitem> 175 <listitem> 176 <para>[bdubbs] - Update to texinfo-7.1. Fixes 177 <ulink url='&lfs-ticket-root;5364'>#5364</ulink>.</para> 178 </listitem> 179 <listitem> 180 <para>[bdubbs] - Update to meson-1.2.3. Fixes 181 <ulink url='&lfs-ticket-root;5366'>#5366</ulink>.</para> 182 </listitem> 183 <listitem> 184 <para>[bdubbs] - Update to bc-6.7.2. Fixes 185 <ulink url='&lfs-ticket-root;5363'>#5363</ulink>.</para> 186 </listitem> 187 <listitem> 188 <para>[bdubbs] - Update to linux-6.5.9. Fixes 189 <ulink url='&lfs-ticket-root;5365'>#5365</ulink>.</para> 190 </listitem> 191 <listitem> 192 <para>[bdubbs] - Update to Python-3.12.0. Fixes 193 <ulink url='&lfs-ticket-root;5357'>#5357</ulink>.</para> 194 </listitem> 195 <listitem> 196 <para>[bdubbs] - Add setuptools-68.2.2. Fixes 197 <ulink url='&lfs-ticket-root;5358'>#5358</ulink>.</para> 198 </listitem> 199 </itemizedlist> 200 </listitem> 201 202 <listitem> 203 <para>2023-10-15</para> 204 <itemizedlist> 205 <listitem> 206 <para>[bdubbs] - Update to linux-6.5.7. Fixes 207 <ulink url='&lfs-ticket-root;5362'>#5362</ulink>.</para> 208 </listitem> 209 <listitem> 210 <para>[bdubbs] - Update to shadow-4.14.1. Fixes 211 <ulink url='&lfs-ticket-root;5361'>#5361</ulink>.</para> 212 </listitem> 213 <listitem> 214 <para>[bdubbs] - Update to gettext-0.22.3. Fixes 215 <ulink url='&lfs-ticket-root;5359'>#5359</ulink>.</para> 216 </listitem> 217 </itemizedlist> 218 </listitem> 219 220 <listitem> 221 <para>2023-10-03</para> 222 <itemizedlist> 223 <listitem> 224 <para>[xry111] - Update Glibc upstream fixes patch to fix 225 CVE-2023-4911.</para> 226 </listitem> 227 </itemizedlist> 228 </listitem> 229 230 <listitem> 231 <para>2023-10-01</para> 232 <itemizedlist> 233 <listitem> 234 <para>[bdubbs] - Disable building nscd in glibc. Fixes 235 <ulink url='&lfs-ticket-root;5349'>#5349</ulink>.</para> 236 </listitem> 237 <listitem> 238 <para>[bdubbs] - Update to iana-etc-20230929. Addresses 239 <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para> 240 </listitem> 241 <listitem> 242 <para>[bdubbs] - Update to vim-9.0.1968. Addresses 243 <ulink url='&lfs-ticket-root;4500'>#4500</ulink>.</para> 244 </listitem> 245 <listitem> 246 <para>[bdubbs] - Update to openssl-3.1.3. Fixes 247 <ulink url='&lfs-ticket-root;5350'>#5350</ulink>.</para> 248 </listitem> 249 <listitem> 250 <para>[bdubbs] - Update to meson-1.2.2. Fixes 251 <ulink url='&lfs-ticket-root;5356'>#5356</ulink>.</para> 252 </listitem> 253 <listitem> 254 <para>[bdubbs] - Update to man-db-2.12.0. Fixes 255 <ulink url='&lfs-ticket-root;5354'>#5354</ulink>.</para> 256 </listitem> 257 <listitem> 258 <para>[bdubbs] - Update to linux-6.5.5. Fixes 259 <ulink url='&lfs-ticket-root;5352'>#5352</ulink>.</para> 260 </listitem> 261 <listitem> 262 <para>[bdubbs] - Update to kmod-31. Fixes 263 <ulink url='&lfs-ticket-root;5355'>#5355</ulink>.</para> 264 </listitem> 265 <listitem> 266 <para>[bdubbs] - Update to kbd-2.6.3. Fixes 267 <ulink url='&lfs-ticket-root;5351'>#5361</ulink>.</para> 268 </listitem> 269 <listitem> 270 <para>[bdubbs] - Update to gettext-0.22.2. Fixes 271 <ulink url='&lfs-ticket-root;5348'>#5348</ulink>.</para> 272 </listitem> 273 <listitem> 274 <para>[bdubbs] - Update to bc-6.7.0. Fixes 275 <ulink url='&lfs-ticket-root;5353'>#5353</ulink>.</para> 276 </listitem> 277 </itemizedlist> 278 </listitem> 279 280 <listitem> 281 <para>2023-09-24</para> 282 <itemizedlist> 283 <listitem> 284 <para>[xry111] - Update Glibc upstream fixes patch to plug a 285 memory leak introduced by the security fix.</para> 286 </listitem> 287 </itemizedlist> 288 </listitem> 289 290 <listitem> 291 <para>2023-09-17</para> 292 <itemizedlist> 293 <listitem> 294 <para>[xry111] - Update to linux-6.5.3. Fixes 295 <ulink url='&lfs-ticket-root;5343'>#5343</ulink>.</para> 296 </listitem> 297 <listitem> 298 <para>[xry111] - Update to iana-etc-20230912. Addresses 299 <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para> 300 </listitem> 301 <listitem> 302 <para>[xry111] - Update to iproute2-6.5.0. Fixes 303 <ulink url='&lfs-ticket-root;5342'>#5342</ulink>.</para> 304 </listitem> 305 </itemizedlist> 306 </listitem> 307 308 <listitem> 309 <para>2023-09-13</para> 310 <itemizedlist> 311 <listitem> 312 <para>[xry111] - Fix CVE-2023-4806 for Glibc-2.38. Fixes 313 <ulink url='&lfs-ticket-root;5347'>#5347</ulink>.</para> 314 </listitem> 315 </itemizedlist> 316 </listitem> 317 318 <listitem> 319 <para>2023-09-12</para> 320 <itemizedlist> 321 <listitem> 322 <para>[xry111] - Fix CVE-2023-4527 for Glibc-2.38. Fixes 323 <ulink url='&lfs-ticket-root;5346'>#5346</ulink>.</para> 324 </listitem> 325 </itemizedlist> 326 </listitem> 327 328 <listitem> 329 <para>2023-09-07</para> 330 <itemizedlist> 331 <listitem> 332 <para>[xry111] - Fix an issue in pkgconf-2.0.3 causing 333 BLFS packages fail to build. Fixes 334 <ulink url='&lfs-ticket-root;5341'>#5341</ulink>.</para> 335 </listitem> 336 </itemizedlist> 337 </listitem> 338 339 <listitem> 44 340 <para>2023-09-05</para> 45 341 <itemizedlist> 46 342 <listitem> 47 343 <para>[xry111] - Move pkgconf before binutils for binutils 48 building system to detect zstd properly. 344 building system to detect zstd properly. Fixes 49 345 <ulink url='&lfs-ticket-root;5340'>#5340</ulink>.</para> 50 346 </listitem> -
chapter01/whatsnew.xml
r6b6a1b9 r73d91ac 39 39 <para>Automake-&automake-version;</para> 40 40 </listitem>--> 41 < !--<listitem>42 <para>Bash 43 </listitem> -->44 < !--<listitem>45 <para>Bc 46 </listitem> -->41 <listitem> 42 <para>Bash-&bash-version;</para> 43 </listitem> 44 <listitem> 45 <para>Bc-&bc-version;</para> 46 </listitem> 47 47 <!--<listitem> 48 48 <para>Binutils-&binutils-version;</para> … … 63 63 <para>DejaGNU-&dejagnu-version;</para> 64 64 </listitem>--> 65 < !--<listitem revision="systemd">65 <listitem revision="systemd"> 66 66 <para>D-Bus-&dbus-version;</para> 67 </listitem> -->67 </listitem> 68 68 <!--<listitem> 69 69 <para>Diffutils-&diffutils-version;</para> … … 72 72 <para>E2fsprogs-&e2fsprogs-version;</para> 73 73 </listitem>--> 74 <!--<listitem revision="sysv">75 <para>Udev-&systemd-version; (from systemd)</para>76 </listitem>-->77 74 <!--<listitem> 78 75 <para>Expat-&expat-version;</para> … … 93 90 <para>Flit-core-&flit-core-version;</para> 94 91 </listitem>--> 95 < !--<listitem>92 <listitem> 96 93 <para>Gawk-&gawk-version;</para> 97 </listitem> -->94 </listitem> 98 95 <!--<listitem> 99 96 <para>GCC-&gcc-version;</para> … … 102 99 <para>GDBM-&gdbm-version;</para> 103 100 </listitem>--> 104 < !--<listitem>101 <listitem> 105 102 <para>Gettext-&gettext-version;</para> 106 </listitem> -->103 </listitem> 107 104 <!--<listitem> 108 105 <para>Glibc-&glibc-version;</para> … … 126 123 <para>Gzip-&gzip-version;</para> 127 124 </listitem> 128 < !--<listitem>129 <para>I ANA-Etc-&iana-etc-version;</para>130 </listitem> -->125 <listitem> 126 <para>Iana-Etc-&iana-etc-version;</para> 127 </listitem> 131 128 <!--<listitem> 132 129 <para>Inetutils-&inetutils-version;</para> … … 135 132 <para>Intltool-&intltool-version;</para> 136 133 </listitem>--> 137 < !--<listitem>134 <listitem> 138 135 <para>IPRoute2-&iproute2-version;</para> 139 </listitem> -->136 </listitem> 140 137 <!--<listitem revision="systemd"> 141 138 <para>Jinja2-&jinja2-version;</para> … … 144 141 <para>Kbd-&kbd-version;</para> 145 142 </listitem> 146 < !--<listitem>143 <listitem> 147 144 <para>Kmod-&kmod-version;</para> 148 </listitem> -->145 </listitem> 149 146 <!--<listitem> 150 147 <para>Less-&less-version;</para> … … 156 153 <para>Libcap-&libcap-version;</para> 157 154 </listitem>--> 158 < !--<listitem>159 <para>Libelf -&elfutils-version; (from elfutils)</para>160 </listitem> -->155 <listitem> 156 <para>Libelf from Elfutils-&elfutils-version;</para> 157 </listitem> 161 158 <!--<listitem> 162 159 <para>Libffi-&libffi-version;</para> … … 168 165 <para>Libtool-&libtool-version;</para> 169 166 </listitem>--> 170 < !--<listitem>167 <listitem> 171 168 <para>Linux-&linux-version;</para> 172 </listitem> -->169 </listitem> 173 170 <!--<listitem> 174 171 <para>M4-&m4-version;</para> … … 177 174 <para>Make-&make-version;</para> 178 175 </listitem>--> 179 < !--<listitem>176 <listitem> 180 177 <para>Man-DB-&man-db-version;</para> 181 </listitem> -->178 </listitem> 182 179 <!--<listitem> 183 180 <para>Man-pages-&man-pages-version;</para> … … 186 183 <para>MarkupSafe-&markupsafe-version;</para> 187 184 </listitem>--> 188 < !--<listitem>185 <listitem> 189 186 <para>Meson-&meson-version;</para> 190 </listitem> -->187 </listitem> 191 188 <!--<listitem> 192 189 <para>MPC-&mpc-version;</para> … … 201 198 <para>Ninja-&ninja-version;</para> 202 199 </listitem>--> 203 < !--<listitem>204 <para>Open ssl-&openssl-version;</para>205 </listitem> -->200 <listitem> 201 <para>OpenSSL-&openssl-version;</para> 202 </listitem> 206 203 <!--<listitem> 207 204 <para>Patch-&patch-version;</para> 208 205 </listitem>--> 209 206 <listitem> 207 <para>Perl-&perl-version;</para> 208 </listitem> 209 <listitem> 210 210 <para>Pkgconf-&pkgconf-version;</para> 211 211 </listitem> 212 <!--<listitem>213 <para>Perl-&perl-version;</para>214 </listitem>-->215 212 <listitem> 216 213 <para>Procps-ng-&procps-ng-version;</para> … … 227 224 <!--<listitem> 228 225 <para>Sed-&sed-version;</para> 226 </listitem>--> 227 <!--<listitem> After version 12.1 release - see Added 228 <para>Setuptools-&setuptools-version;</para> 229 229 </listitem>--> 230 230 <listitem> … … 246 246 <para>Tcl-&tcl-version;</para> 247 247 </listitem>--> 248 < !--<listitem>248 <listitem> 249 249 <para>Texinfo-&texinfo-version;</para> 250 </listitem> -->250 </listitem> 251 251 <!--<listitem> 252 252 <para>Tzdata-&tzdata-version;</para> 253 253 </listitem>--> 254 <listitem> 255 <para>Util-Linux-&util-linux-version;</para> 254 <!--<listitem revision="sysv"> 255 <para>Udev from Systemd-&systemd-version;</para> 256 </listitem>--> 257 <listitem> 258 <para>Util-linux-&util-linux-version;</para> 256 259 </listitem> 257 260 <listitem> … … 259 262 </listitem> 260 263 <listitem> 261 <para> wheel-&wheel-version;</para>262 </listitem> 263 <!--<listitem> 264 <para>XML -Parser-&xml-parser-version;</para>265 </listitem>--> 266 < !--<listitem>267 <para>X Z-Utils-&xz-version;</para>268 </listitem> -->264 <para>Wheel-&wheel-version;</para> 265 </listitem> 266 <!--<listitem> 267 <para>XML::Parser-&xml-parser-version;</para> 268 </listitem>--> 269 <listitem> 270 <para>Xz-&xz-version;</para> 271 </listitem> 269 272 <listitem> 270 273 <para>Zlib-&zlib-version;</para> … … 288 291 <listitem><para></para></listitem> <!-- satisfy build --> 289 292 290 <!--<listitem> 291 <para>&grub-upstream-fixes-patch;</para> 292 </listitem>--> 293 294 <!--<listitem> 293 <listitem> 294 <para>setuptools-&setuptools-version;</para> 295 </listitem> 296 297 <listitem> 298 <para>&glibc-upstream-fixes-patch;</para> 299 </listitem> 300 301 <listitem> 295 302 <para>&readline-fixes-patch;</para> 296 </listitem>--> 297 298 <!--<listitem revision="systemd"> 299 <para>&systemd-upstream-patch;</para> 300 </listitem>--> 303 </listitem> 304 301 305 </itemizedlist> 302 306 … … 304 308 <title>Removed:</title> 305 309 <listitem><para></para></listitem> <!-- satisfy build --> 306 <!-- 307 <listitem revision='sysv'> 308 <para>eudev-3.2.12</para> 309 </listitem> 310 311 <listitem> 312 <para>Pkg-config-0.29.2</para> 313 </listitem> 314 315 <listitem revision='systemd'> 316 <para>systemd-252-security_fix-1.patch</para> 317 </listitem> 318 --> 310 311 <listitem> 312 <para>glibc-2.38-memalign_fix-1.patch</para> 313 </listitem> 314 315 <listitem> 316 <para>readline-8.2-upstream_fix-1.patch</para> 317 </listitem> 318 319 319 </itemizedlist> 320 320 -
chapter02/hostreqs.xml
r6b6a1b9 r73d91ac 55 55 </listitem> 56 56 57 <listitem> 58 <para><emphasis role="strong">Coreutils-7.0</emphasis></para> 57 <!-- In Coreutils-8.1 the nproc program is added. --> 58 <listitem> 59 <para><emphasis role="strong">Coreutils-8.1</emphasis></para> 59 60 </listitem> 60 61 … … 73 74 74 75 <listitem> 75 <para><emphasis role="strong">GCC-5.1</emphasis> including the C++ 76 <!-- Pass 1 GCC FTBFS with GCC-5.1 because of 77 https://gcc.gnu.org/PR65801. --> 78 <para><emphasis role="strong">GCC-5.2</emphasis> including the C++ 76 79 compiler, <command>g++</command> (Versions greater than &gcc-version; are 77 80 not recommended as they have not been tested). C and C++ standard … … 217 220 } 218 221 219 # Coreutils first because -sort needs Coreutils >= 7.0220 ver_check Coreutils sort 7.0 || bail "--version-sort unsupported"222 # Coreutils first because --version-sort needs Coreutils >= 7.0 223 ver_check Coreutils sort 8.1 || bail "Coreutils too old, stop" 221 224 ver_check Bash bash 3.2 222 225 ver_check Binutils ld 2.13.1 … … 225 228 ver_check Findutils find 4.2.31 226 229 ver_check Gawk gawk 4.0.1 227 ver_check GCC gcc 5. 1228 ver_check "GCC (C++)" g++ 5. 1230 ver_check GCC gcc 5.2 231 ver_check "GCC (C++)" g++ 5.2 229 232 ver_check Grep grep 2.5.1a 230 233 ver_check Gzip gzip 1.3.12 … … 258 261 then echo "OK: g++ works"; 259 262 else echo "ERROR: g++ does NOT work"; fi 260 rm -f a.out</literal> 263 rm -f a.out 264 265 if [ "$(nproc)" = "" ]; then 266 echo "ERROR: nproc is not available or it produces empty output" 267 else 268 echo "OK: nproc reports $(nproc) logical cores are available" 269 fi</literal> 261 270 EOF 262 271 -
chapter03/packages.xml
r6b6a1b9 r73d91ac 243 243 <para>Download: <ulink url="&gcc-url;"/></para> 244 244 <para>MD5 sum: <literal>&gcc-md5;</literal></para> 245 <para>SHA256 sum: <literal>&gcc-sha256;</literal></para>246 245 </listitem> 247 246 </varlistentry> … … 357 356 <para>Download: <ulink url="&inetutils-url;"/></para> 358 357 <para>MD5 sum: <literal>&inetutils-md5;</literal></para> 359 <para>SHA256 sum: <literal>&inetutils-sha256;</literal></para>360 358 </listitem> 361 359 </varlistentry> … … 668 666 <para>Download: <ulink url="&sed-url;"/></para> 669 667 <para>MD5 sum: <literal>&sed-md5;</literal></para> 668 </listitem> 669 </varlistentry> 670 671 <varlistentry> 672 <term>Setuptools (&setuptools-version;) - <token>&setuptools-size;</token>:</term> 673 <listitem> 674 <para>Home page: <ulink url="&setuptools-home;"/></para> 675 <para>Download: <ulink url="&setuptools-url;"/></para> 676 <para>MD5 sum: <literal>&setuptools-md5;</literal></para> 670 677 </listitem> 671 678 </varlistentry> -
chapter03/patches.xml
r6b6a1b9 r73d91ac 79 79 --> 80 80 <varlistentry> 81 <term>Glibc Memalign Patch - <token>&glibc-memalign-patch-size;</token>:</term>81 <term>Glibc Upstream Fixes Patch - <token>&glibc-upstream-fixes-patch-size;</token>:</term> 82 82 <listitem> 83 <para>Download: <ulink url="&patches-root;&glibc- memalign-patch;"/></para>84 <para>MD5 sum: <literal>&glibc- memalign-patch-md5;</literal></para>83 <para>Download: <ulink url="&patches-root;&glibc-upstream-fixes-patch;"/></para> 84 <para>MD5 sum: <literal>&glibc-upstream-fixes-patch-md5;</literal></para> 85 85 </listitem> 86 86 </varlistentry> -
chapter04/aboutsbus.xml
r6b6a1b9 r73d91ac 38 38 39 39 <note> 40 <para>For many modern systems with multiple processors (or cores) the41 compilation time for a package can be reduced by performing a "parallel42 make" by either setting an environment variable or telling the43 <command>make</command> program how many processors are available. For44 instance, an Intel i5-6500 CPU can support four simultaneous processes with:</para>45 46 <screen role="nodump"><userinput>export MAKEFLAGS='-j4'</userinput></screen>47 48 <para>or by building with:</para>49 50 <screen role="nodump"><userinput>make -j4</userinput></screen>51 52 40 <para>When multiple processors are used in this way, the SBU units in the 53 41 book will vary even more than they normally would. In some cases, the make -
chapter04/settingenviron.xml
r6b6a1b9 r73d91ac 196 196 </important> 197 197 198 <para> 199 For many modern systems with multiple processors (or cores) the 200 compilation time for a package can be reduced by performing a "parallel 201 make" by telling the make program how many processors are available via 202 a command line option or an environment variable. For instance, an Intel 203 Core i9-13900K processor has 8 P (performance) cores and 204 16 E (efficiency) cores, and a P core can simultaneously run two threads 205 so each P core are modeled as two logical cores by the Linux kernel. 206 As the result there are 32 logical cores in total. One obvious way to 207 use all these logical cores is allowing <command>make</command> to spawn 208 up to 32 build jobs. This can be done by passing the 209 <parameter>-j32</parameter> option to <command>make</command>: 210 </para> 211 212 <screen role='nodump'><userinput>make -j32</userinput></screen> 213 214 <para> 215 Or set the <envar>MAKEFLAGS</envar> environment variable and its 216 content will be automatically used by <command>make</command> as 217 command line options: 218 </para> 219 220 <screen role='nodump'><userinput>export MAKEFLAGS=-j32</userinput></screen> 221 222 <important> 223 <para> 224 Never pass a <parameter>-j</parameter> option without a number to 225 <command>make</command> or set such an option in 226 <envar>MAKEFLAGS</envar>. Doing so will allow <command>make</command> 227 to spawn infinite build jobs and cause system stability problems. 228 </para> 229 </important> 230 231 <para> 232 To use all logical cores available for building packages in 233 <xref linkend='chapter-cross-tools'/> and 234 <xref linkend='chapter-temporary-tools'/>, set <envar>MAKEFLAGS</envar> 235 now in <filename>.bashrc</filename>: 236 </para> 237 238 <screen><userinput>cat >> ~/.bashrc << "EOF" 239 <literal>export MAKEFLAGS=-j<replaceable>$(nproc)</replaceable></literal> 240 EOF</userinput></screen> 241 242 <para> 243 Replace <replaceable>$(nproc)</replaceable> with the number of logical 244 cores you want to use if you don't want to use all the logical cores. 245 </para> 246 198 247 <para>Finally, to ensure the environment is fully prepared for building the 199 248 temporary tools, force the <command>bash</command> shell to read -
chapter05/glibc.xml
r6b6a1b9 r73d91ac 71 71 --enable-kernel=&min-kernel; \ 72 72 --with-headers=$LFS/usr/include \ 73 --disable-nscd \ 73 74 libc_cv_slibdir=/usr/lib</userinput></screen> 74 75 … … 109 110 <para>This ensures that the library is installed in /usr/lib instead 110 111 of the default /lib64 on 64-bit machines.</para> 112 </listitem> 113 </varlistentry> 114 115 <varlistentry> 116 <term><parameter>--disable-nscd</parameter></term> 117 <listitem> 118 <para>Do not build the name service cache daemon which is no 119 longer used.</para> 111 120 </listitem> 112 121 </varlistentry> -
chapter05/libstdc++.xml
r6b6a1b9 r73d91ac 125 125 cross-compilation:</para> 126 126 127 <screen><userinput remap="install">rm -v $LFS/usr/lib/lib{stdc++ ,stdc++fs,supc++}.la</userinput></screen>127 <screen><userinput remap="install">rm -v $LFS/usr/lib/lib{stdc++{,exp,fs},supc++}.la</userinput></screen> 128 128 129 129 </sect2> -
chapter06/binutils-pass2.xml
r6b6a1b9 r73d91ac 44 44 <title>Installation of Binutils</title> 45 45 46 <!-- Don't remove this until Binutils upstream updates the libtool 47 copy. On some host distros the issue doesn't show up. --> 48 <para>Binutils ships an outdated copy of libtool in the tarball. It lacks 49 sysroot support, so the produced binaries will be mistakenly linked to 50 libraries from the host distro. Work around this issue:</para> 46 <!-- Don't remove this until Binutils upstream resolves this issue. 47 We can test by building Binutils on a complete system with 48 zlib (libz.so) installed, passing enable-shared and 49 without-system-zlib. If the resulted libctf.so still links against 50 libz.so (check with readelf -d) despite we are saying 51 without-system-zlib, then the issue is still unresolved. --> 52 <para>Binutils building system relies on an shipped libtool copy to link against 53 internal static libraries, but the libiberty and zlib copies shipped 54 in the package do not use libtool. This inconsistency may cause 55 produced binaries mistakenly linked against libraries from the host 56 distro. Work around this issue:</para> 51 57 52 58 <screen><userinput remap="pre">sed '6009s/$add_dir//' -i ltmain.sh</userinput></screen> -
chapter06/coreutils.xml
r6b6a1b9 r73d91ac 44 44 <title>Installation of Coreutils</title> 45 45 46 <!--47 <screen><userinput remap="configure">export gl_cv_macro_MB_CUR_MAX_good=y</userinput></screen>48 -->49 46 <para>Prepare Coreutils for compilation:</para> 50 47 … … 53 50 --build=$(build-aux/config.guess) \ 54 51 --enable-install-program=hostname \ 55 --enable-no-install-program=kill,uptime \ 56 gl_cv_macro_MB_CUR_MAX_good=y</userinput></screen> 52 --enable-no-install-program=kill,uptime</userinput></screen> 57 53 58 54 <variablelist> … … 68 64 </varlistentry> 69 65 70 <varlistentry>71 <term><envar>gl_cv_macro_MB_CUR_MAX_good=y</envar></term>72 <listitem>73 <para>This is needed to work around an issue in the gnulib copy74 shipped by the package which would break cross compilation.</para>75 </listitem>76 </varlistentry>77 66 </variablelist> 78 67 -
chapter06/ncurses.xml
r6b6a1b9 r73d91ac 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> -
chapter07/chroot.xml
r6b6a1b9 r73d91ac 24 24 PS1='(lfs chroot) \u:\w\$ ' \ 25 25 PATH=/usr/bin:/usr/sbin \ 26 MAKEFLAGS="-j<replaceable>$(nproc)</replaceable>" \ 27 TESTSUITEFLAGS="-j<replaceable>$(nproc)</replaceable>" \ 26 28 /bin/bash --login</userinput></screen> 29 30 <para> 31 If you don't want to use all available logical cores, replace 32 <replaceable>$(nproc)</replaceable> with the number of logical cores you 33 want to use for building packages in this chapter and the following 34 chapters. The test suites of some packages (notably Autoconf, Libtool, 35 and Tar) in &ch-final; are not affected by <envar>MAKEFLAGS</envar>, they 36 use a <envar>TESTSUITEFLAGS</envar> environment variable instead. We 37 set that here as well for running these test suites with multiple cores. 38 </para> 27 39 28 40 <para>The <parameter>-i</parameter> option given to the <command>env</command> … … 48 60 used.</para> 49 61 50 <para> Note that the <command>bash</command> prompt will say62 <para>Also note that the <command>bash</command> prompt will say 51 63 <computeroutput>I have no name!</computeroutput> This is normal because the 52 64 <filename>/etc/passwd</filename> file has not been created yet.</para> -
chapter07/createfiles.xml
r6b6a1b9 r73d91ac 216 216 the bad login attempts.</para> 217 217 218 <note><para>The <filename>/run/utmp</filename> file records the users that 219 are currently logged in. This file is created dynamically in the boot 220 scripts.</para></note> 218 <!-- systemd no longer creates this --> 219 <note revision='sysv'><para>The <filename>/run/utmp</filename> file 220 records the users that are currently logged in. This file is created 221 dynamically in the boot scripts.</para></note> 222 223 <!-- AFAIK they are not vital for system function, users requiring such 224 info should rely on systemd-logind or elogind or some custom PAM 225 module. Maybe we can stop to create them at all. --> 226 <note> 227 <para> 228 The <phrase revision='sysv'><filename>utmp</filename>, 229 </phrase><filename>wtmp</filename>, <filename>btmp</filename>, and 230 <filename>lastlog</filename> files use 32-bit integers for timestamps 231 and they'll be fundamentally broken after year 2038. Many packages 232 have stopped using them and other packages are going to stop using 233 them. It is probably best to consider them deprecated. 234 </para> 235 </note> 221 236 222 237 </sect1> -
chapter07/kernfs.xml
r6b6a1b9 r73d91ac 108 108 109 109 <screen><userinput>if [ -h $LFS/dev/shm ]; then 110 mkdir -pv $LFS/$(readlink $LFS/dev/shm)110 (cd $LFS/dev; mkdir $(readlink shm)) 111 111 else 112 mount - t tmpfs -o nosuid,nodev tmpfs $LFS/dev/shm112 mount -vt tmpfs -o nosuid,nodev tmpfs $LFS/dev/shm 113 113 fi</userinput></screen> 114 114 -
chapter07/perl.xml
r6b6a1b9 r73d91ac 58 58 59 59 <variablelist> 60 <title>The meaning of the new Configure options:</title> 60 <title>The meaning of the Configure options:</title> 61 61 62 <varlistentry> 62 63 <term><parameter>-des</parameter></term> … … 65 66 all items; -e ensures completion of all tasks; -s silences 66 67 non-essential output.</para> 68 </listitem> 69 </varlistentry> 70 71 <varlistentry> 72 <term><parameter>-Dvendorprefix=/usr</parameter></term> 73 <listitem> 74 <para>This ensures <command>perl</command> knows how to 75 tell packages where they should install their Perl modules.</para> 76 </listitem> 77 </varlistentry> 78 79 <varlistentry> 80 <term><parameter>-Duseshrplib</parameter></term> 81 <listitem> 82 <para>Build <systemitem class='library'>libperl</systemitem> 83 needed by some Perl modules as a shared library, instead of 84 a static library.</para> 85 </listitem> 86 </varlistentry> 87 88 <varlistentry> 89 <term><parameter>-Dprivlib,-Darchlib,-Dsitelib,...</parameter></term> 90 <listitem> 91 <para>These settings define where Perl looks for installed 92 modules. The LFS editors chose to put them in a directory structure 93 based on the MAJOR.MINOR version of Perl (&perl-version-min;) which 94 allows upgrading Perl to newer patch levels (the patch level is 95 the last dot separated part in the full version string like 96 &perl-version;) without reinstalling all of the modules.</para> 67 97 </listitem> 68 98 </varlistentry> -
chapter08/automake.xml
r6b6a1b9 r73d91ac 54 54 <screen><userinput remap="make">make</userinput></screen> 55 55 56 <para> Using the -j4 make optionspeeds up the tests, even on systems with57 only one processor, due to internal delays in individual tests. To test56 <para>Using four parallel jobs speeds up the tests, even on systems with 57 less logical cores, due to internal delays in individual tests. To test 58 58 the results, issue:</para> 59 59 60 <screen><userinput remap="test">make -j4 check</userinput></screen> 60 <screen><userinput remap="test">make <replaceable>-j$(($(nproc)>4?$(nproc):4))</replaceable> check</userinput></screen> 61 62 <para>Replace <replaceable>$((...))</replaceable> with the number of 63 logical cores you want to use if you don't want to use all.</para> 61 64 62 65 <para>The test t/subobj.sh is known to fail.</para> -
chapter08/chapter08.xml
r6b6a1b9 r73d91ac 66 66 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="flit-core.xml"/> 67 67 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="wheel.xml"/> 68 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="setuptools.xml"/> 68 69 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ninja.xml"/> 69 70 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="meson.xml"/> -
chapter08/dbus.xml
r6b6a1b9 r73d91ac 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/gawk.xml
r6b6a1b9 r73d91ac 60 60 <para>Install the package:</para> 61 61 62 <screen><userinput remap="install">make LN='ln -f' install</userinput></screen> 62 <screen><userinput remap="install">rm -f /usr/bin/gawk-&gawk-version; 63 make install</userinput></screen> 63 64 64 65 <variablelist> 65 <title>The meaning of the overridden make variable:</title>66 <title>The meaning of the command:</title> 66 67 67 68 <varlistentry> 68 <term>< envar>LN='ln -f'</envar></term>69 <term><command>rm -f /usr/bin/gawk-&gawk-version;</command></term> 69 70 <listitem> 70 <para>This variable ensures that the previous hard link installed 71 <para>The building system will not recreate the hard link 72 <filename>gawk-&gawk-version;</filename> if it already exists. 73 Remove it to ensure that the previous hard link installed 71 74 in <xref linkend='ch-tools-gawk'/> is updated here.</para> 72 75 </listitem> -
chapter08/glibc.xml
r6b6a1b9 r73d91ac 51 51 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen> 52 52 53 <para>Now fix a regression causing the posix_memalign() function54 to bevery slow in some conditions:</para>55 56 <screen><userinput remap="pre">patch -Np1 -i ../&glibc- memalign-patch;</userinput></screen>53 <para>Now fix two security vulnerabilities and a regression causing the 54 posix_memalign() function very slow in some conditions:</para> 55 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 … … 75 75 --enable-stack-protector=strong \ 76 76 --with-headers=/usr/include \ 77 --disable-nscd \ 77 78 libc_cv_slibdir=/usr/lib</userinput></screen> 78 79 … … 112 113 <para>This option tells the build system where to find the 113 114 kernel API headers.</para> 115 </listitem> 116 </varlistentry> 117 118 <varlistentry> 119 <term><parameter>--disable-nscd</parameter></term> 120 <listitem> 121 <para>Do not build the name service cache daemon which is no 122 longer used.</para> 114 123 </listitem> 115 124 </varlistentry> … … 207 216 208 217 <screen><userinput remap="install">sed '/RTLDLIST=/s@/usr@@g' -i /usr/bin/ldd</userinput></screen> 209 218 <!-- 210 219 <para>Install the configuration file and runtime directory for 211 220 <command>nscd</command>:</para> … … 219 228 <screen revision="systemd"><userinput remap="install">install -v -Dm644 ../nscd/nscd.tmpfiles /usr/lib/tmpfiles.d/nscd.conf 220 229 install -v -Dm644 ../nscd/nscd.service /usr/lib/systemd/system/nscd.service</userinput></screen> 221 230 --> 222 231 <para>Next, install the locales that can make the system respond in a 223 232 different language. None of these locales are required, but if some of them … … 321 330 following:</para> 322 331 323 <screen ><userinput>cat > /etc/nsswitch.conf << "EOF"332 <screen revision='sysv'><userinput>cat > /etc/nsswitch.conf << "EOF" 324 333 <literal># Begin /etc/nsswitch.conf 325 334 … … 329 338 330 339 hosts: files dns 340 networks: files 341 342 protocols: files 343 services: files 344 ethers: files 345 rpc: files 346 347 # End /etc/nsswitch.conf</literal> 348 EOF</userinput></screen> 349 350 <screen revision='systemd'><userinput>cat > /etc/nsswitch.conf << "EOF" 351 <literal># Begin /etc/nsswitch.conf 352 353 passwd: files systemd 354 group: files systemd 355 shadow: files systemd 356 357 hosts: mymachines resolve [!UNAVAIL=return] files myhostname dns 331 358 networks: files 332 359 … … 481 508 ldd, lddlibc4, 482 509 ld.so (symlink to ld-linux-aarch64[_be].so.1), 483 locale, localedef, makedb, mtrace, nscd,510 locale, localedef, makedb, mtrace, 484 511 pcprofiledump, pldd, sln, sotruss, sprof, tzselect, xtrace, 485 512 zdump, and zic</seg> … … 501 528 /usr/include/sys, /usr/lib/audit, /usr/lib/gconv, /usr/lib/locale, 502 529 /usr/libexec/getconf, /usr/share/i18n, /usr/share/zoneinfo, 503 /var/cache/nscd,and /var/lib/nss_db</seg>530 and /var/lib/nss_db</seg> 504 531 </seglistitem> 505 532 </segmentedlist> … … 631 658 <indexterm zone="ch-system-glibc mtrace"> 632 659 <primary sortas="b-mtrace">mtrace</primary> 633 </indexterm>634 </listitem>635 </varlistentry>636 637 <varlistentry id="nscd">638 <term><command>nscd</command></term>639 <listitem>640 <para>A daemon that provides a cache for the most common name641 service requests</para>642 <indexterm zone="ch-system-glibc nscd">643 <primary sortas="b-nscd">nscd</primary>644 660 </indexterm> 645 661 </listitem> -
chapter08/gmp.xml
r6b6a1b9 r73d91ac 120 120 121 121 <segmentedlist> 122 <segtitle>Installed Libraries</segtitle>122 <segtitle>Installed libraries</segtitle> 123 123 <segtitle>Installed directory</segtitle> 124 124 -
chapter08/iproute2.xml
r6b6a1b9 r73d91ac 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/libelf.xml
r6b6a1b9 r73d91ac 71 71 72 72 <segmentedlist> 73 <segtitle>Installed Library</segtitle>74 <segtitle>Installed Directory</segtitle>73 <segtitle>Installed library</segtitle> 74 <segtitle>Installed directory</segtitle> 75 75 76 76 <seglistitem> -
chapter08/man-db.xml
r6b6a1b9 r73d91ac 114 114 <para>To test the results, issue:</para> 115 115 116 <screen><userinput remap="test">make -k check</userinput></screen> 117 118 <!-- https://gitlab.com/man-db/man-db/-/issues/25 --> 119 <para>One test named <filename>man1/lexgrog.1</filename> is known 120 to fail.</para> 116 <screen><userinput remap="test">make check</userinput></screen> 121 117 122 118 <para>Install the package:</para> -
chapter08/mpc.xml
r6b6a1b9 r73d91ac 70 70 71 71 <segmentedlist> 72 <segtitle>Installed Libraries</segtitle>73 <segtitle>Installed Directory</segtitle>72 <segtitle>Installed libraries</segtitle> 73 <segtitle>Installed directory</segtitle> 74 74 75 75 <seglistitem> -
chapter08/mpfr.xml
r6b6a1b9 r73d91ac 59 59 </important> 60 60 61 <para>Test the results and ensure that all 19 7tests passed:</para>61 <para>Test the results and ensure that all 198 tests passed:</para> 62 62 63 63 <screen><userinput remap="test">make check</userinput></screen> … … 75 75 76 76 <segmentedlist> 77 <segtitle>Installed Libraries</segtitle>77 <segtitle>Installed libraries</segtitle> 78 78 <segtitle>Installed directory</segtitle> 79 79 -
chapter08/openssl.xml
r6b6a1b9 r73d91ac 64 64 <para>To test the results, issue:</para> 65 65 66 <screen><userinput remap="test"> make test</userinput></screen>66 <screen><userinput remap="test">HARNESS_JOBS=<replaceable>$(nproc)</replaceable> make test</userinput></screen> 67 67 68 68 <para>One test, 30-test_afalg.t, is known to fail if the host kernel -
chapter08/perl.xml
r6b6a1b9 r73d91ac 77 77 78 78 <variablelist> 79 <title>The meaning of the configure options:</title> 80 81 <varlistentry> 82 <term><parameter>-Dvendorprefix=/usr</parameter></term> 83 <listitem> 84 <para>This ensures <command>perl</command> knows how to 85 tell packages where they should install their Perl modules.</para> 86 </listitem> 87 </varlistentry> 79 <title>The meaning of the new Configure options:</title> 88 80 89 81 <varlistentry> … … 106 98 107 99 <varlistentry> 108 <term><parameter>-Duseshrplib</parameter></term>109 <listitem>110 <para>Build a shared libperl needed by some Perl modules.</para>111 </listitem>112 </varlistentry>113 114 <varlistentry>115 100 <term><parameter>-Dusethreads</parameter></term> 116 101 <listitem> … … 119 104 </varlistentry> 120 105 121 <varlistentry>122 <term><parameter>-Dprivlib,-Darchlib,-Dsitelib,...</parameter></term>123 <listitem>124 <para>These settings define where Perl looks for installed125 modules. The LFS editors chose to put them in a directory structure126 based on the MAJOR.MINOR version of Perl (&perl-version-min;) which127 allows upgrading Perl to newer patch levels (the patch level is128 the last dot separated part in the full version string like129 &perl-version;) without reinstalling all of the modules.</para>130 </listitem>131 </varlistentry>132 133 106 </variablelist> 134 107 … … 139 112 <para>To test the results (approximately 11 SBU), issue:</para> 140 113 141 <screen><userinput remap="test"> make test</userinput></screen>114 <screen><userinput remap="test">TEST_JOBS=$(nproc) make test_harness</userinput></screen> 142 115 143 116 <para>Install the package and clean up:</para> -
chapter08/pkgconf.xml
r6b6a1b9 r73d91ac 44 44 45 45 <title>Installation of Pkgconf</title> 46 <!--47 <para>Pkgconf-2.0.0 explicitly errors when attempting to run48 <option>- -modversion</option> with multiple arguments, even if these49 arguments are constraints for the same package. This breaks many50 packages in BLFS. Run this sed to reinstate the old51 output for pkgconf:</para>52 46 53 <screen><userinput remap="pre">sed -i '1330,1336s|^|//|' cli/main.c</userinput></screen> 54 --> 47 <!-- https://github.com/pkgconf/pkgconf/issues/317 --> 48 <para>Fix a regression in pkgconf-2.0.3 breaking BLFS packages:</para> 49 50 <screen><userinput remap="pre">sed -i 's/str\(cmp.*package\)/strn\1, strlen(pkg->why)/' cli/main.c</userinput></screen> 51 55 52 <para>Prepare Pkgconf for compilation:</para> 56 53 -
chapter08/pkgmgt.xml
r6b6a1b9 r73d91ac 68 68 all the packages in their dependency order, we do not recommend 69 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> 70 81 </listitem> 71 82 … … 153 164 implemented this, and most packages use that command to install binary files and 154 165 libraries. This means that you won't be troubled by this issue most of the time. 155 However, the install process of some packages (notably Mozilla JS166 However, the install process of some packages (notably SpiderMonkey 156 167 in BLFS) just overwrites the file if it exists; this causes a crash. So 157 168 it's safer to save your work and close unneeded running processes … … 186 197 special program to manage the packages. Each package is installed in a 187 198 separate directory. For example, package foo-1.1 is installed in 188 <filename class='directory'>/ usr/pkg/foo-1.1</filename>189 and a symlink is made from <filename>/ usr/pkg/foo</filename> to190 <filename class='directory'>/ usr/pkg/foo-1.1</filename>. When199 <filename class='directory'>/opt/foo-1.1</filename> 200 and a symlink is made from <filename>/opt/foo</filename> to 201 <filename class='directory'>/opt/foo-1.1</filename>. When 191 202 a new version foo-1.2 comes along, it is installed in 192 <filename class='directory'>/ usr/pkg/foo-1.2</filename> and the previous203 <filename class='directory'>/opt/foo-1.2</filename> and the previous 193 204 symlink is replaced by a symlink to the new version.</para> 194 205 195 206 <para>Environment variables such as <envar>PATH</envar>, 196 <envar>LD_LIBRARY_PATH</envar>, <envar>MANPATH</envar>, 197 <envar>INFOPATH</envar> and <envar>CPPFLAGS</envar> need to be expanded to 198 include <filename>/usr/pkg/foo</filename>. If you install more than a few packages, 199 this scheme becomes unmanageable.</para> 200 207 <envar>MANPATH</envar>, <envar>INFOPATH</envar>, 208 <envar>PKG_CONFIG_PATH</envar>, <envar>CPPFLAGS</envar>, 209 <envar>LDFLAGS</envar>, and the configuration file 210 <filename>/etc/ld.so.conf</filename> may need to be expanded to 211 include the corresponding subdirectories in 212 <filename class='directory'>/opt/foo-x.y</filename>.</para> 213 214 <para> 215 This scheme is used by the BLFS book to install some very large 216 packages to make it easier to upgrade them. If you install more 217 than a few packages, this scheme becomes unmanageable. And some 218 packages (for example Linux API headers and Glibc) may not work well 219 with this scheme. 220 <emphasis role='bold'>Never use this scheme system-wide.</emphasis> 221 </para> 201 222 </sect3> 202 223 -
chapter08/python.xml
r6b6a1b9 r73d91ac 49 49 --enable-shared \ 50 50 --with-system-expat \ 51 --with-system-ffi \52 51 --enable-optimizations</userinput></screen> 53 52 … … 62 61 </listitem> 63 62 </varlistentry> 64 65 <varlistentry>66 <term><parameter>--with-system-ffi</parameter></term>67 <listitem>68 <para>This switch enables linking against the system version of69 <filename class='libraryfile'>libffi.so</filename>.</para>70 </listitem>71 </varlistentry>72 63 73 64 <varlistentry> … … 165 156 <screen><userinput remap="install">install -v -dm755 /usr/share/doc/python-&python-version;/html 166 157 167 tar --strip-components=1 \ 168 --no-same-owner \ 169 --no-same-permissions \ 170 -C /usr/share/doc/python-&python-version;/html \ 171 -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> 172 162 173 163 <variablelist> … … 175 165 176 166 <varlistentry> 177 <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> 178 168 <listitem> 179 169 <para>Ensure the installed files have the correct ownership and 180 170 permissions. Without these options, <application>tar</application> 181 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. 182 173 </para> 183 174 </listitem> … … 192 183 193 184 <segmentedlist> 194 <segtitle>Installed Programs</segtitle>195 <segtitle>Installed Library</segtitle>196 <segtitle>Installed Directories</segtitle>185 <segtitle>Installed programs</segtitle> 186 <segtitle>Installed library</segtitle> 187 <segtitle>Installed directories</segtitle> 197 188 198 189 <seglistitem> -
chapter08/shadow.xml
r6b6a1b9 r73d91ac 277 277 <seg>chage, chfn, chgpasswd, chpasswd, chsh, expiry, faillog, 278 278 getsubids, gpasswd, groupadd, groupdel, groupmems, groupmod, grpck, 279 grpconv, grpunconv, l astlog, login, logoutd, newgidmap, newgrp,279 grpconv, grpunconv, login, logoutd, newgidmap, newgrp, 280 280 newuidmap, newusers, nologin, passwd, pwck, pwconv, pwunconv, 281 281 sg (link to newgrp), su, useradd, userdel, usermod, … … 460 460 </varlistentry> 461 461 462 <varlistentry id="lastlog">463 <term><command>lastlog</command></term>464 <listitem>465 <para>Reports the most recent login of all users or of a466 given user</para>467 <indexterm zone="ch-system-shadow lastlog">468 <primary sortas="b-lastlog">lastlog</primary>469 </indexterm>470 </listitem>471 </varlistentry>472 473 462 <varlistentry id="login"> 474 463 <term><command>login</command></term> -
chapter08/stripping.xml
r6b6a1b9 r73d91ac 30 30 dynamically linked binaries and shared libraries).</para> 31 31 32 <para>The debugging symbols from selected libraries are preserved 33 in separate files. That debugging information is needed to run 34 regression tests with <ulink 32 <!-- TODO: Zstd is better than Zlib for both speed and size. 33 Unfortunately Valgrind does not support Zstd-compressed debug 34 info yet: https://bugs.kde.org/show_bug.cgi?id=469782 --> 35 <para>The debugging symbols from selected libraries are compressed with 36 <application>Zlib</application> and preserved in separate files. That 37 debugging information is needed to run regression tests with <ulink 35 38 url='&blfs-book;/general/valgrind.html'>valgrind</ulink> or <ulink 36 39 url='&blfs-book;/general/gdb.html'>gdb</ulink> later, in BLFS. … … 80 83 81 84 for LIB in $save_usrlib; do 82 objcopy --only-keep-debug $LIB $LIB.dbg85 objcopy --only-keep-debug --compress-debug-sections=zlib $LIB $LIB.dbg 83 86 cp $LIB /tmp/$LIB 84 87 strip --strip-unneeded /tmp/$LIB -
chapter08/udev.xml
r6b6a1b9 r73d91ac 56 56 <screen><userinput remap="pre">sed '/systemd-sysctl/s/^/#/' -i rules.d/99-systemd.rules.in</userinput></screen> 57 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> 62 58 63 <para>Prepare Udev for compilation:</para> 59 64 … … 67 72 -Ddev-kvm-mode=0660 \ 68 73 -Dlink-udev-shared=false \ 74 -Dlogind=false \ 75 -Dvconsole=false \ 69 76 ..</userinput></screen> 70 77 … … 108 115 </listitem> 109 116 </varlistentry> 117 118 <varlistentry> 119 <term><parameter>-Dlogind=false -Dvconsole=false</parameter></term> 120 <listitem> 121 <para>These options prevent the generation of several udev rule 122 files belonging to the other Systemd components that we won't 123 install.</para> 124 </listitem> 125 </varlistentry> 110 126 </variablelist> 111 127 112 128 <para>Only build the components needed for udev:</para> 113 129 114 <screen><userinput remap="make">ninja udevadm systemd-hwdb \ 115 $(grep -o -E "^build (src/libudev|src/udev|rules.d|hwdb.d)[^:]*" \ 116 build.ninja | awk '{ print $2 }') \ 130 <screen><userinput remap="make">ninja udevadm systemd-hwdb \ 131 $(ninja -n | grep -Eo '(src/(lib)?udev|rules.d|hwdb.d)/[^ ]*') \ 117 132 $(realpath libudev.so --relative-to .)</userinput></screen> 118 133 119 <para>Remove one udev rule file requiring a full Systemd120 installation:</para>121 122 <screen><userinput remap="make">rm rules.d/90-vconsole.rules</userinput></screen>123 124 134 <para>Install the package:</para> 125 135 126 <screen><userinput remap="install">install -vm755 -d {/usr/lib,/etc}/udev/{hwdb ,rules}.d136 <screen><userinput remap="install">install -vm755 -d {/usr/lib,/etc}/udev/{hwdb.d,rules.d,network} 127 137 install -vm755 -d /usr/{lib,share}/pkgconfig 128 install -vm755 udevadm /usr/bin/ 129 install -vm755 systemd-hwdb /usr/bin/udev-hwdb 130 ln -svfn ../bin/udevadm /usr/sbin/udevd 131 cp -av libudev.so{,*[0-9]} /usr/lib/ 132 install -vm644 ../src/libudev/libudev.h /usr/include/ 133 install -vm644 src/libudev/*.pc /usr/lib/pkgconfig/ 134 install -vm644 src/udev/*.pc /usr/share/pkgconfig/ 135 install -vm644 ../src/udev/udev.conf /etc/udev/ 136 install -vm644 rules.d/* ../rules.d/{*.rules,README} /usr/lib/udev/rules.d/ 137 install -vm644 hwdb.d/* ../hwdb.d/{*.hwdb,README} /usr/lib/udev/hwdb.d/ 138 install -vm755 $(find src/udev -type f | grep -F -v ".") /usr/lib/udev</userinput></screen> 138 install -vm755 udevadm /usr/bin/ 139 install -vm755 systemd-hwdb /usr/bin/udev-hwdb 140 ln -svfn ../bin/udevadm /usr/sbin/udevd 141 cp -av libudev.so{,*[0-9]} /usr/lib/ 142 install -vm644 ../src/libudev/libudev.h /usr/include/ 143 install -vm644 src/libudev/*.pc /usr/lib/pkgconfig/ 144 install -vm644 src/udev/*.pc /usr/share/pkgconfig/ 145 install -vm644 ../src/udev/udev.conf /etc/udev/ 146 install -vm644 rules.d/* ../rules.d/README /usr/lib/udev/rules.d/ 147 install -vm644 $(find ../rules.d/*.rules \ 148 -not -name '*power-switch*') /usr/lib/udev/rules.d/ 149 install -vm644 hwdb.d/* ../hwdb.d/{*.hwdb,README} /usr/lib/udev/hwdb.d/ 150 install -vm755 $(find src/udev \ 151 -type f -not -name '*.*') /usr/lib/udev 152 install -vm644 ../network/99-default.link /usr/lib/udev/network</userinput></screen> 139 153 140 154 <para>Install some custom rules and support files useful in an LFS … … 151 165 --no-same-owner --strip-components=1 \ 152 166 -C /usr/share/man --wildcards '*/udev*' '*/libudev*' \ 167 '*/systemd.link.5' \ 153 168 '*/systemd-'{hwdb,udevd.service}.8 169 170 sed 's|systemd/network|udev/network|' \ 171 /usr/share/man/man5/systemd.link.5 \ 172 > /usr/share/man/man5/udev.link.5 173 154 174 sed 's/systemd\(\\\?-\)/udev\1/' /usr/share/man/man8/systemd-hwdb.8 \ 155 175 > /usr/share/man/man8/udev-hwdb.8 176 156 177 sed 's|lib.*udevd|sbin/udevd|' \ 157 178 /usr/share/man/man8/systemd-udevd.service.8 \ 158 179 > /usr/share/man/man8/udevd.8 159 rm /usr/share/man/man8/systemd-*.8</userinput></screen> 180 181 rm /usr/share/man/man*/systemd*</userinput></screen> 160 182 161 183 </sect2> -
chapter08/util-linux.xml
r6b6a1b9 r73d91ac 43 43 <title>Installation of Util-linux</title> 44 44 45 <para>First, disable a problem test:</para>45 <para>First, disable a problematic test:</para> 46 46 47 47 <screen><userinput remap="pre">sed -i '/test_mkfds/s/^/#/' tests/helpers/Makemodule.am</userinput></screen> -
chapter09/network.xml
r6b6a1b9 r73d91ac 179 179 </indexterm> 180 180 181 <para>Decide on the IP address, fully-qualified domain name (FQDN), and 182 possible aliases for use in the <filename>/etc/hosts</filename> file. The 183 syntax is:</para> 181 <para>Decide on a fully-qualified domain name (FQDN), and possible aliases 182 for use in the <filename>/etc/hosts</filename> file. If using static IP 183 addresses, you'll also need to decide on an IP address. The syntax 184 for a hosts file entry is:</para> 184 185 185 186 <screen><literal>IP_address myhost.example.org aliases</literal></screen> … … 198 199 range 0-255.</para> 199 200 200 <para>A valid private IP address could be 192.168.1.1. A valid FQDN for 201 this IP could be lfs.example.org.</para> 202 203 <para>Even if not using a network card, a valid FQDN is still required. 204 This is necessary for certain programs to operate correctly.</para> 201 <para>A valid private IP address could be 192.168.1.1.</para> 202 203 <para>If the computer is to be visible to the Internet, a valid FQDN 204 can be the domain name itself, or a string resulted by concatenating a 205 prefix (often the hostname) and the domain name with a <quote>.</quote> 206 character. And, you need to contact the domain provider to resolve the 207 FQDN to your public IP address.</para> 208 209 <para>Even if the computer is not visible to the Internet, a FQDN is 210 still needed for certain programs, such as MTAs, to operate properly. 211 A special FQDN, <literal>localhost.localdomain</literal>, can be used 212 for this purpose.</para> 205 213 206 214 <para>Create the <filename>/etc/hosts</filename> file by running:</para> -
chapter09/networkd.xml
r6b6a1b9 r73d91ac 317 317 range 0-255.</para> 318 318 319 <para>A valid private IP address could be 192.168.1.1. A valid FQDN for 320 this IP could be lfs.example.org.</para> 321 322 <para>Even if not using a network card, a valid FQDN is still required. 323 This is necessary for certain programs, such as MTAs, to operate properly.</para> 324 325 <!-- 326 <para>Create the /etc/hosts file using the following command:</para> 327 328 <screen role="nodump"><userinput>cat > /etc/hosts << "EOF" 319 <para>A valid private IP address could be 192.168.1.1.</para> 320 321 <para>If the computer is to be visible to the Internet, a valid FQDN 322 can be the domain name itself, or a string resulted by concatenating a 323 prefix (often the hostname) and the domain name with a <quote>.</quote> 324 character. And, you need to contact the domain provider to resolve the 325 FQDN to your public IP address.</para> 326 327 <para>Even if the computer is not visible to the Internet, a FQDN is 328 still needed for certain programs, such as MTAs, to operate properly. 329 A special FQDN, <literal>localhost.localdomain</literal>, can be used 330 for this purpose.</para> 331 332 <para>Create the <filename>/etc/hosts</filename> file using the following 333 command:</para> 334 335 <screen><userinput>cat > /etc/hosts << "EOF" 329 336 <literal># Begin /etc/hosts 330 337 331 127.0.0.1 localhost.localdomain localhost 332 127.0.1.1 <replaceable><FQDN></replaceable> <replaceable><HOSTNAME></replaceable> 333 ::1 localhost ip6-localhost ip6-loopback 338 <replaceable><192.168.0.2></replaceable> <replaceable><FQDN></replaceable> <replaceable>[alias1] [alias2] ...</replaceable> 339 ::1 ip6-localhost ip6-loopback 334 340 ff02::1 ip6-allnodes 335 341 ff02::2 ip6-allrouters … … 337 343 # End /etc/hosts</literal> 338 344 EOF</userinput></screen> 339 --> 340 341 <para>Create the <filename>/etc/hosts</filename> file using the following 342 command:</para> 343 344 <screen><userinput>cat > /etc/hosts << "EOF" 345 <literal># Begin /etc/hosts 346 347 127.0.0.1 localhost.localdomain localhost 348 127.0.1.1 <replaceable><FQDN></replaceable> <replaceable><HOSTNAME></replaceable> 349 <replaceable><192.168.0.2></replaceable> <replaceable><FQDN></replaceable> <replaceable><HOSTNAME></replaceable> <replaceable>[alias1] [alias2] ...</replaceable> 350 ::1 localhost ip6-localhost ip6-loopback 351 ff02::1 ip6-allnodes 352 ff02::2 ip6-allrouters 353 354 # End /etc/hosts</literal> 355 EOF</userinput></screen> 356 357 <para>The <replaceable><192.168.0.2></replaceable>, 358 <replaceable><FQDN></replaceable>, and 359 <replaceable><HOSTNAME></replaceable> values need to be 345 346 <para>The <replaceable><192.168.0.2></replaceable> and 347 <replaceable><FQDN></replaceable> values need to be 360 348 changed for specific uses or requirements (if assigned an IP address by a 361 349 network/system administrator and the machine will be connected to an 362 350 existing network). The optional alias name(s) can be omitted, and the 363 351 <replaceable><192.168.0.2></replaceable> line can be omitted if you 364 are using a connection configured with DHCP or IPv6 Autoconfiguration.</para> 352 are using a connection configured with DHCP or IPv6 Autoconfiguration, 353 or using <literal>localhost.localdomain</literal> as the FQDN.</para> 354 355 <para>The <filename>/etc/hostname</filename> does not contain entries 356 for <literal>localhost</literal>, 357 <literal>localhost.localdomain</literal>, or the hostname (without a 358 domain) because they are handled by the 359 <systemitem class='library'>myhostname</systemitem> NSS module, read 360 the man page <filename>nss-myhostname(8)</filename> for details.</para> 365 361 366 362 <para>The ::1 entry is the IPv6 counterpart of 127.0.0.1 and represents 367 the IPv6 loopback interface. 127.0.1.1 is a loopback entry reserved 368 specifically for the FQDN.</para> 363 the IPv6 loopback interface.</para> 369 364 370 365 </sect2> -
chapter11/afterlfs.xml
r6b6a1b9 r73d91ac 185 185 This method also provides a full graphical environment, but first 186 186 requires installing 187 <ulink url="&blfs-book;postlfs/openssh.html">sshd</ulink> and 188 <ulink url="&blfs-book;basicnet/wget.html">wget</ulink> 187 <ulink url="&blfs-book;postlfs/openssh.html">sshd</ulink> 189 188 on the LFS system, usually in chroot. It also requires a second 190 189 computer. This method has the advantage of being simple by not requiring … … 194 193 </para> 195 194 195 <para> 196 You may use the <command>scp</command> command to upload the package 197 sources to be built onto the LFS system. If you want to download 198 the sources onto the LFS system directly instead, install 199 <ulink url="&blfs-book;general/libtasn1.html">libtasn1</ulink>, 200 <ulink url="&blfs-book;postlfs/p11-kit.html">p11-kit</ulink>, 201 <ulink url="&blfs-book;postlfs/make-ca.html">make-ca</ulink>, and 202 <ulink url="&blfs-book;basicnet/wget.html">wget</ulink> 203 in chroot (or upload their sources using <command>scp</command> 204 after booting the LFS system). 205 </para> 196 206 </sect3> 197 207 -
chapter11/reboot.xml
r6b6a1b9 r73d91ac 114 114 115 115 <screen><userinput>umount -v $LFS/dev/pts 116 mountpoint -q $LFS/dev/shm && umount $LFS/dev/shm116 mountpoint -q $LFS/dev/shm && umount -v $LFS/dev/shm 117 117 umount -v $LFS/dev 118 118 umount -v $LFS/run -
chapter11/theend.xml
r6b6a1b9 r73d91ac 59 59 PRETTY_NAME="Linux From Scratch &version;" 60 60 VERSION_CODENAME="<your name here>" 61 HOME_URL="&lfs-root;lfs/" 61 62 EOF</userinput></screen> 62 63 -
git-version.sh
r6b6a1b9 r73d91ac 1 #!/bin/ sh1 #!/bin/bash 2 2 3 3 if [ "$1" = sysv ]; then … … 15 15 echo "<!ENTITY % systemd \"$SYSTEMD\">" >> conditional.ent 16 16 17 if [ -e LFS-RELEASE ]; then 18 exit 0 19 fi 20 17 21 if ! git status > /dev/null; then 18 22 # Either it's not a git repository, or git is unavaliable. … … 25 29 echo "]]>" >> version.ent 26 30 echo "<!ENTITY releasedate \"unknown\">" >> version.ent 27 echo "<!ENTITY copyrightdate \"1999-202 2\">" >> version.ent31 echo "<!ENTITY copyrightdate \"1999-2023\">" >> version.ent 28 32 exit 0 29 33 fi … … 66 70 echo "<!ENTITY releasedate \"$full_date\">" >> version.ent 67 71 echo "<!ENTITY copyrightdate \"1999-$year\">" >> version.ent 72 73 [ -z "$DIST" ] || echo $version > "$DIST" -
lfs-latest-git.php
r6b6a1b9 r73d91ac 86 86 exec( "curl --location --silent --max-time 30 $url", $dir ); 87 87 88 $s = implode( "\n", $dir ); 89 $dir = strip_tags( $s ); 88 $dir = implode( "\n", $dir ); 89 if ( !preg_match( "/api.github.com/", $url) ) 90 $dir = strip_tags( $dir ); 90 91 return explode( "\n", $dir ); 91 92 } … … 128 129 if ( $package == "flex" ) $dirpath = github("westes/flex"); 129 130 if ( $package == "flit_core" ) $dirpath = "https://pypi.org/project/flit-core/"; 131 if ( $package == "setuptools" ) $dirpath = "https://pypi.org/project/setuptools/"; 130 132 if ( $package == "gcc" ) $dirpath = max_parent( $dirpath, "gcc-" ); 131 133 if ( $package == "iana-etc" ) $dirpath = github("Mic92/iana-etc"); … … 294 296 return find_max( $lines, "/flit-core /", "/^.*flit-core ([\d\.]+)$/" ); 295 297 298 if ( $package == "setuptools" ) 299 return find_max( $lines, "/setuptools /", "/^.*setuptools ([\d\.]+)$/" ); 300 296 301 if ( $package == "procps-ng" ) 297 302 return find_max( $lines, "/v\d/", "/^.*v([\d\.]+)$/" ); -
packages.ent
r6b6a1b9 r73d91ac 48 48 <!ENTITY automake-fin-sbu "less than 0.1 SBU (about 7.0 SBU with tests)"> 49 49 50 <!ENTITY bash-version "5.2. 15">51 <!ENTITY bash-size "10,69 5KB">50 <!ENTITY bash-version "5.2.21"> 51 <!ENTITY bash-size "10,696 KB"> 52 52 <!ENTITY bash-url "&gnu;bash/bash-&bash-version;.tar.gz"> 53 <!ENTITY bash-md5 " 4281bb43497f3905a308430a8d6a30a5">53 <!ENTITY bash-md5 "ad5b38410e3bf0e9bcc20e2765f5e3f9"> 54 54 <!ENTITY bash-home "&gnu-software;bash/"> 55 55 <!ENTITY bash-tmp-du "67 MB"> … … 58 58 <!ENTITY bash-fin-sbu "1.1 SBU"> 59 59 60 <!ENTITY bc-version "6. 6.0">61 <!ENTITY bc-size "45 5KB">60 <!ENTITY bc-version "6.7.3"> 61 <!ENTITY bc-size "456 KB"> 62 62 <!ENTITY bc-url "https://github.com/gavinhoward/bc/releases/download/&bc-version;/bc-&bc-version;.tar.xz"> 63 <!ENTITY bc-md5 "a 148cbaaf8ff813b7289a00539e74a5f">63 <!ENTITY bc-md5 "a2e39a5be32330bc2166b0e501668178"> 64 64 <!ENTITY bc-home "https://git.gavinhoward.com/gavin/bc"> 65 65 <!ENTITY bc-fin-du "7.7 MB"> … … 149 149 <!ENTITY e2fsprogs-fin-sbu "2.4 SBU on a spinning disk, 0.6 SBU on an SSD"> 150 150 151 <!ENTITY elfutils-version "0.1 89"> <!-- libelf -->152 <!ENTITY elfutils-size "8,9 36KB">151 <!ENTITY elfutils-version "0.190"> <!-- libelf --> 152 <!ENTITY elfutils-size "8,949 KB"> 153 153 <!ENTITY elfutils-url "https://sourceware.org/ftp/elfutils/&elfutils-version;/elfutils-&elfutils-version;.tar.bz2"> 154 <!ENTITY elfutils-md5 " 5cfaa711a90cb670406cd495aeaa6030">154 <!ENTITY elfutils-md5 "79ad698e61a052bea79e77df6a08bc4b"> 155 155 <!ENTITY elfutils-home "https://sourceware.org/elfutils/"> 156 156 <!ENTITY elfutils-fin-du "122 MB"> … … 209 209 <!ENTITY flit-core-fin-sbu "less than 0.1 SBU"> 210 210 211 <!ENTITY gawk-version "5. 2.2">212 <!ENTITY gawk-size "3,3 24KB">211 <!ENTITY gawk-version "5.3.0"> 212 <!ENTITY gawk-size "3,356 KB"> 213 213 <!ENTITY gawk-url "&gnu;gawk/gawk-&gawk-version;.tar.xz"> 214 <!ENTITY gawk-md5 " d63b4de2c722cbd9b8cc8e6f14d78a1e">214 <!ENTITY gawk-md5 "97c5a7d83f91a7e1b2035ebbe6ac7abd"> 215 215 <!ENTITY gawk-home "&gnu-software;gawk/"> 216 216 <!ENTITY gawk-tmp-du "48 MB"> … … 223 223 <!ENTITY gcc-url "&gnu;gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.xz"> 224 224 <!ENTITY gcc-md5 "e0e48554cc6e4f261d55ddee9ab69075"> 225 <!ENTITY gcc-sha256 "">226 225 <!ENTITY gcc-home "https://gcc.gnu.org/"> 227 226 <!ENTITY gcc-tmpp1-du "4.2 GB"> … … 247 246 <!ENTITY gdbm-fin-sbu "less than 0.1 SBU"> 248 247 249 <!ENTITY gettext-version "0.22 ">250 <!ENTITY gettext-size " 9,775KB">248 <!ENTITY gettext-version "0.22.4"> 249 <!ENTITY gettext-size "10,016 KB"> 251 250 <!ENTITY gettext-url "&gnu;gettext/gettext-&gettext-version;.tar.xz"> 252 <!ENTITY gettext-md5 " db2f3daf34fd5b85ab1a56f9033e42d1">251 <!ENTITY gettext-md5 "2d8507d003ef3ddd1c172707ffa97ed8"> 253 252 <!ENTITY gettext-home "&gnu-software;gettext/"> 254 253 <!ENTITY gettext-tmp-du "306 MB"> … … 319 318 <!ENTITY gzip-fin-sbu "0.3 SBU"> 320 319 321 <!ENTITY iana-etc-version "2023 0810">320 <!ENTITY iana-etc-version "20231117"> 322 321 <!ENTITY iana-etc-size "588 KB"> 323 322 <!ENTITY iana-etc-url "https://github.com/Mic92/iana-etc/releases/download/&iana-etc-version;/iana-etc-&iana-etc-version;.tar.gz"> 324 <!ENTITY iana-etc-md5 " 0502bd41cc0bf1c1c3cd8651058b9650">323 <!ENTITY iana-etc-md5 "f26b37a03a211ddd4e9c7189191e2772"> 325 324 <!ENTITY iana-etc-home "https://www.iana.org/protocols"> 326 325 <!ENTITY iana-etc-fin-du "4.8 MB"> … … 331 330 <!ENTITY inetutils-url "&gnu;inetutils/inetutils-&inetutils-version;.tar.xz"> 332 331 <!ENTITY inetutils-md5 "319d65bb5a6f1847c4810651f3b4ba74"> 333 <!ENTITY inetutils-sha256 "">334 332 <!ENTITY inetutils-home "&gnu-software;inetutils/"> 335 333 <!ENTITY inetutils-fin-du "31 MB"> … … 344 342 <!ENTITY intltool-fin-sbu "less than 0.1 SBU"> 345 343 346 <!ENTITY iproute2-version "6. 4.0">347 <!ENTITY iproute2-size " 904KB">344 <!ENTITY iproute2-version "6.6.0"> 345 <!ENTITY iproute2-size "897 KB"> 348 346 <!ENTITY iproute2-url "&kernel;linux/utils/net/iproute2/iproute2-&iproute2-version;.tar.xz"> 349 <!ENTITY iproute2-md5 " 90ce0eb84a8f1e2b14ffa77e8eb3f5ed">347 <!ENTITY iproute2-md5 "6716fc3188dbea226997fa2478a190d7"> 350 348 <!ENTITY iproute2-home "&kernel;linux/utils/net/iproute2/"> 351 349 <!ENTITY iproute2-fin-du "17 MB"> … … 360 358 <!ENTITY jinja2-fin-sbu "less than 0.1 SBU"> 361 359 362 <!ENTITY kbd-version "2.6. 2">363 <!ENTITY kbd-size "1,46 9KB">360 <!ENTITY kbd-version "2.6.3"> 361 <!ENTITY kbd-size "1,468 KB"> 364 362 <!ENTITY kbd-url "https://www.kernel.org/pub/linux/utils/kbd/kbd-&kbd-version;.tar.xz"> 365 <!ENTITY kbd-md5 " 35e261a31e673c8aec7dbc6553ea075c">363 <!ENTITY kbd-md5 "4764775cac0415f1d35a0cd311249941"> 366 364 <!ENTITY kbd-home "https://kbd-project.org/"> 367 365 <!ENTITY kbd-fin-du "35 MB"> 368 366 <!ENTITY kbd-fin-sbu "0.1 SBU"> 369 367 370 <!ENTITY kmod-version "3 0">371 <!ENTITY kmod-size "55 5KB">368 <!ENTITY kmod-version "31"> 369 <!ENTITY kmod-size "558 KB"> 372 370 <!ENTITY kmod-url "&kernel;linux/utils/kernel/kmod/kmod-&kmod-version;.tar.xz"> 373 <!ENTITY kmod-md5 " 85202f0740a75eb52f2163c776f9b564">374 <!ENTITY kmod-home " 371 <!ENTITY kmod-md5 "6165867e1836d51795a11ea4762ff66a"> 372 <!ENTITY kmod-home "https://github.com/kmod-project/kmod"> 375 373 <!ENTITY kmod-fin-du "12 MB"> 376 374 <!ENTITY kmod-fin-sbu "less than 0.1 SBU"> … … 433 431 434 432 <!ENTITY linux-major-version "6"> 435 <!ENTITY linux-minor-version " 5">436 <!ENTITY linux-patch-version " 1">433 <!ENTITY linux-minor-version "6"> 434 <!ENTITY linux-patch-version "3"> 437 435 <!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">--> 438 436 <!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;"> 439 <!ENTITY linux-size "13 5,684KB">437 <!ENTITY linux-size "136,763 KB"> 440 438 <!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz"> 441 <!ENTITY linux-md5 " 228479f37b3face05b53bd7f8906abe0">439 <!ENTITY linux-md5 "3a760f5ac7d37b62dda9a4ca89f5fd96"> 442 440 <!ENTITY linux-home "https://www.kernel.org/"> 443 <!-- measured for 5.13.4 / gcc-11.1.0 on x86_64 : minimum is 444 allnoconfig rounded down to allow for ongoing cleanups, 445 max is allmodconfig --> 446 <!ENTITY linux-knl-du "1200 - 8800 MB (typically about 1700 MB)"> 447 <!ENTITY linux-knl-sbu "1.5 - 130.0 SBU (typically about 12 SBU)"> 441 <!-- measured for 6.5.3 / gcc-13.2.0 on x86_64 with -j4 : minimum is 442 allnoconfig + some configs we recommend for the users, rounded down to 443 allow ongoing cleanups; max is allmodconfig but IKHEADERS unset; typical 444 is the "daily use" config for the workstation measuring the min/max values. 445 The disk usage is the sum of the size of linux-6.5.3 directory and the 446 installed kernel image & modules. --> 447 <!ENTITY linux-knl-du "1.8 - 10.6 GB (typically about 2 GB)"> 448 <!ENTITY linux-knl-sbu "0.6 - 20.4 SBU (typically about 1.4 SBU)"> 448 449 449 450 <!ENTITY linux-headers-tmp-du "1.5 GB"> … … 470 471 <!ENTITY make-fin-sbu "0.5 SBU"> 471 472 472 <!ENTITY man-db-version "2.1 1.2">473 <!ENTITY man-db-size "1,9 08KB">473 <!ENTITY man-db-version "2.12.0"> 474 <!ENTITY man-db-size "1,941 KB"> 474 475 <!ENTITY man-db-url "&savannah;/releases/man-db/man-db-&man-db-version;.tar.xz"> 475 <!ENTITY man-db-md5 " a7d59fb2df6158c44f8f7009dcc6d875">476 <!ENTITY man-db-md5 "67e0052fa200901b314fad7b68c9db27"> 476 477 <!ENTITY man-db-home "https://www.nongnu.org/man-db/"> 477 478 <!ENTITY man-db-fin-du "40 MB"> … … 494 495 <!ENTITY markupsafe-fin-sbu "less than 0.1 SBU"> 495 496 496 <!ENTITY meson-version "1. 2.1">497 <!ENTITY meson-size "2,1 31 KB">497 <!ENTITY meson-version "1.3.0"> 498 <!ENTITY meson-size "2,171 KB"> 498 499 <!ENTITY meson-url "&github;/mesonbuild/meson/releases/download/&meson-version;/meson-&meson-version;.tar.gz"> 499 <!ENTITY meson-md5 " e3cc846536189aacd7d01858a45ca9af">500 <!ENTITY meson-md5 "35dc15e4f94ca5fd30dbe2d88a672254"> 500 501 <!ENTITY meson-home "https://mesonbuild.com"> 501 502 <!ENTITY meson-fin-du "42 MB"> … … 536 537 <!ENTITY ninja-fin-sbu "0.3 SBU"> 537 538 538 <!ENTITY openssl-version "3. 1.2">539 <!ENTITY openssl-size "1 5,196KB">539 <!ENTITY openssl-version "3.2.0"> 540 <!ENTITY openssl-size "17,284 KB"> 540 541 <!ENTITY openssl-url "https://www.openssl.org/source/openssl-&openssl-version;.tar.gz"> 541 <!ENTITY openssl-md5 " 1d7861f969505e67b8677e205afd9ff4">542 <!ENTITY openssl-md5 "7903549a14abebc5c323ce4e85f2cbb2"> 542 543 <!ENTITY openssl-home "https://www.openssl.org/"> 543 544 <!ENTITY openssl-fin-du "587 MB"> … … 556 557 <!ENTITY perl-version-major "5"> 557 558 <!ENTITY perl-version-minor "38"> 558 <!ENTITY perl-version-patch " 0">559 <!ENTITY perl-version-patch "2"> 559 560 <!ENTITY perl-version-min "&perl-version-major;.&perl-version-minor;"> 560 561 <!ENTITY perl-version "&perl-version-major;.&perl-version-minor;.&perl-version-patch;"> 561 <!ENTITY perl-size "13, 248KB">562 <!ENTITY perl-size "13,359 KB"> 562 563 <!ENTITY perl-url "https://www.cpan.org/src/5.0/perl-&perl-version;.tar.xz"> 563 <!ENTITY perl-md5 " e1c8aaec897dd386c741f97eef9f2e87">564 <!ENTITY perl-md5 "d3957d75042918a23ec0abac4a2b7e0a"> 564 565 <!ENTITY perl-home "https://www.perl.org/"> 565 566 <!ENTITY perl-tmp-du "280 MB"> … … 568 569 <!ENTITY perl-fin-sbu "7.1 SBU"> 569 570 570 <!ENTITY pkgconf-version "2. 0.3">571 <!ENTITY pkgconf-size "30 4KB">571 <!ENTITY pkgconf-version "2.1.0"> 572 <!ENTITY pkgconf-size "305 KB"> 572 573 <!ENTITY pkgconf-url "https://distfiles.ariadne.space/pkgconf/pkgconf-&pkgconf-version;.tar.xz"> 573 <!ENTITY pkgconf-md5 " b82ca48ed3097adfa007ee71489b6719">574 <!ENTITY pkgconf-md5 "0f2eadbb9dea5aed95147272ae1592cc"> 574 575 <!ENTITY pkgconf-home "http://pkgconf.org/"> 575 576 <!ENTITY pkgconf-fin-du "4.6 MB"> … … 595 596 meson pages will be needed: python3.6 and python3.6m --> 596 597 597 <!ENTITY python-version "3.1 1.5">598 <!ENTITY python-minor "3.1 1">599 <!ENTITY python-size " 19,584KB">598 <!ENTITY python-version "3.12.0"> 599 <!ENTITY python-minor "3.12"> 600 <!ENTITY python-size "20,093 KB"> 600 601 <!ENTITY python-url "https://www.python.org/ftp/python/&python-version;/Python-&python-version;.tar.xz"> 601 <!ENTITY python-md5 " 393856f1b7713aa8bba4b642ab9985d3">602 <!ENTITY python-md5 "f6f4616584b23254d165f4db90c247d6"> 602 603 <!ENTITY python-home "https://www.python.org/"> 603 604 <!ENTITY python-tmp-du "533 MB"> … … 606 607 <!ENTITY python-fin-sbu "1.9 SBU"> 607 608 <!ENTITY python-docs-url "https://www.python.org/ftp/python/doc/&python-version;/python-&python-version;-docs-html.tar.bz2"> 608 <!ENTITY python-docs-md5 " 1abed52338038f4b53a277a5558af838">609 <!ENTITY python-docs-size " 7,678KB">609 <!ENTITY python-docs-md5 "ae9d19bb613ae8ef2457496bd2893915"> 610 <!ENTITY python-docs-size "8,009 KB"> 610 611 611 612 <!ENTITY readline-version "8.2"> … … 628 629 <!ENTITY sed-fin-sbu "0.3 SBU"> 629 630 630 <!ENTITY shadow-version "4.14.0"> 631 <!ENTITY shadow-size "1,746 KB"> 631 <!ENTITY setuptools-version "69.0.2"> 632 <!ENTITY setuptools-size "2,168 KB"> 633 <!ENTITY setuptools-url "&pypi-src;/s/setuptools/setuptools-&setuptools-version;.tar.gz"> 634 <!ENTITY setuptools-md5 "32bcc14eb830a13fbf33e053286f1081"> 635 <!ENTITY setuptools-home "&pypi-home;/setuptools/"> 636 <!ENTITY setuptools-fin-du "30 MB"> 637 <!ENTITY setuptools-fin-sbu "0.1 SBU"> 638 639 <!ENTITY shadow-version "4.14.2"> 640 <!ENTITY shadow-size "1,758 KB"> 632 641 <!ENTITY shadow-url "&github;/shadow-maint/shadow/releases/download/&shadow-version;/shadow-&shadow-version;.tar.xz"> 633 <!ENTITY shadow-md5 " bb0166bebc24db9003bb77bfd1359042">634 <!ENTITY shadow-home " https://shadow-maint.github.io/shadow/">642 <!ENTITY shadow-md5 "effc1aa17590305647413125b966f1dd"> 643 <!ENTITY shadow-home "&github;/shadow-maint/shadow/"> 635 644 <!ENTITY shadow-fin-du "46 MB"> 636 645 <!ENTITY shadow-fin-sbu "0.1 SBU"> … … 691 700 <!ENTITY tcl-tmp-sbu "2.7 SBU"> 692 701 693 <!ENTITY texinfo-version "7. 0.3">694 <!ENTITY texinfo-size " 4,776 KB">702 <!ENTITY texinfo-version "7.1"> 703 <!ENTITY texinfo-size "5,416 KB"> 695 704 <!ENTITY texinfo-url "&gnu;texinfo/texinfo-&texinfo-version;.tar.xz"> 696 <!ENTITY texinfo-md5 " 37bf94fd255729a14d4ea3dda119f81a">705 <!ENTITY texinfo-md5 "edd9928b4a3f82674bcc3551616eef3b"> 697 706 <!ENTITY texinfo-home "&gnu-software;texinfo/"> 698 707 <!ENTITY texinfo-tmp-du "116 MB"> … … 727 736 <!ENTITY util-linux-fin-sbu "0.5 SBU"> 728 737 729 <!ENTITY vim-version "9.0. 1837">738 <!ENTITY vim-version "9.0.2136"> 730 739 <!-- <!ENTITY vim-majmin "90"> --> 731 740 <!ENTITY vim-docdir "vim/vim90"> 732 <!ENTITY vim-size "16, 838KB">733 <! --<!ENTITY vim-url "https://github.com/vim/vim/archive/v&vim-version;/vim-&vim-version;.tar.gz">-->734 <! ENTITY vim-url "&anduin-sources;/vim-&vim-version;.tar.gz">735 <!ENTITY vim-md5 " de7cba78a556f96482ae8f09b082aa59">741 <!ENTITY vim-size "16,989 KB"> 742 <!ENTITY vim-url "https://github.com/vim/vim/archive/v&vim-version;/vim-&vim-version;.tar.gz"> 743 <!--<!ENTITY vim-url "&anduin-sources;/vim-&vim-version;.tar.gz">--> 744 <!ENTITY vim-md5 "8dcf113cb690bcdd13d75a4e7c2e3a62"> 736 745 <!ENTITY vim-home "https://www.vim.org"> 737 746 <!ENTITY vim-fin-du "229 MB"> 738 747 <!ENTITY vim-fin-sbu "2.3 SBU"> 739 748 740 <!ENTITY wheel-version "0.4 1.2">741 <!ENTITY wheel-size "9 6KB">749 <!ENTITY wheel-version "0.42.0"> 750 <!ENTITY wheel-size "97 KB"> 742 751 <!ENTITY wheel-url "&pypi-src;/w/wheel/wheel-&wheel-version;.tar.gz"> 743 <!ENTITY wheel-md5 " 06271a9e90c948b7e93dd7ce0fd90272">752 <!ENTITY wheel-md5 "802ad6e5f9336fcb1c76b7593f0cd22d"> 744 753 <!ENTITY wheel-home "&pypi-home;/wheel/"> 745 754 <!ENTITY wheel-fin-du "1.5 MB"> … … 754 763 <!ENTITY xml-parser-fin-sbu "less than 0.1 SBU"> 755 764 756 <!ENTITY xz-version "5.4. 4">757 <!ENTITY xz-size "1,6 23KB">765 <!ENTITY xz-version "5.4.5"> 766 <!ENTITY xz-size "1,642 KB"> 758 767 <!ENTITY xz-url "https://tukaani.org/xz/xz-&xz-version;.tar.xz"> 759 <!ENTITY xz-md5 " d83d6f64a64f88759e312b8a38c3add6">768 <!ENTITY xz-md5 "1d33e0be05c53e7a5641acf5c8b35fdd"> 760 769 <!ENTITY xz-home "https://tukaani.org/xz"> 761 770 <!ENTITY xz-tmp-du "22 MB"> -
patches.ent
r6b6a1b9 r73d91ac 15 15 <!ENTITY glibc-fhs-patch-size "2.8 KB"> 16 16 17 <!ENTITY glibc- memalign-patch "glibc-&glibc-version;-memalign_fix-1.patch">18 <!ENTITY glibc- memalign-patch-md5 "2c3552bded42a83ad6a7087c5fbf3857">19 <!ENTITY glibc- memalign-patch-size "20KB">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 20 21 21 <!ENTITY grub-upstream-fixes-patch "grub-&grub-version;-upstream_fixes-1.patch"> … … 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 "d d1764b84cfca6b677f44978218a75da">31 <!ENTITY readline-fixes-patch-size " 1.3KB">29 <!ENTITY readline-fixes-patch "readline-&readline-version;-upstream_fixes-2.patch"> 30 <!ENTITY readline-fixes-patch-md5 "d2477ebe908cc99763d90dde7fd9549a"> 31 <!ENTITY readline-fixes-patch-size "5.7 KB"> 32 32 33 33 <!ENTITY sysvinit-consolidated-patch "sysvinit-&sysvinit-version;-consolidated-1.patch"> -
stylesheets/lfs-xsl/chunk-slave.xsl
r6b6a1b9 r73d91ac 10 10 <!-- Upstream XHTML presentation templates --> 11 11 <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/> 12 13 <!-- Use ISO-8859-1 for output instead of default UTF-8 -->14 <xsl:param name="chunker.output.encoding" select="'ISO-8859-1'"/>15 12 16 13 <!-- Including our customized elements templates --> -
stylesheets/lfs-xsl/pdf/lfs-pagesetup.xsl
r6b6a1b9 r73d91ac 242 242 </xsl:template> 243 243 244 <!-- page.number.format 245 We want roman numerals only in book's preface, not parts prefaces 246 (if any). The original template is in {docbook-xsl}/fo/pagesetup.xsl --> 247 <xsl:template name="page.number.format"> 248 <xsl:param name="element" select="local-name(.)"/> 249 <xsl:param name="master-reference" select="''"/> 250 251 <xsl:choose> 252 <xsl:when test="$element = 'toc' and self::book">i</xsl:when> 253 <xsl:when test="$element = 'set'">i</xsl:when> 254 <xsl:when test="$element = 'book'">i</xsl:when> 255 <xsl:when test="$element = 'preface' and not(ancestor::part)">i</xsl:when> 256 <xsl:when test="$element = 'dedication'">i</xsl:when> 257 <xsl:when test="$element = 'acknowledgements'">i</xsl:when> 258 <xsl:otherwise>1</xsl:otherwise> 259 </xsl:choose> 260 </xsl:template> 261 244 262 </xsl:stylesheet> -
tidy.conf
r6b6a1b9 r73d91ac 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.