- Timestamp:
- 02/08/2024 04:32:26 AM (5 months ago)
- Branches:
- xry111/clfs-ng
- Children:
- c7c614de
- Parents:
- e49e2ea (diff), 4816dc6 (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. - Location:
- chapter10
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter10/chapter10.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter10/fstab.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 53 53 <para>Replace <replaceable>sda</replaceable> to the name of the device 54 54 node for your disk where LFS is being built. For details on the six 55 fields in this file, see < command>man 5 fstab</command>.</para>55 fields in this file, see <ulink role='man' url='&man;fstab.5'>fstab(5)</ulink>.</para> 56 56 57 57 <para>Filesystems with MS-DOS or Windows origin (i.e. vfat, ntfs, smbfs, -
chapter10/grub.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 106 106 </note> 107 107 108 <!-- This does not seem to be true any more109 <note><para><application>grub-install</application> is a script and calls another110 program, grub-probe, that may fail with a message "cannot stat `/dev/root'".111 If so, create a temporary symbolic link from your root partition to /dev/root:</para>112 113 <screen role="nodump"><userinput>ln -sv /dev/sda2 /dev/root</userinput></screen>114 115 <para>The symbolic link will only be present until the system is rebooted.116 The link is only needed for the installation procedure.117 </para></note>118 -->119 108 </sect2> 120 109 -
chapter10/introduction.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ -
chapter10/kernel.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ … … 274 274 275 275 <varlistentry> 276 <term><parameter>Framebuffer Console support</parameter></term> 277 <listitem> 278 <para>This is needed to display the Linux console on a frame 279 buffer device. To allow the kernel to print debug messages at an 280 early boot stage, it shouldn't be built as a kernel module 281 unless an initramfs will be used. And, if 282 <option>CONFIG_DRM</option> (Direct Rendering Manager) is enabled, 283 it's likely <option>CONFIG_DRM_FBDEV_EMULATION</option> (Enable 284 legacy fbdev support for your modesetting driver) should be 285 enabled as well.</para> 276 <term> 277 <parameter> 278 Enable legacy fbdev support for your modesetting driver 279 </parameter> and 280 <parameter>Framebuffer Console support</parameter> 281 </term> 282 <listitem> 283 <para>These are needed to display the Linux console on a 284 GPU driven by a DRI (Direct Rendering Infrastructure) driver. 285 If <option>CONFIG_DRM</option> (Direct Rendering Manager) is 286 enabled, you should enable these two options as well or you'll see 287 a blank screen once the DRI driver is loaded.</para> 286 288 </listitem> 287 289 </varlistentry> … … 323 325 documentation in the <filename 324 326 class="directory">linux-&linux-version;/Documentation</filename> directory. 325 Also, <filename>modprobe.d(5)</filename> may be of interest.</para> 327 Also, <ulink role='man' url='&man;modprobe.d.5'>modprobe.d(5)</ulink> 328 may be of interest.</para> 326 329 327 330 <para>Unless module support has been disabled in the kernel configuration, -
chapter10/kernel/Makefile
re49e2ea r9e76c64 20 20 touch s-kernel-version 21 21 22 %.xml : %.toml kernel-config.py kernel_version.py kernel.version22 %.xml.tmp: %.toml kernel-config.py kernel_version.py kernel.version 23 23 ./kernel-config.py $(KERNEL_TREE) $< > $@ 24 25 %.xml: %.xml.tmp 26 mv $< $@ -
chapter10/kernel/highmem.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE note PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> -
chapter10/kernel/kernel-config.py
re49e2ea r9e76c64 186 186 elif line.startswith('endif'): 187 187 if_stack = if_stack[:-1] 188 189 if config_buf: 190 r += [parse_config(config_buf)] 191 188 192 return r 189 193 … … 248 252 for i0, val, i1, title, arrow, key, menu, comment in r: 249 253 rem = max_line 254 is_choice = (val == '(X)') 250 255 251 256 if val: … … 260 265 title = title[:rem - 3] + '...' 261 266 262 b = title.lstrip('YyMmNnHh') 267 b = title 268 if not is_choice: 269 b = b.lstrip('YyMmNnHh.' + "".join(map(str, range(10)))) 263 270 a = title[:len(title) - len(b)] 264 271 b0 = "<emphasis role='blue'>" + escape(b[0]) + "</emphasis>" … … 287 294 from jinja2 import Template 288 295 289 t = Template('''<?xml version="1.0" encoding=" ISO-8859-1"?>296 t = Template('''<?xml version="1.0" encoding="UTF-8"?> 290 297 <!DOCTYPE note PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 291 298 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> -
chapter10/kernel/kernel.version
re49e2ea r9e76c64 1 6. 4.81 6.7.1 -
chapter10/kernel/nvme.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE note PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> -
chapter10/kernel/systemd.toml
re49e2ea r9e76c64 14 14 DEVTMPFS='*' 15 15 DEVTMPFS_MOUNT='*' 16 FB='*' 17 FRAMEBUFFER_CONSOLE='*' 18 16 DRM=' *M' 19 17 AUDIT=' ' 20 18 NET='*' … … 29 27 30 28 revision='systemd' 29 30 [DRM_FBDEV_EMULATION] 31 value = ' *' 32 comment = 'If [DRM] is selected as * or M, this must be selected' 33 34 [FRAMEBUFFER_CONSOLE] 35 value = ' *' 36 comment = 'If [DRM] is selected as * or M, this must be selected' -
chapter10/kernel/systemd.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE note PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> … … 42 42 [*] <emphasis role='blue'>E</emphasis>xport DMI identification via sysfs to userspace [DMIID] 43 43 <emphasis role='blue'>G</emphasis>raphics support ---> 44 <emphasis role='blue'>F</emphasis>rame buffer Devices ---> 45 <*> <emphasis role='blue'>S</emphasis>upport for frame buffer devices ---> [FB] 44 < /*/M> <emphasis role='blue'>D</emphasis>irect Rendering Manager (XFree86 4.1.0 and higher DRI support) ---> 45 ... [DRM] 46 # If [DRM] is selected as * or M, this must be selected: 47 [ /*] <emphasis role='blue'>E</emphasis>nable legacy fbdev support for your modesetting driver 48 ... [DRM_FBDEV_EMULATION] 46 49 <emphasis role='blue'>C</emphasis>onsole display driver support ---> 47 [*] <emphasis role='blue'>F</emphasis>ramebuffer Console support [FRAMEBUFFER_CONSOLE] 50 # If [DRM] is selected as * or M, this must be selected: 51 [ /*] <emphasis role='blue'>F</emphasis>ramebuffer Console support [FRAMEBUFFER_CONSOLE] 48 52 49 53 <emphasis role='blue'>F</emphasis>ile systems ---> -
chapter10/kernel/sysv.toml
re49e2ea r9e76c64 13 13 DEVTMPFS='*' 14 14 DEVTMPFS_MOUNT='*' 15 FB='*' 16 FRAMEBUFFER_CONSOLE='*' 15 DRM=' *M' 17 16 18 17 revision='sysv' 18 19 [DRM_FBDEV_EMULATION] 20 value = ' *' 21 comment = 'If [DRM] is selected as * or M, this must be selected' 22 23 [FRAMEBUFFER_CONSOLE] 24 value = ' *' 25 comment = 'If [DRM] is selected as * or M, this must be selected' -
chapter10/kernel/sysv.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE note PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> … … 30 30 ... [DEVTMPFS_MOUNT] 31 31 <emphasis role='blue'>G</emphasis>raphics support ---> 32 <emphasis role='blue'>F</emphasis>rame buffer Devices ---> 33 <*> <emphasis role='blue'>S</emphasis>upport for frame buffer devices ---> [FB] 32 < /*/M> <emphasis role='blue'>D</emphasis>irect Rendering Manager (XFree86 4.1.0 and higher DRI support) ---> 33 ... [DRM] 34 # If [DRM] is selected as * or M, this must be selected: 35 [ /*] <emphasis role='blue'>E</emphasis>nable legacy fbdev support for your modesetting driver 36 ... [DRM_FBDEV_EMULATION] 34 37 <emphasis role='blue'>C</emphasis>onsole display driver support ---> 35 [*] <emphasis role='blue'>F</emphasis>ramebuffer Console support [FRAMEBUFFER_CONSOLE]</screen> 38 # If [DRM] is selected as * or M, this must be selected: 39 [ /*] <emphasis role='blue'>F</emphasis>ramebuffer Console support [FRAMEBUFFER_CONSOLE]</screen> -
chapter10/kernel/x2apic.xml
re49e2ea r9e76c64 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE note PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
Note:
See TracChangeset
for help on using the changeset viewer.