Changes in / [428ca6c:2882861]
- Files:
-
- 15 added
- 2 deleted
- 34 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/ChangeLog
r428ca6c r2882861 1 2023-07-28 Xi Ruoyao <xry111@xry111.site> 2 * In mountvirtfs, mount /sys/fs/cgroup for udev from systemd-254. 3 1 4 2023-07-22 Xi Ruoyao <xry111@xry111.site> 2 5 * In mountvirtfs, create symlinks /dev/{fd,std{in,out,err}} and -
bootscripts/lfs/init.d/mountvirtfs
r428ca6c r2882861 64 64 mount -o nosuid,nodev /dev/shm || failed=1 65 65 66 mkdir -p /sys/fs/cgroup 67 log_info_msg2 " ${INFO}/sys/fs/cgroup" 68 mount -o nosuid,noexec,nodev /sys/fs/cgroup || failed=1 69 66 70 (exit ${failed}) 67 71 evaluate_retval -
chapter01/askforhelp.xml
r428ca6c r2882861 10 10 11 11 <title>Help</title> 12 13 <note> 14 <para> 15 In case you've hit an issue building one package with the LFS 16 instruction, we strongly discourage posting the issue directly onto 17 the upstream support channel before discussing via a LFS support 18 channel listed in <xref linkend="ch-intro-resources"/>. 19 Doing so is often quite inefficient because the upstream 20 maintainers are rarely familiar with LFS building procedure. Even if 21 you've really hit an upstream issue, the LFS community can still help 22 to isolate the information wanted by the upstream maintainers and make 23 a proper report. 24 </para> 25 26 <para> 27 If you must ask a question directly via an upstream support channel, 28 you shall at least note that many upstream projects have the support 29 channels separated from the bug tracker. The <quote>bug</quote> 30 reports for asking questions are considered invalid and may annoy 31 upstream developers for these projects. 32 </para> 33 </note> 12 34 13 35 <para>If an issue or a question is encountered while working through -
chapter01/changelog.xml
r428ca6c r2882861 40 40 appropriate for the entry or if needed the entire day's listitem. 41 41 --> 42 <listitem> 43 <para>2023-08-07</para> 44 <itemizedlist> 45 <listitem> 46 <para>[bdubbs] - Update to xz-5.4.4. Fixes 47 <ulink url='&lfs-ticket-root;5307'>#5307</ulink>.</para> 48 </listitem> 49 <listitem> 50 <para>[bdubbs] - Update to wheel-0.41.1 (Python Module). Fixes 51 <ulink url='&lfs-ticket-root;5311'>#5311</ulink>.</para> 52 </listitem> 53 <listitem> 54 <para>[bdubbs] - Update to man-pages-6.05.01. Fixes 55 <ulink url='&lfs-ticket-root;5306'>#5306</ulink>.</para> 56 </listitem> 57 <listitem> 58 <para>[bdubbs] - Update to linux-6.4.8. Fixes 59 <ulink url='&lfs-ticket-root;5309'>#5309</ulink>.</para> 60 </listitem> 61 <listitem> 62 <para>[bdubbs] - Update to iana-etc-20230804. Addresses 63 <ulink url='&lfs-ticket-root;5006'>#5006</ulink>.</para> 64 </listitem> 65 <listitem> 66 <para>[rahul] - Update to pkgconf-2.0.0. Fixes 67 <ulink url='&lfs-ticket-root;5310'>#5310</ulink>.</para> 68 </listitem> 69 </itemizedlist> 70 </listitem> 71 72 <listitem> 73 <para>2023-08-01</para> 74 <itemizedlist> 75 <listitem> 76 <para>[bdubbs] - Update to vim-9.0.1677. Addresses 77 <ulink url='&lfs-ticket-root;4500'>#4500</ulink>.</para> 78 </listitem> 79 <listitem> 80 <para>[bdubbs] - Update to openssl-3.1.2. Fixes 81 <ulink url='&lfs-ticket-root;5305'>#5305</ulink>.</para> 82 </listitem> 83 <listitem> 84 <para>[bdubbs] - Update to man-pages-6.05. Fixes 85 <ulink url='&lfs-ticket-root;5303'>#5303</ulink>.</para> 86 </listitem> 87 <listitem> 88 <para>[bdubbs] - Update to binutils-2.41. Fixes 89 <ulink url='&lfs-ticket-root;5300'>#5300</ulink>.</para> 90 </listitem> 91 <listitem> 92 <para>[bdubbs] - Update to gmp-6.3.0. Fixes 93 <ulink url='&lfs-ticket-root;5301'>#5301</ulink>.</para> 94 </listitem> 95 <listitem> 96 <para>[bdubbs] - Update to glibc-2.38. Fixes 97 <ulink url='&lfs-ticket-root;5302'>#5302</ulink>.</para> 98 </listitem> 99 </itemizedlist> 100 </listitem> 101 102 <listitem> 103 <para>2023-07-28</para> 104 <itemizedlist> 105 <listitem> 106 <para>[bdubbs] - Update udev-lfs tarball to remove obsolete 107 cdrom rules and references to ISDN devices. Fixes 108 <ulink url='&lfs-ticket-root;5291'>#5291</ulink>.</para> 109 </listitem> 110 <listitem> 111 <para>[bdubbs] - Update to wheel-0.41.0 (Python Module). Fixes 112 <ulink url='&lfs-ticket-root;5290'>#5290</ulink>.</para> 113 </listitem> 114 <listitem> 115 <para>[bdubbs] - Update to tar-1.35. Fixes 116 <ulink url='&lfs-ticket-root;5287'>#5287</ulink>.</para> 117 </listitem> 118 <listitem> 119 <para>[bdubbs] - Update to<phrase revision='sysv'> udev 120 from</phrase> systemd-254. Fixes 121 <ulink url='&lfs-ticket-root;5293'>#5293</ulink>.</para> 122 </listitem> 123 <listitem> 124 <para>[bdubbs] - Update to meson-1.2.0. Fixes 125 <ulink url='&lfs-ticket-root;5286'>#5286</ulink>.</para> 126 </listitem> 127 <listitem> 128 <para>[bdubbs] - Update to linux-6.4.7. Fixes 129 <ulink url='&lfs-ticket-root;5288'>#5288</ulink>.</para> 130 </listitem> 131 <listitem> 132 <para>[bdubbs] - Update to gcc-13.2.0. Fixes 133 <ulink url='&lfs-ticket-root;5292'>#5292</ulink>.</para> 134 </listitem> 135 <listitem> 136 <para>[bdubbs] - Update to file-5.45. Fixes 137 <ulink url='&lfs-ticket-root;5294'>#5294</ulink>.</para> 138 </listitem> 139 </itemizedlist> 140 </listitem> 141 142 <listitem revision='sysv'> 143 <para>2023-07-28</para> 144 <itemizedlist> 145 <listitem revision='sysv'> 146 <para>[xry111] - Enable cgroup-based memory pressure information 147 in kernel, and add the cgroup file system into /etc/fstab and the 148 mountvirtfs bootscript. This is a preparation for udev from 149 systemd-254. Addresses 150 <ulink url='&lfs-ticket-root;5293'>#5293</ulink>.</para> 151 </listitem> 152 </itemizedlist> 153 </listitem> 42 154 43 155 <listitem revision='sysv'> … … 160 272 </listitem> 161 273 <listitem> 162 <para>[rahul] - Changed from pkg-config to pkgconf 274 <para>[rahul] - Changed from pkg-config to pkgconf-1.9.5. Fixes 163 275 <ulink url='&lfs-ticket-root;5274'>#5274</ulink>.</para> 164 276 </listitem> -
chapter01/whatsnew.xml
r428ca6c r2882861 65 65 <para>Bc &bc-version;</para> 66 66 </listitem> 67 < !--<listitem>67 <listitem> 68 68 <para>Binutils-&binutils-version;</para> 69 </listitem> -->69 </listitem> 70 70 <!--<listitem> 71 71 <para>Bison-&bison-version;</para> … … 101 101 <para>Expect-&expect-version;</para> 102 102 </listitem>--> 103 < !--<listitem>103 <listitem> 104 104 <para>File-&file-version;</para> 105 </listitem> -->105 </listitem> 106 106 <!--<listitem> 107 107 <para>Findutils-&findutils-version;</para> … … 125 125 <para>Gettext-&gettext-version;</para> 126 126 </listitem> 127 < !--<listitem>127 <listitem> 128 128 <para>Glibc-&glibc-version;</para> 129 </listitem> -->130 < !--<listitem>129 </listitem> 130 <listitem> 131 131 <para>GMP-&gmp-version;</para> 132 </listitem> -->132 </listitem> 133 133 <!--<listitem> 134 134 <para>Gperf-&gperf-version;</para> … … 227 227 <para>Patch-&patch-version;</para> 228 228 </listitem>--> 229 <!--<listitem> 230 <para>Pkgconf-&pkgconf-version;</para> 231 </listitem>--> 229 232 <listitem> 230 233 <para>Perl-&perl-version;</para> … … 251 254 <para>Sysklogd-&sysklogd-version;</para> 252 255 </listitem> 253 <listitem revision="systemd">256 <listitem> 254 257 <para>Systemd-&systemd-version;</para> 255 258 </listitem> … … 257 260 <para>SysVinit-&sysvinit-version;</para> 258 261 </listitem>--> 259 < !--<listitem>262 <listitem> 260 263 <para>Tar-&tar-version;</para> 261 </listitem> -->264 </listitem> 262 265 <!--<listitem> 263 266 <para>Tcl-&tcl-version;</para> … … 275 278 <para>Vim-&vim-version;</para> 276 279 </listitem> 277 < !--<listitem>280 <listitem> 278 281 <para>wheel-&wheel-version;</para> 279 </listitem> -->282 </listitem> 280 283 <!--<listitem> 281 284 <para>XML-Parser-&xml-parser-version;</para> 282 285 </listitem>--> 283 < !--<listitem>286 <listitem> 284 287 <para>XZ-Utils-&xz-version;</para> 285 </listitem> -->288 </listitem> 286 289 <!--<listitem> 287 290 <para>Zlib-&zlib-version;</para> … … 322 325 323 326 <listitem> 324 <para>Pkgconf-& flit-core-version;</para>327 <para>Pkgconf-&pkgconf-version;</para> 325 328 </listitem> 326 329 … … 350 353 <listitem><para></para></listitem> <!-- satisfy build --> 351 354 352 <listitem >355 <listitem revision='sysv'> 353 356 <para>eudev-3.2.12</para> 354 357 </listitem> … … 362 365 </listitem> 363 366 364 <listitem >367 <listitem revision='systemd'> 365 368 <para>systemd-252-security_fix-1.patch</para> 366 369 </listitem> -
chapter03/packages.xml
r428ca6c r2882861 63 63 <para>Download: <ulink url="&automake-url;"/></para> 64 64 <para>MD5 sum: <literal>&automake-md5;</literal></para> 65 <para>SHA256 sum: <literal>&automake-sha256;</literal></para>66 65 </listitem> 67 66 </varlistentry> -
chapter04/settingenviron.xml
r428ca6c r2882861 105 105 106 106 <varlistentry> 107 <term><parameter>LFS_TGT= (uname -m)-lfs-linux-gnu</parameter></term>107 <term><parameter>LFS_TGT=$(uname -m)-lfs-linux-gnu</parameter></term> 108 108 <listitem> 109 109 <para>The <envar>LFS_TGT</envar> variable sets a non-default, but compatible machine -
chapter05/glibc.xml
r428ca6c r2882861 85 85 --enable-kernel=&min-kernel; \ 86 86 --with-headers=$LFS/usr/include \ 87 --disable-crypt \88 87 libc_cv_slibdir=/usr/lib</userinput></screen> 89 88 -
chapter06/binutils-pass2.xml
r428ca6c r2882861 102 102 cross compilation, and remove unnecessary static libraries:</para> 103 103 104 <screen><userinput remap="install">rm -v $LFS/usr/lib/lib{bfd,ctf,ctf-nobfd,opcodes }.{a,la}</userinput></screen>104 <screen><userinput remap="install">rm -v $LFS/usr/lib/lib{bfd,ctf,ctf-nobfd,opcodes,sframe}.{a,la}</userinput></screen> 105 105 106 106 </sect2> -
chapter06/diffutils.xml
r428ca6c r2882861 46 46 <para>Prepare Diffutils for compilation:</para> 47 47 48 <screen><userinput remap="configure">./configure --prefix=/usr --host=$LFS_TGT</userinput></screen> 48 <screen><userinput remap="configure">./configure --prefix=/usr \ 49 --host=$LFS_TGT \ 50 --build=$(./build-aux/config.guess)</userinput></screen> 49 51 50 52 <para>Compile the package:</para> -
chapter06/grep.xml
r428ca6c r2882861 46 46 <para>Prepare Grep for compilation:</para> 47 47 48 <screen><userinput remap="configure">./configure --prefix=/usr \ 49 --host=$LFS_TGT</userinput></screen> 48 <screen><userinput remap="configure">./configure --prefix=/usr \ 49 --host=$LFS_TGT \ 50 --build=$(./build-aux/config.guess)</userinput></screen> 50 51 51 52 <para>Compile the package:</para> -
chapter06/sed.xml
r428ca6c r2882861 46 46 <para>Prepare Sed for compilation:</para> 47 47 48 <screen><userinput remap="configure">./configure --prefix=/usr \ 49 --host=$LFS_TGT</userinput></screen> 48 <screen><userinput remap="configure">./configure --prefix=/usr \ 49 --host=$LFS_TGT \ 50 --build=$(./build-aux/config.guess)</userinput></screen> 50 51 51 52 <para>Compile the package:</para> -
chapter08/binutils.xml
r428ca6c r2882861 133 133 <screen><userinput remap="test">grep '^FAIL:' $(find -name '*.log')</userinput></screen> 134 134 135 <para>Three tests in the gprofng suite are known to fail.</para> 136 135 137 <para>Install the package:</para> 136 138 137 139 <screen><userinput remap="install">make tooldir=/usr install</userinput></screen> 138 140 139 <para>Remove useless static libraries and an empty man page:</para> 140 141 <screen><userinput remap="install">rm -fv /usr/lib/lib{bfd,ctf,ctf-nobfd,sframe,opcodes}.a 142 rm -fv /usr/share/man/man1/{gprofng,gp-*}.1</userinput></screen> 141 <para>Remove useless static libraries:</para> 142 143 <screen><userinput remap="install">rm -fv /usr/lib/lib{bfd,ctf,ctf-nobfd,sframe,opcodes}.a</userinput></screen> 143 144 144 145 </sect2> -
chapter08/dbus.xml
r428ca6c r2882861 53 53 --localstatedir=/var \ 54 54 --runstatedir=/run \ 55 --enable-user-session \ 55 56 --disable-static \ 56 57 --disable-doxygen-docs \ … … 71 72 to be in <filename class="directory">/run</filename>, instead of 72 73 the deprecated <filename class="directory">/var/run</filename>.</para> 74 </listitem> 75 </varlistentry> 76 77 <varlistentry> 78 <term> 79 <parameter>--enable-user-session</parameter> 80 </term> 81 <listitem> 82 <para>This ensures the D-Bus per-user service and socket unit 83 files are installed for Systemd. They are not useful (but 84 harmless) in a base LFS installation, however they can be used 85 once systemd is rebuilt with PAM support in BLFS.</para> 73 86 </listitem> 74 87 </varlistentry> -
chapter08/gcc.xml
r428ca6c r2882861 178 178 are known to fail.</para> 179 179 180 <para> 181 With Glibc-2.38, the analyzer tests named 182 <filename>data-model-4.c</filename> and 183 <filename>conftest-1.c</filename> are known to fail. 184 In the asan tests, the subtest named 185 <filename>AddressSanitizer_StrtolOOBTest</filename> in the test 186 <filename>asan_test.C</filename> and the test named 187 <filename>interception-malloc-test-1.C</filename> are known to fail. 188 </para> 189 180 190 <para>A few unexpected failures cannot always be avoided. The GCC developers 181 191 are usually aware of these issues, but have not resolved them yet. -
chapter08/glibc.xml
r428ca6c r2882861 51 51 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen> 52 52 53 <!-- https://sourceware.org/bugzilla/show_bug.cgi?id=3006854 Upstream fix also added a test case and renamed "prec" to55 "prec_inc". We'll test this with MPFR test suite so we don't56 need the test here, and the renaming does not affect program57 behavior. -->58 <para>Fix a security issue identified upstream:</para>59 60 <screen><userinput remap="pre">sed '/width -=/s/workend - string/number_length/' \61 -i stdio-common/vfprintf-process-arg.c</userinput></screen>62 63 53 <para>The Glibc documentation recommends building Glibc 64 54 in a dedicated build directory:</para> … … 80 70 --enable-stack-protector=strong \ 81 71 --with-headers=/usr/include \ 82 --disable-crypt \83 72 libc_cv_slibdir=/usr/lib</userinput></screen> 84 73 … … 167 156 </listitem> 168 157 158 <!-- Did not fail with glibc-2.38 169 159 <listitem> 170 160 <para><emphasis>misc/tst-ttyname</emphasis> 171 161 is known to fail in the LFS chroot environment.</para> 172 162 </listitem> 163 --> 173 164 174 165 <!-- https://sourceware.org/pipermail/libc-alpha/2022-August/141567.html --> -
chapter08/gmp.xml
r428ca6c r2882861 59 59 the host processor. If libraries suitable for processors less 60 60 capable than the host's CPU are desired, generic libraries can be 61 created by running the following: 61 created by appending the <option>--host=none-linux-gnu</option> option 62 to the <command>configure</command> command.</para> 62 63 63 <screen role="nodump"><userinput>cp -v configfsf.guess config.guess 64 cp -v configfsf.sub config.sub</userinput></screen></para> 64 <!-- To editors: the configure script says "the none host is obsolete, 65 use - -disable-assembly", but don't believe it: with the latter 66 CFLAGS is still automatically set to -march=something. --> 65 67 </note> 66 68 … … 111 113 applications using the gmp libraries with the message "Illegal 112 114 instruction". In this case, gmp should be reconfigured with the option 113 --build=x86_64-pc-linux-gnuand rebuilt.</para></caution>115 <option>--host=none-linux-gnu</option> and rebuilt.</para></caution> 114 116 115 <para>Ensure that all 19 7tests in the test suite passed.117 <para>Ensure that all 199 tests in the test suite passed. 116 118 Check the results by issuing the following command:</para> 117 119 -
chapter08/pkgconf.xml
r428ca6c r2882861 42 42 43 43 <sect2 role="installation"> 44 44 45 <title>Installation of Pkgconf</title> 46 47 <para>Pkgconf-2.0.0 explicitly errors when attempting to run 48 <option>--modversion</option> with multiple arguments, even if these 49 arguments are constraints for the same package. This breaks many 50 packages in BLFS. Run this sed to reinstate the old 51 output for pkgconf:</para> 52 53 <screen><userinput remap="pre">sed -i '/1330,1336/s|^|//|' cli/main.c</userinput></screen> 45 54 46 55 <para>Prepare Pkgconf for compilation:</para> -
chapter08/procps.xml
r428ca6c r2882861 83 83 84 84 <screen><userinput remap="test">make check</userinput></screen> 85 86 <!-- It's because "free -v" shows "used" greater than "total", and87 a negative "free" for "Comm" line. The "total" value is from88 "CommitLimit" in /proc/meminfo, which is the limit for one process.89 But the "used" value is from "Committed_AS" in the same file,90 which is the total commited virtual memory space of all processes.91 I'll make a report to upstream anyway. -->92 <para>One test named <filename>free with commit</filename>93 may fail if some applications with a custom memory allocator (for94 example, JVM and Web browsers) are running on the host distro.</para>95 85 96 86 <para>Install the package:</para> -
chapter08/stripping.xml
r428ca6c r2882861 89 89 online_usrbin="bash find strip" 90 90 online_usrlib="libbfd-&binutils-version;.so 91 libsframe.so. 0.0.091 libsframe.so.&libsframe-version; 92 92 libhistory.so.&readline-soversion; 93 93 libncursesw.so.&ncurses-version; -
chapter08/systemd.xml
r428ca6c r2882861 40 40 <sect2 role="installation"> 41 41 <title>Installation of systemd</title> 42 43 <para>44 Remove several inappropriate uses of the <literal>pure</literal>45 attribute that cause runtime issues when the package is built46 with gcc-13 or later:47 </para>48 49 <screen><userinput remap='pre'>sed '/bus_message_type_from_string/s/_pure_//' \50 -i src/libsystemd/sd-bus/bus-internal.h &&51 sed '/devt_hash_func/s/_pure_//' \52 -i src/basic/hash-funcs.h &&53 sed '/job_get_timeout/s/_pure_//' \54 -i src/core/job.h</userinput></screen>55 42 56 43 <para>Remove two unneeded groups, … … 207 194 <!-- Please make sure systemd man pages tarball has a common leading 208 195 component in the path. --> 209 <screen><userinput remap="install">tar -xf ../../systemd-man-pages-&systemd-man-version;.tar.xz --strip-components=1 -C /usr/share/man</userinput></screen> 196 <screen><userinput remap="install">tar -xf ../../systemd-man-pages-&systemd-version;.tar.xz \ 197 --no-same-owner --strip-components=1 \ 198 -C /usr/share/man</userinput></screen> 210 199 211 200 <para>Create the <filename>/etc/machine-id</filename> file needed by … … 246 235 <seg>busctl, coredumpctl, halt (symlink to systemctl), 247 236 hostnamectl, init, journalctl, kernel-install, localectl, loginctl, 248 machinectl, networkctl, oomctl, portablectl, poweroff (symlink to 237 machinectl, mount.ddi (symlink to systemd-dissect), networkctl, 238 oomctl, portablectl, poweroff (symlink to 249 239 systemctl), reboot (symlink to systemctl), resolvconf (symlink to 250 240 resolvectl), resolvectl, runlevel (symlink to systemctl), shutdown 251 241 (symlink to systemctl), systemctl, systemd-ac-power, systemd-analyze, 252 242 systemd-ask-password, systemd-cat, systemd-cgls, systemd-cgtop, 253 systemd-creds, systemd-delta, systemd-detect-virt, 243 systemd-confext (symlink to systemd-sysext), systemd-creds, 244 systemd-delta, systemd-detect-virt, 254 245 systemd-dissect, systemd-escape, systemd-hwdb, systemd-id128, 255 246 systemd-inhibit, systemd-machine-id-setup, -
chapter08/udev.xml
r428ca6c r2882861 129 129 install -vm755 udevadm /usr/bin/ 130 130 install -vm755 systemd-hwdb /usr/bin/udev-hwdb 131 ln -sv 131 ln -svfn ../bin/udevadm /usr/sbin/udevd 132 132 cp -av libudev.so{,*[0-9]} /usr/lib/ 133 133 install -vm644 ../src/libudev/libudev.h /usr/include/ … … 149 149 <!-- Please make sure systemd man pages tarball has a common leading 150 150 component in the path. --> 151 <screen><userinput remap="install">tar -xf ../../systemd-man-pages-253.tar.xz --strip-components=1 \ 151 <screen><userinput remap="install">tar -xf ../../systemd-man-pages-&systemd-man-version;.tar.xz \ 152 --no-same-owner --strip-components=1 \ 152 153 -C /usr/share/man --wildcards '*/udev*' '*/libudev*' \ 153 154 '*/systemd-'{hwdb,udevd.service}.8 154 sed 's/systemd\(\\\?-\)/udev -/' /usr/share/man/man8/systemd-hwdb.8\155 > /usr/share/man/man8/udev-hwdb.8155 sed 's/systemd\(\\\?-\)/udev\1/' /usr/share/man/man8/systemd-hwdb.8 \ 156 > /usr/share/man/man8/udev-hwdb.8 156 157 sed 's|lib.*udevd|sbin/udevd|' \ 157 158 /usr/share/man/man8/systemd-udevd.service.8 \ -
chapter10/fstab.xml
r428ca6c r2882861 23 23 <literal># Begin /etc/fstab 24 24 25 # file system mount-point type options dump fsck26 # order25 # file system mount-point type options dump fsck 26 # order 27 27 28 /dev/<replaceable><xxx></replaceable> / <replaceable><fff></replaceable> defaults 1 1 29 /dev/<replaceable><yyy></replaceable> swap swap pri=1 0 0 30 proc /proc proc nosuid,noexec,nodev 0 0 31 sysfs /sys sysfs nosuid,noexec,nodev 0 0 32 devpts /dev/pts devpts gid=5,mode=620 0 0 33 tmpfs /run tmpfs defaults 0 0 34 devtmpfs /dev devtmpfs mode=0755,nosuid 0 0 35 tmpfs /dev/shm tmpfs nosuid,nodev 0 0 28 /dev/<replaceable><xxx></replaceable> / <replaceable><fff></replaceable> defaults 1 1 29 /dev/<replaceable><yyy></replaceable> swap swap pri=1 0 0 30 proc /proc proc nosuid,noexec,nodev 0 0 31 sysfs /sys sysfs nosuid,noexec,nodev 0 0 32 devpts /dev/pts devpts gid=5,mode=620 0 0 33 tmpfs /run tmpfs defaults 0 0 34 devtmpfs /dev devtmpfs mode=0755,nosuid 0 0 35 tmpfs /dev/shm tmpfs nosuid,nodev 0 0 36 cgroup2 /sys/fs/cgroup cgroup2 nosuid,noexec,nodev 0 0 36 37 37 38 # End /etc/fstab</literal> -
chapter10/grub.xml
r428ca6c r2882861 211 211 set timeout=5 212 212 213 insmod part_gpt 213 214 insmod ext2 214 215 set root=(hd0,2) -
chapter10/kernel.xml
r428ca6c r2882861 131 131 not work correctly or boot at all:</para> 132 132 133 <screen role="nodump" revision="sysv">Processor type and features ---> 134 [*] Build a relocatable kernel [CONFIG_RELOCATABLE] 135 [*] Randomize the address of the kernel image (KASLR) [CONFIG_RANDOMIZE_BASE] 136 General setup ---> 137 [ ] Compile the kernel with warnings as errors [CONFIG_WERROR] 138 < > Enable kernel headers through /sys/kernel/kheaders.tar.xz [CONFIG_IKHEADERS] 139 [ ] Configure standard kernel features (expert users) [CONFIG_EXPERT] 140 General architecture-dependent options ---> 141 [*] Stack Protector buffer overflow detection [CONFIG_STACKPROTECTOR] 142 [*] Strong Stack Protector [CONFIG_STACKPROTECTOR_STRONG] 143 Device Drivers ---> 144 Firmware Drivers ---> 145 EFI (Extensible Firmware Interface) Support ---> 146 [*] Enable the generic EFI decompressor [CONFIG_EFI_ZBOOT] 147 Graphics support ---> 148 Frame buffer Devices ---> 149 <*> Support for frame buffer devices ---> 150 Console display driver support ---> 151 [*] Framebuffer Console support [CONFIG_FRAMEBUFFER_CONSOLE] 152 Generic Driver Options ---> 153 [ ] Support for uevent helper [CONFIG_UEVENT_HELPER] 154 [*] Maintain a devtmpfs filesystem to mount at /dev [CONFIG_DEVTMPFS] 155 [*] Automount devtmpfs at /dev, after the kernel mounted the rootfs [CONFIG_DEVTMPFS_MOUNT]</screen> 156 157 <screen role="nodump" revision="systemd">Processor type and features ---> 158 [*] Build a relocatable kernel [CONFIG_RELOCATABLE] 159 [*] Randomize the address of the kernel image (KASLR) [CONFIG_RANDOMIZE_BASE] 160 General setup ---> 161 [ ] Compile the kernel with warnings as errors [CONFIG_WERROR] 162 [ ] Auditing Support [CONFIG_AUDIT] 163 CPU/Task time and stats accounting ---> 164 [*] Pressure stall information tracking [CONFIG_PSI] 165 [ ] Require boot parameter to enable pressure stall information tracking [CONFIG_PSI_DEFAULT_DISABLED] 166 < > Enable kernel headers through /sys/kernel/kheaders.tar.xz [CONFIG_IKHEADERS] 167 [*] Control Group support [CONFIG_CGROUPS] ---> 168 [*] Memory controller [CONFIG_MEMCG] 169 [ ] Configure standard kernel features (expert users) [CONFIG_EXPERT] 170 General architecture-dependent options ---> 171 [*] Enable seccomp to safely compute untrusted bytecode [CONFIG_SECCOMP] 172 [*] Stack Protector buffer overflow detection [CONFIG_STACKPROTECTOR] 173 [*] Strong Stack Protector [CONFIG_STACKPROTECTOR_STRONG] 174 [*] Networking support ---> [CONFIG_NET] 175 Networking options ---> 176 [*] TCP/IP networking [CONFIG_INET] 177 <*> The IPv6 protocol [CONFIG_IPV6] 178 Device Drivers ---> 179 Generic Driver Options ---> 180 [ ] Support for uevent helper [CONFIG_UEVENT_HELPER] 181 [*] Maintain a devtmpfs filesystem to mount at /dev [CONFIG_DEVTMPFS] 182 [*] Automount devtmpfs at /dev, after the kernel mounted the rootfs [CONFIG_DEVTMPFS_MOUNT] 183 Firmware Loader ---> 184 [ ] Enable the firmware sysfs fallback mechanism [CONFIG_FW_LOADER_USER_HELPER] 185 Firmware Drivers ---> 186 [*] Export DMI identification via sysfs to userspace [CONFIG_DMIID] 187 EFI (Extensible Firmware Interface) Support ---> 188 [*] Enable the generic EFI decompressor [CONFIG_EFI_ZBOOT] 189 Graphics support ---> 190 Frame buffer Devices ---> 191 <*> Support for frame buffer devices ---> 192 Console display driver support ---> 193 [*] Framebuffer Console support [CONFIG_FRAMEBUFFER_CONSOLE] 194 File systems ---> 195 [*] Inotify support for userspace [CONFIG_INOTIFY_USER] 196 Pseudo filesystems ---> 197 [*] Tmpfs POSIX Access Control Lists [CONFIG_TMPFS_POSIX_ACL]</screen> 133 <!-- To editors: for updating kernel configuration, edit 134 kernel/*.toml and regenerate kernel/*.xml with 135 "make -C kernel KERNEL_TREE=</usr/src/linux-&linux-version> --> 136 137 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 138 href="kernel/sysv.xml"/> 139 140 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 141 href="kernel/systemd.xml"/> 198 142 199 143 <para>If the partition for the LFS system is in a NVME SSD (i. e. the … … 202 146 the LFS system won't boot:</para> 203 147 204 <screen role="nodump">Device Drivers ---> 205 NVME Support ---> 206 <*> NVM Express block device [CONFIG_BLK_DEV_NVME]</screen> 148 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 149 href="kernel/nvme.xml"/> 207 150 </note> 208 151 -
obfuscate.sh
r428ca6c r2882861 5 5 # Script written (and slight perl modification) by Archaic <archaic AT linuxfromscratch D0T org> 6 6 # Modified from "sed -i" to old style "sed -e" by Manuel Canales <manuel AT linuxfromscratch D0T org> 7 # to prevent hangs on very long files, like nonc kunked books.7 # to prevent hangs on very long files, like nonchunked books. 8 8 # Original Perl expression by Anderson Lizardo <lizardo AT linuxfromscratch D0T org> 9 9 # Released under the GNU General Public License -
packages.ent
r428ca6c r2882861 44 44 <!ENTITY automake-url "&gnu;automake/automake-&automake-version;.tar.xz"> 45 45 <!ENTITY automake-md5 "4017e96f89fca45ca946f1c5db6be714"> 46 <!ENTITY automake-sha256 "80facc09885a57e6d49d06972c0ae1089c5fa8f4d4c7cfe5baea58e5085f136d">47 46 <!ENTITY automake-home "&gnu-software;automake/"> 48 47 <!ENTITY automake-fin-du "114 MB"> … … 67 66 <!ENTITY bc-fin-sbu "less than 0.1 SBU"> 68 67 69 <!ENTITY binutils-version "2.4 0">70 <!ENTITY binutils-size "2 4,650KB">68 <!ENTITY binutils-version "2.41"> 69 <!ENTITY binutils-size "26,139 KB"> 71 70 <!ENTITY binutils-url "https://sourceware.org/pub/binutils/releases/binutils-&binutils-version;.tar.xz"> 72 <!ENTITY binutils-md5 " 007b59bd908a737c06e5a8d3d2c737eb">71 <!ENTITY binutils-md5 "256d7e0ad998e423030c84483a7c1e30"> 73 72 <!ENTITY binutils-home "&gnu-software;binutils/"> 74 73 <!ENTITY binutils-tmpp1-du "639 MB"> … … 78 77 <!ENTITY binutils-fin-du "2.6 GB"> 79 78 <!ENTITY binutils-fin-sbu "2.2 SBU"> 79 <!ENTITY libsframe-version "1.0.0"> 80 80 81 81 <!ENTITY bison-version "3.8.2"> … … 173 173 <!ENTITY expect-tmp-sbu "0.2 SBU"> 174 174 175 <!ENTITY file-version "5.4 4">176 <!ENTITY file-size "1, 159KB">175 <!ENTITY file-version "5.45"> 176 <!ENTITY file-size "1,218 KB"> 177 177 <!ENTITY file-url "https://astron.com/pub/file/file-&file-version;.tar.gz"> 178 <!ENTITY file-md5 " a60d586d49d015d842b9294864a89c7a">178 <!ENTITY file-md5 "26b2a96d4e3a8938827a1e572afd527a"> 179 179 <!ENTITY file-home "https://www.darwinsys.com/file/"> 180 180 <!ENTITY file-tmp-du "36 MB"> … … 219 219 <!ENTITY gawk-fin-sbu "0.2 SBU"> 220 220 221 <!ENTITY gcc-version "13. 1.0">222 <!ENTITY gcc-size "85, 402KB">221 <!ENTITY gcc-version "13.2.0"> 222 <!ENTITY gcc-size "85,800 KB"> 223 223 <!ENTITY gcc-url "&gnu;gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.xz"> 224 <!ENTITY gcc-md5 " 43e4de77f2218c83ca675257ea1af9ef">224 <!ENTITY gcc-md5 "e0e48554cc6e4f261d55ddee9ab69075"> 225 225 <!ENTITY gcc-sha256 ""> 226 226 <!ENTITY gcc-home "https://gcc.gnu.org/"> … … 257 257 <!ENTITY gettext-fin-sbu "1.3 SBU"> 258 258 259 <!ENTITY glibc-version "2.3 7">260 <!ENTITY glibc-size "18, 244KB">259 <!ENTITY glibc-version "2.38"> 260 <!ENTITY glibc-size "18,471 KB"> 261 261 <!ENTITY glibc-url "&gnu;glibc/glibc-&glibc-version;.tar.xz"> 262 <!ENTITY glibc-md5 " e89cf3dcb64939d29f04b4ceead5cc4e">262 <!ENTITY glibc-md5 "778cce0ea6bf7f84ca8caacf4a01f45b"> 263 263 <!ENTITY glibc-home "&gnu-software;libc/"> 264 264 <!ENTITY glibc-tmp-du "822 MB"> … … 267 267 <!ENTITY glibc-fin-sbu "11 SBU"> 268 268 269 <!ENTITY gmp-version "6. 2.1">270 <!ENTITY gmp-size " 1,980KB">269 <!ENTITY gmp-version "6.3.0"> 270 <!ENTITY gmp-size "2,046 KB"> 271 271 <!ENTITY gmp-url "&gnu;gmp/gmp-&gmp-version;.tar.xz"> 272 <!ENTITY gmp-md5 " 0b82665c4a92fd2ade7440c13fcaa42b">272 <!ENTITY gmp-md5 "956dc04e864001a9c22429f761f2c283"> 273 273 <!ENTITY gmp-home "&gnu-software;gmp/"> 274 274 <!ENTITY gmp-fin-du "52 MB"> … … 319 319 <!ENTITY gzip-fin-sbu "0.3 SBU"> 320 320 321 <!ENTITY iana-etc-version "20230 629">321 <!ENTITY iana-etc-version "20230804"> 322 322 <!ENTITY iana-etc-size "588 KB"> 323 323 <!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 " 8c2e8385391306edbf4ca26ed4930a71">324 <!ENTITY iana-etc-md5 "449bdd47e3e9f0788f0bc6925afb6f22"> 325 325 <!ENTITY iana-etc-home "https://www.iana.org/protocols"> 326 326 <!ENTITY iana-etc-fin-du "4.8 MB"> … … 384 384 <!ENTITY less-fin-sbu "less than 0.1 SBU"> 385 385 386 <!ENTITY lfs-bootscripts-version "2023072 2"> <!-- Scripts depend on this format -->386 <!ENTITY lfs-bootscripts-version "20230728"> <!-- Scripts depend on this format --> 387 387 <!ENTITY lfs-bootscripts-size "BOOTSCRIPTS-SIZE KB"> 388 388 <!ENTITY lfs-bootscripts-url "&downloads-root;lfs-bootscripts-&lfs-bootscripts-version;.tar.xz"> … … 434 434 <!ENTITY linux-major-version "6"> 435 435 <!ENTITY linux-minor-version "4"> 436 <!ENTITY linux-patch-version " 3">436 <!ENTITY linux-patch-version "8"> 437 437 <!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">--> 438 438 <!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;"> 439 <!ENTITY linux-size "134,5 57KB">439 <!ENTITY linux-size "134,589 KB"> 440 440 <!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz"> 441 <!ENTITY linux-md5 " c83363136e61977c63d655733424d37a">441 <!ENTITY linux-md5 "80f135995e79ed48c61064d151155bd7"> 442 442 <!ENTITY linux-home "https://www.kernel.org/"> 443 443 <!-- measured for 5.13.4 / gcc-11.1.0 on x86_64 : minimum is … … 478 478 <!ENTITY man-db-fin-sbu "0.2 SBU"> 479 479 480 <!ENTITY man-pages-version "6.0 4">481 <!ENTITY man-pages-size "2,1 37KB">480 <!ENTITY man-pages-version "6.05.01"> 481 <!ENTITY man-pages-size "2,144 KB"> 482 482 <!ENTITY man-pages-url "&kernel;linux/docs/man-pages/man-pages-&man-pages-version;.tar.xz"> 483 <!ENTITY man-pages-md5 " bbce1456edfa75a66c189cc594af6c4d">483 <!ENTITY man-pages-md5 "de4563b797cf9b1e0b0d73628b35e442"> 484 484 <!ENTITY man-pages-home "https://www.kernel.org/doc/man-pages/"> 485 485 <!ENTITY man-pages-fin-du "32 MB"> … … 494 494 <!ENTITY markupsafe-fin-sbu "less than 0.1 SBU"> 495 495 496 <!ENTITY meson-version "1. 1.1">497 <!ENTITY meson-size "2, 076KB">496 <!ENTITY meson-version "1.2.0"> 497 <!ENTITY meson-size "2,132 KB"> 498 498 <!ENTITY meson-url "&github;/mesonbuild/meson/releases/download/&meson-version;/meson-&meson-version;.tar.gz"> 499 <!ENTITY meson-md5 " 0f810b31b26156989ac9321fa2063a04">499 <!ENTITY meson-md5 "677616183f2c5e03e2139b06280129a0"> 500 500 <!ENTITY meson-home "https://mesonbuild.com"> 501 501 <!ENTITY meson-fin-du "41 MB"> … … 536 536 <!ENTITY ninja-fin-sbu "0.3 SBU"> 537 537 538 <!ENTITY openssl-version "3.1. 1">539 <!ENTITY openssl-size "15,1 81KB">538 <!ENTITY openssl-version "3.1.2"> 539 <!ENTITY openssl-size "15,196 KB"> 540 540 <!ENTITY openssl-url "https://www.openssl.org/source/openssl-&openssl-version;.tar.gz"> 541 <!ENTITY openssl-md5 "1 864b75e31fb4a6e0a07fd832529add3">541 <!ENTITY openssl-md5 "1d7861f969505e67b8677e205afd9ff4"> 542 542 <!ENTITY openssl-home "https://www.openssl.org/"> 543 543 <!ENTITY openssl-fin-du "520 MB"> … … 568 568 <!ENTITY perl-fin-sbu "7.9 SBU"> 569 569 570 <!ENTITY pkgconf-version " 1.9.5">571 <!ENTITY pkgconf-size "30 4KB">570 <!ENTITY pkgconf-version "2.0.0"> 571 <!ENTITY pkgconf-size "303 KB"> 572 572 <!ENTITY pkgconf-url "https://distfiles.ariadne.space/pkgconf/pkgconf-&pkgconf-version;.tar.xz"> 573 <!ENTITY pkgconf-md5 " 0a8b69723bef4ebad83e9c8b43a75cc7">573 <!ENTITY pkgconf-md5 "42ac3b1291aba9681136a74996ebffcd"> 574 574 <!ENTITY pkgconf-home "http://pkgconf.org/"> 575 <!ENTITY pkgconf-fin-du " 8.1MB">575 <!ENTITY pkgconf-fin-du "4.6 MB"> 576 576 <!ENTITY pkgconf-fin-sbu "less than 0.1 SBU"> 577 577 … … 644 644 <!ENTITY sysklogd-fin-sbu "less than 0.1 SBU"> 645 645 646 <!ENTITY systemd-version "25 3">646 <!ENTITY systemd-version "254"> 647 647 <!--<!ENTITY systemd-stable "6b4878d">--> 648 648 <!-- The above entity is used whenever we move to a stable backport branch. In the event of a critical problem or kernel 649 649 change that is incompatible, we will switch to the backport branch until the next stable release. --> 650 <!ENTITY systemd-size "1 1,708KB">650 <!ENTITY systemd-size "13,985 KB"> 651 651 <!ENTITY systemd-url "&github;/systemd/systemd/archive/v&systemd-version;/systemd-&systemd-version;.tar.gz"> 652 652 <!--<!ENTITY systemd-url "&anduin-sources;/systemd-&systemd-version;-&systemd-stable;.tar.xz">--> 653 <!ENTITY systemd-md5 " 7cf12ee8a91a04306fc6cf290eed42e8">653 <!ENTITY systemd-md5 "0d266e5361dc72097b6c18cfde1c0001"> 654 654 <!ENTITY systemd-home "https://www.freedesktop.org/wiki/Software/systemd/"> 655 <!ENTITY systemd-man-version "25 3">656 <!ENTITY systemd-man-size "6 00KB">655 <!ENTITY systemd-man-version "254"> 656 <!ENTITY systemd-man-size "626 KB"> 657 657 <!--<!ENTITY systemd-man-url "&anduin-sources;/systemd-man-pages-&systemd-version;-&systemd-stable;.tar.xz">--> 658 658 <!ENTITY systemd-man-url "&anduin-sources;/systemd-man-pages-&systemd-man-version;.tar.xz"> 659 <!ENTITY systemd-man-md5 " 8b54792c9433fc8db8e5d10db326802d">659 <!ENTITY systemd-man-md5 "fc32faeac581e1890ca27fcea3858410"> 660 660 <!ENTITY systemd-fin-du "258 MB"> 661 661 <!ENTITY systemd-fin-sbu "0.7 SBU"> … … 669 669 <!ENTITY sysvinit-fin-sbu "less than 0.1 SBU"> 670 670 671 <!ENTITY tar-version "1.3 4">672 <!ENTITY tar-size "2, 174KB">671 <!ENTITY tar-version "1.35"> 672 <!ENTITY tar-size "2,263 KB"> 673 673 <!ENTITY tar-url "&gnu;tar/tar-&tar-version;.tar.xz"> 674 <!ENTITY tar-md5 " 9a08d29a9ac4727130b5708347c0f5cf">674 <!ENTITY tar-md5 "a2d8042658cfd8ea939e6d911eaf4152"> 675 675 <!ENTITY tar-home "&gnu-software;tar/"> 676 676 <!ENTITY tar-tmp-du "38 MB"> … … 710 710 <!ENTITY udev-fin-sbu "0.2 SBU"> 711 711 712 <!ENTITY udev-lfs-version "udev-lfs-20 171102">713 <!ENTITY udev-lfs-size "1 1KB">712 <!ENTITY udev-lfs-version "udev-lfs-20230728"> 713 <!ENTITY udev-lfs-size "10 KB"> 714 714 <!ENTITY udev-lfs-url "&anduin-sources;/&udev-lfs-version;.tar.xz"> 715 <!ENTITY udev-lfs-md5 " 27cd82f9a61422e186b9d6759ddf1634">715 <!ENTITY udev-lfs-md5 "8a3b921e3a28d36ac46d17137d920268"> 716 716 <!ENTITY udev-lfs-home " "> 717 717 … … 727 727 <!ENTITY util-linux-fin-sbu "0.5 SBU"> 728 728 729 <!ENTITY vim-version "9.0.167 1">729 <!ENTITY vim-version "9.0.1677"> 730 730 <!-- <!ENTITY vim-majmin "90"> --> 731 731 <!ENTITY vim-docdir "vim/vim90"> 732 <!ENTITY vim-size "16,6 69KB">732 <!ENTITY vim-size "16,670 KB"> 733 733 <!--<!ENTITY vim-url "https://github.com/vim/vim/archive/v&vim-version;/vim-&vim-version;.tar.gz">--> 734 734 <!ENTITY vim-url "&anduin-sources;/vim-&vim-version;.tar.gz"> 735 <!ENTITY vim-md5 " 243fce49db0dd93af7c2b12163f47fcf">735 <!ENTITY vim-md5 "65e6b09ef0628a2d8eba79f1d1d5a564"> 736 736 <!ENTITY vim-home "https://www.vim.org"> 737 737 <!ENTITY vim-fin-du "235 MB"> 738 738 <!ENTITY vim-fin-sbu "2.4 SBU"> 739 739 740 <!ENTITY wheel-version "0.4 0.0">740 <!ENTITY wheel-version "0.41.1"> 741 741 <!ENTITY wheel-size "96 KB"> 742 742 <!ENTITY wheel-url "&pypi-src;/w/wheel/wheel-&wheel-version;.tar.gz"> 743 <!ENTITY wheel-md5 " ec5004c46d1905da98bb5bc1a10ddd21">743 <!ENTITY wheel-md5 "181cb3f4d8ed340c904a0e1c416d341d"> 744 744 <!ENTITY wheel-home "&pypi-home;/wheel/"> 745 745 <!ENTITY wheel-fin-du "1.3 MB"> … … 754 754 <!ENTITY xml-parser-fin-sbu "less than 0.1 SBU"> 755 755 756 <!ENTITY xz-version "5.4. 3">757 <!ENTITY xz-size "1,62 8KB">756 <!ENTITY xz-version "5.4.4"> 757 <!ENTITY xz-size "1,623 KB"> 758 758 <!ENTITY xz-url "https://tukaani.org/xz/xz-&xz-version;.tar.xz"> 759 <!ENTITY xz-md5 " 0bc7220eab3cc37018e0f1965b6ce75a">759 <!ENTITY xz-md5 "d83d6f64a64f88759e312b8a38c3add6"> 760 760 <!ENTITY xz-home "https://tukaani.org/xz"> 761 761 <!ENTITY xz-tmp-du "20 MB"> -
prologue/why.xml
r428ca6c r2882861 372 372 needed by various packages (notably, Shadow) for hashing passwords. 373 373 It replaces the obsolete 374 <systemitem class='library'>libcrypt</systemitem> impl mentation in374 <systemitem class='library'>libcrypt</systemitem> implementation in 375 375 Glibc.</para> 376 376 </listitem> -
stylesheets/lfs-xsl/lfs.css
r428ca6c r2882861 266 266 } 267 267 268 span.blue { 269 color: #2ac; 270 } 268 271 269 272 /* Index */ -
udev-lfs/55-lfs.rules
r428ca6c r2882861 7 7 KERNEL=="rtc", ACTION=="add", MODE="0644", RUN+="/etc/rc.d/init.d/setclock start" 8 8 9 # Comms devices10 11 KERNEL=="ippp[0-9]*", GROUP="dialout"12 KERNEL=="isdn[0-9]*", GROUP="dialout"13 KERNEL=="isdnctrl[0-9]*", GROUP="dialout"14 KERNEL=="dcbri[0-9]*", GROUP="dialout" -
udev-lfs/55-lfs.txt
r428ca6c r2882861 8 8 By default, Udev creates device nodes with UID 0, GID 0, and permissions 0660. 9 9 10 ISDN-related devices should be owned by the 'dialout' group, hence the following 11 rule (and similar): 12 13 KERNEL=="ippp[0-9]*", GROUP="dialout" 14 15 The RTC-related rules cause the setclock bootscript to be run as soon as the 10 The RTC-related rule causes the setclock bootscript to be run as soon as the 16 11 RTC device has been created by Udev, meaning that times in log files, for 17 12 example, are as accurate as possible as quickly as possible. 18 13 19 A final word of caution: Any particular rule must be written on one line, and a20 comma must separate each part of the rule.14 A word of caution: A comma must separate each part of the rule. A rule can span 15 multiple lines if the newline is escaped by a backslash. -
udev-lfs/ChangeLog
r428ca6c r2882861 1 2023-07-28 <bdubbs@linuxfromscratch.org> 2 * Remove obsolete 83-cdrom-symlinks.rules and 81-cdrom.rules 3 * Remove references to obsolete ISDN devices 4 1 5 2017-10-27 <bdubbs@linuxfromscratch.org> 2 6 * 83-cdrom-symlinks.rules: Adjust test for writable root directory. -
udev-lfs/Makefile.lfs
r428ca6c r2882861 4 4 # vim: tabstop=3 5 5 6 VERSION=20 1711026 VERSION=20230728 7 7 SHELL=/bin/bash 8 8 … … 17 17 18 18 install: 19 @mkdir -pv $(DESTDIR)/ lib/udev/rules.d \19 @mkdir -pv $(DESTDIR)/usr/lib/udev/rules.d \ 20 20 $(DESTDIR)/etc/udev/rules.d \ 21 21 $(DESTDIR)/usr/share/doc/udev-$(VERSION)/lfs … … 23 23 # Copy rules 24 24 @cp -v udev-lfs-$(VERSION)/*.rules $(DESTDIR)/etc/udev/rules.d 25 @cp -v udev-lfs-$(VERSION)/*_rules \ 26 udev-lfs-$(VERSION)/init-net-rules.sh \ 27 udev-lfs-$(VERSION)/rule_generator.functions $(DESTDIR)/lib/udev 25 @cp -v udev-lfs-$(VERSION)/init-net-rules.sh \ 26 udev-lfs-$(VERSION)/rule_generator.functions $(DESTDIR)/usr/lib/udev 28 27 29 28 # Copy documentation -
udev-lfs/README
r428ca6c r2882861 15 15 contrib - Useful rules from debian 16 16 contrib/debian 17 contrib/debian/83-cdrom-symlinks.rules18 17 contrib/debian/write_cd_aliases 19 contrib/debian/81-cdrom.rules20 18 21 19 55-lfs.rules - LFS custom rules
Note:
See TracChangeset
for help on using the changeset viewer.