aboutsummaryrefslogtreecommitdiffstats
path: root/chapter10
Commit message (Collapse)AuthorAgeFilesLines
* 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
* clean up after condxml mergeXi Ruoyao2021-10-132-18/+2
|
* Add missing commaPierre Labastie2021-09-221-1/+1
|
* Remove all versiond entitiesPierre Labastie2021-09-222-7/+5
|
* kernel: CONFIG_SECCOMP is now in General architecture-dependent optionsXi Ruoyao2021-09-221-2/+2
|
* Remove spaces at end o lines - chapter10Pierre Labastie2021-09-072-7/+6
|
* grub cfg: replace hardcoded (and outdated) chapter numberXi Ruoyao2021-07-281-2/+3
|
* modify the reference to lfs-uefi hint to BLFS insteadXi Ruoyao2021-04-092-28/+13
|
* Update to systemd-247Douglas R. Reno2020-12-041-2/+1
| | | | | | | | Update to bc-3.2.3 Update to linux-5.9.12 Incorporate kernel changes from rhubarbpieguy git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12065 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Kernel: Restructure the General Setup and Filesystems menus on systemdDouglas R. Reno2020-11-121-2/+1
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12059 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Update kernel figures + explainPierre Labastie2020-08-291-24/+33
| | | | | | | how to launch the menu interface before telling what to tick in the menu... git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12039 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* TypoBruce Dubbs2020-08-201-1/+1
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12033 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* kernel: remove another extra empty lineXi Ruoyao2020-08-131-2/+1
| | | | | | | Strangely the empty line seems only in my local rendering. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12020 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* kernel: don't force frame pointer unwinder for sysv, and remove an empty ↵Xi Ruoyao2020-08-131-6/+2
| | | | | | line in sysd git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12019 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Finish review/update to cross2 bookBruce Dubbs2020-06-122-6/+5
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11931 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Rename package entities to be independent of chapter numberingThomas Trepl2020-06-111-2/+2
| | | | git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11921 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Initial commit of alternative cross LFSBruce Dubbs2020-06-075-0/+756
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11897 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689