aboutsummaryrefslogtreecommitdiffstats
path: root/chapter10
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Kernel (systemd): Add CONFIG_MEMCG as required (systemd-oomd).Douglas R. Reno2022-02-271-1/+2
|
* Do a minor reword in networkd.xml and move Firmware Drivers to theDouglas R. Reno2022-02-261-2/+2
| | | | Device Drivers section in the systemd kernel configuration.
* Fix CVE-2021-3997 in systemd.Douglas R. Reno2022-01-131-6/+0
|
* systemd: Add CONFIG_PSI to the kernel configuration to get systemd-oomdDouglas R. Reno2022-01-031-0/+2
| | | | | | | to work. Note that it just skips bringing systemd-oomd up when not present, and does not fail the startup process.
* systemd: correct the description of systemd#21896Xi Ruoyao2021-12-311-2/+3
|
* Package Updates:Douglas R. Reno2021-12-301-0/+11
| | | | | | | | | Update to systemd-250 (BLFS coming shortly) Update to meson-0.60.3 Kernel Configuration: Enable the framebuffer since it's disabled by default in Linux-5.15. Kernel Configuration: Add a note about CONFIG_DEFAULT_HOSTNAME on systemd.
* don't enable CONFIG_IKHEADERS building the kernelXi Ruoyao2021-11-231-1/+16
| | | | https://lists.linuxfromscratch.org/sympa/arc/lfs-support/2021-11/msg00014.html