aboutsummaryrefslogtreecommitdiffstats
path: root/chapter10
Commit message (Collapse)AuthorAgeFilesLines
* Some missed ISO-8859-1 -> UTF-8 changesXi Ruoyao2024-01-201-1/+1
|
* Change all xml files to utf-8 encodingPierre Labastie2024-01-1810-10/+10
|
* Nitpick on formatPierre Labastie2024-01-111-1/+1
| | | | | | | - according to our typography, referring to a manual page should be <filename>page(x)</filename> - don't enclose punctuation into quotes - use <option> for option
* kernel-config: The hot key for choices is just the first characterXi Ruoyao2023-12-062-2/+5
| | | | Stupid inconsistency...
* kernel-config: Sync fixes from BLFSXi Ruoyao2023-12-063-3/+10
|
* kernel-config: Drop FBXi Ruoyao2023-12-055-20/+43
| | | | | | | | | In Linux 6.6 DRM_FBDEV_EMULATION no longer depends on FB, so we no longer need to select FB (tested in a QEMU VM). But if DRM is selected, we must select both DRM_FBDEV_EMULATION and FRAMEBUFFER_CONSOLE or we'll see only blank screen. And now FRAMEBUFFER_CONSOLE is not selected by default, be warned!!
* kernel-config: Regenerate with Linux 6.6.3Xi Ruoyao2023-12-053-3/+3
| | | | Only a trivial change (renaming CONFIG_FB).
* Package updates and misc upates/typos.Bruce Dubbs2023-09-021-2/+2
| | | | | | | | | | | | | | | | | | Update to vim-1837.$ Update to zlib-1.3.$ Update to wheel-0.41.2 (Python Module).$ Update to util-linux-2.39.2.$ Update to sysvinit-3.08.$ Update to shadow-4.14.0.$ Update to Python-3.11.5.$ Update to procps-ng-4.0.4.$ Update to pkgconf-2.0.2.$ Update to mpfr-4.2.1.$ Update to kbd-2.6.2.$ Update to gzip-1.13.$ Update to coreutils-9.4.$ Specify the 'nobody-group' for systemd.$ Remove unused usb group.$
* pdf: Allow breaking pages in version-check and kernel configurationXi Ruoyao2023-09-021-0/+1
| | | | | | | | | They are very long <screen> or <note>. By default they are attributed "keep-together.within-column = always", override it to allow line break. Fixes #5336. Link: http://www.sagehill.net/docbookxsl/PageBreaking.html
* grub configuration: The instructions should be skipped for UEFI, but the ↵Xi Ruoyao2023-08-211-2/+4
| | | | text not
* grub cfg: Add an explanation for the insmod commandsXi Ruoyao2023-08-141-0/+18
|
* kernel: Fix move-if-changed logic and regenerate with 6.4.8Xi Ruoyao2023-08-082-3/+7
|
* Add insmod part_gpt to example grub.cfgBruce Dubbs2023-08-031-0/+1
|
* kernel: systemd: FW_LOADER_USER_HELPER should be n, not yXi Ruoyao2023-08-022-2/+2
|
* kernel: Fix a typoXi Ruoyao2023-08-011-1/+1
|
* kernel: Separate toplevel menus in renderingXi Ruoyao2023-08-014-1/+15
|
* kernel: Use new kernel configuration rendering methodXi Ruoyao2023-08-0116-92/+520
| | | | | | Import kernel-config infrastructure from BLFS and use it for kernel configuration. Note that kernel-config.py is slightly different from BLFS: we need role="nodump" for <screen> here.
* Add some color to kernel optionsBruce Dubbs2023-07-311-40/+40
|
* Reformat kernel configuuration options.Bruce Dubbs2023-07-281-22/+36
| | | | | | | | | | A couple of the newer kernel options overflow past 80 columns on the kernel page. It's not optimal, but insert newlines for these options. Also reorder the options to to same ordeer as they appear in menuconfig and add some blank lines between major setions for clarity.
* sysv: Mount cgroup fs for memory pressure information earlyXi Ruoyao2023-07-282-11/+17
| | | | Prepare for systemd-254 update. See #5293 for details.
* kernel: Simplify doc installationXi Ruoyao2023-07-221-2/+1
|
* Remove references to eudevXi Ruoyao2023-07-181-2/+2
|
* TypoPierre Labastie2023-07-151-1/+1
|
* kernel: Remove CONFIG_SYSFS_DEPRECATEDXi Ruoyao2023-07-111-1/+0
| | | | | | It's already removed from Linux 6.4. Link: https://git.kernel.org/torvalds/linux/c/721da5cee9d4
* Kernel: IPV6 only appears if TCP/IP selectedPierre Labastie2023-06-071-16/+17
| | | | | Report by wen zhang. Also fix formatting.
* kernel: [revision="systemd"] Disable CONFIG_PSI_DEFAULT_DISABLEDXi Ruoyao2023-03-211-0/+1
| | | | | systemd-oomd needs PSI so it does not make sense to disable it by default.
* Update a linkBruce Dubbs2023-03-111-1/+2
|
* Typos from rhubarbpieguyDouglas R. Reno2023-03-111-3/+3
|
* kernel: Fix a typoXi Ruoyao2023-03-111-1/+1
| | | | "parition".
* Add kernel configureation introduction.Bruce Dubbs2023-03-101-4/+31
| | | | Add an <important> note as an introduction to configuring the kernel.
* kernel: Some adjustmentsXi Ruoyao2023-03-101-9/+23
| | | | | | | | | - Mention NVME. - Mention PAE (CONFIG_HIGHMEM64G) for 32-bit. - Don't repeat the link to BLFS kernel config index twice on SysV. And don't display the long URL for it. - Emphasis that BLFS UEFI kernel config is needed even if you'll use the UEFI bootloader of the host distro.
* Revert "kernel: Use <caution> for make defconfig and..."Xi Ruoyao2023-03-101-7/+1
| | | | | | This reverts commit d0a9bda4e696f4be02499b87c2bd6d8f40a3d4a3. "Don't change anything enabled by defconfig" seems too strong.
* Revert "Suggest make localmodconfig for kernel"Xi Ruoyao2023-03-101-15/+5
| | | | | | | | | | | | | | | | | | This reverts commit de679165f9a63ce94202d356abbae2b9a3bff5c3. localmodconfig does not work very well. It can only *un*select things already enabled as modules if the module is not loaded by the host. It won't select anything new, nor unselect unneeded things already set to "y" instead of "m". Maybe you think we can copy .config from a "mainstream" distro (producing a highly modular kernel) and use "make localmodconfig", but when we tested it with a Debian host kernel config, the resulted kernel refuses to boot. "make allmodconfig && make localmodconfig" does not work well either: "allmodconfig" selects many things as y (these thing are not available as a module) but "localmodconfig" fails to unselect them.
* Suggest make localmodconfig for kernelPierre Labastie2023-03-081-5/+15
| | | | | This is less generic than defconfig, and you can then tell not to tweak options...
* kernel: Use <caution> for make defconfig and...Xi Ruoyao2023-03-091-1/+7
| | | | | | tell people not to messing the options enabled by defconfig up. Yes, I messed them up and shot my own foot.
* kernel: Recommend to disable CONFIG_EXPERTXi Ruoyao2023-03-081-2/+15
| | | | | | | | Let's not encourage users to try tricky things and shoot their own foot. For systemd, if CONFIG_EXPERT is disable, CONFIG_FHANDLE will be enabled automatically. So there is no need to enable CONFIG_EXPERT and then set CONFIG_FHANDLE manually.
* TypoPierre Labastie2023-01-021-1/+1
|
* Clarify some things, correct grammatical & idiomatic errors.David Bryant2023-01-011-16/+19
|
* kernel: adjust the instruction for mounting /bootXi Ruoyao2022-09-251-6/+12
| | | | | | LFS and the host may use different /boot configuration, so do not assume they'll share a /boot partition (two different /boot partition or only one with separate /boot are possible).
* kernel: add CONFIG_FRAMEBUFFER_CONSOLE, and mention CONFIG_DRM_FBDEV_EMULATIONXi Ruoyao2022-09-221-1/+19
| | | | Is there anyone using a blind system with serial console now? :)
* Adjust instructions for /dev/shm when creating virtual filesystems.Bruce Dubbs2022-09-201-0/+1
| | | | | | | | | | Some host create /dev/shm as a tmpfs. Some have is as a symlink to a location in another directory. This change handles both cases. The change to the sysV bootscripts now creates /dev/shm as a separate tmpfs from /run. This makes LFS sysV and systemd versions treat /dev/shm the same.
* kernel: enable ASLR and SSPXi Ruoyao2022-09-111-2/+31
| | | | | It does not make too much sense to protect the userspace with PIE+ASLR and SSP but leave the kernel alone...
* Revert "linux kernel: disable CONFIG_USERFAULTFD to avoid CVE-2022-2590 for now"Xi Ruoyao2022-09-111-12/+0
| | | | | | This reverts commit 098f4de3369ae0fc7d50fc6060b059eb5627de4e. CVE-2022-2590 is fixed in Linux >= 5.19.6.
* grub: add a note about filesystem UUID and partition UUID usageXi Ruoyao2022-08-261-0/+32
| | | | Text only change.
* linux kernel: reword description for CONFIG_X86_X2APICXi Ruoyao2022-08-251-4/+6
|
* linux kernel: disable CONFIG_USERFAULTFD to avoid CVE-2022-2590 for nowXi Ruoyao2022-08-241-0/+12
|
* linux kernel: enable CONFIG_X86_X2APICXi Ruoyao2022-08-241-0/+25
| | | | | | | | | | | It's recommended for CVE-2022-21233 mitigation. And, if the BIOS has enabled x2APIC but CONFIG_X86_X2APIC=n, the kernel will panic on boot. If x2APIC is disabled or not available, the kernel with CONFIG_X86_X2APIC=y can still boot normally. No need to tag anything again because interrupt handling cannot affect userspace.
* kernel: disable CONFIG_WERRORXi Ruoyao2022-05-091-0/+15
| | | | | | | | | | | | | | | | The help of this options says: "However, if you have a new compiler with ..., you may need to disable this config option in order to successfully build the kernel." As we are having state-of-art GCC-12, and Linux-5.18 release candidate FTBFS with GCC-12 and CONFIG_WERROR=y [1], and <rant>the kernel developers are making stupid and meaningless discussion instead of fixing the building failure</rant> [2], I don't think enabling this option makes any sense building LFS. [1]:https://lkml.org/lkml/2022/4/14/1676 [2]:https://lkml.org/lkml/2022/4/21/254
* decorate the references to root and lfs userXi Ruoyao2022-04-211-2/+2
| | | | | The references already correctly decorated are not changed because "if it's not broken don't fix it".
* Fix kernel config to mount the devtmpfs before bootPierre Labastie2022-03-221-10/+21
| | | | Also make the order and the layout the same as in menu.