Commit Graph

77 Commits

Author SHA1 Message Date
Bruce Dubbs
0c06e1e048 Typo 2024-02-20 14:54:50 -06:00
Pierre Labastie
360fdfca9c Fix punctuation in quotes, and quote signs
- period and comma inside quotes
- " to <quote>
- some " to <literal> when it is a var value
2024-01-26 18:28:53 +01:00
Xi Ruoyao
ea93c117f2
treewide: Use <ulink> instead of <filename> for man pages
"gcc(1)" is really not a file name.

Use <ulink> and link to the online man page on
https://man.archlinux.org/ so the user can refer to the man pages more
easily.

The change is done via a sed command and long lines are wrapped
manually.
2024-01-26 01:59:06 +08:00
Xi Ruoyao
24d03240bf
kernel: Regenerate kernel config with 6.7.1
No content change!
2024-01-22 03:21:08 +08:00
Xi Ruoyao
d11a0816d4
Some missed ISO-8859-1 -> UTF-8 changes 2024-01-20 02:07:45 +08:00
Pierre Labastie
7152faa5fa Change all xml files to utf-8 encoding 2024-01-18 20:53:23 +01:00
Pierre Labastie
811d59db8b Nitpick on format
- 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
2024-01-11 13:52:28 +01:00
Xi Ruoyao
7cce808a46
kernel-config: The hot key for choices is just the first character
Stupid inconsistency...
2023-12-06 17:26:10 +08:00
Xi Ruoyao
31a9142d10
kernel-config: Sync fixes from BLFS 2023-12-06 01:32:48 +08:00
Xi Ruoyao
981b9fa6a1
kernel-config: Drop FB
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!!
2023-12-05 14:58:29 +08:00
Xi Ruoyao
34774f4986
kernel-config: Regenerate with Linux 6.6.3
Only a trivial change (renaming CONFIG_FB).
2023-12-05 14:34:30 +08:00
Bruce Dubbs
3864d235cf Package updates and misc upates/typos.
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.$
2023-09-02 08:54:55 -05:00
Xi Ruoyao
1ebfa8e664
pdf: Allow breaking pages in version-check and kernel configuration
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
2023-09-02 14:17:17 +08:00
Xi Ruoyao
b59c9e9155
grub configuration: The instructions should be skipped for UEFI, but the text not 2023-08-21 11:12:09 +08:00
Xi Ruoyao
93ec8b32bf
grub cfg: Add an explanation for the insmod commands 2023-08-14 09:16:49 +08:00
Xi Ruoyao
9cca53dcac
kernel: Fix move-if-changed logic and regenerate with 6.4.8 2023-08-08 11:12:36 +08:00
Bruce Dubbs
67ca5ef3f7 Add insmod part_gpt to example grub.cfg 2023-08-03 13:13:16 -05:00
Xi Ruoyao
c7c6c1548a
kernel: systemd: FW_LOADER_USER_HELPER should be n, not y 2023-08-02 19:06:09 +08:00
Xi Ruoyao
3d99820133
kernel: Fix a typo 2023-08-01 09:20:08 +08:00
Xi Ruoyao
57499d5909
kernel: Separate toplevel menus in rendering 2023-08-01 09:17:05 +08:00
Xi Ruoyao
70bf5512d9
kernel: Use new kernel configuration rendering method
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.
2023-08-01 00:08:56 +08:00
Bruce Dubbs
2cf01ab702 Add some color to kernel options 2023-07-31 01:09:24 -05:00
Bruce Dubbs
83e616f79e Reformat kernel configuuration options.
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.
2023-07-28 23:14:10 -05:00
Xi Ruoyao
44674e4c92
sysv: Mount cgroup fs for memory pressure information early
Prepare for systemd-254 update.  See #5293 for details.
2023-07-28 19:59:01 +08:00
Xi Ruoyao
0d824c5280
kernel: Simplify doc installation 2023-07-22 18:36:33 +08:00
Xi Ruoyao
b177415824
Remove references to eudev 2023-07-18 13:07:01 +08:00
Pierre Labastie
31e62b94b6 Typo 2023-07-15 15:26:11 +02:00
Xi Ruoyao
f976691d53
kernel: Remove CONFIG_SYSFS_DEPRECATED
It's already removed from Linux 6.4.

Link: https://git.kernel.org/torvalds/linux/c/721da5cee9d4
2023-07-11 07:44:39 +08:00
Pierre Labastie
6256b16baf Kernel: IPV6 only appears if TCP/IP selected
Report by wen zhang.
Also fix formatting.
2023-06-07 08:25:45 +02:00
Xi Ruoyao
d186249a44
kernel: [revision="systemd"] Disable CONFIG_PSI_DEFAULT_DISABLED
systemd-oomd needs PSI so it does not make sense to disable it by
default.
2023-03-21 15:38:56 +08:00
Bruce Dubbs
c6fa6912e1 Update a link 2023-03-11 23:11:16 -06:00
Douglas R. Reno
681e11a0b6 Typos from rhubarbpieguy 2023-03-11 19:04:09 -06:00
Xi Ruoyao
57ccb5b97f
kernel: Fix a typo
"parition".
2023-03-11 22:05:26 +08:00
Bruce Dubbs
d94339982d Add kernel configureation introduction.
Add an <important> note as an introduction to configuring the kernel.
2023-03-10 18:46:52 -06:00
Xi Ruoyao
0bf56aadbd
kernel: Some adjustments
- 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.
2023-03-10 18:53:48 +08:00
Xi Ruoyao
1026270951
Revert "kernel: Use <caution> for make defconfig and..."
This reverts commit d0a9bda4e6.

"Don't change anything enabled by defconfig" seems too strong.
2023-03-10 18:53:48 +08:00
Xi Ruoyao
34f1344072
Revert "Suggest make localmodconfig for kernel"
This reverts commit de679165f9.

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.
2023-03-10 18:53:48 +08:00
Pierre Labastie
de679165f9 Suggest make localmodconfig for kernel
This is less generic than defconfig, and you can then tell
not to tweak options...
2023-03-08 22:27:34 +01:00
Xi Ruoyao
d0a9bda4e6
kernel: Use <caution> for make defconfig and...
tell people not to messing the options enabled by defconfig up.

Yes, I messed them up and shot my own foot.
2023-03-09 01:14:15 +08:00
Xi Ruoyao
e0fb1098a4
kernel: Recommend to disable CONFIG_EXPERT
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.
2023-03-08 11:25:38 +08:00
Pierre Labastie
c7f74cdbb6 Typo 2023-01-02 08:02:24 +01:00
David Bryant
8190ca0715 Clarify some things, correct grammatical & idiomatic errors. 2023-01-01 17:15:09 -06:00
Xi Ruoyao
f427ba2336
kernel: adjust the instruction for mounting /boot
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).
2022-09-25 15:16:23 +08:00
Xi Ruoyao
dbab2a4519
kernel: add CONFIG_FRAMEBUFFER_CONSOLE, and mention CONFIG_DRM_FBDEV_EMULATION
Is there anyone using a blind system with serial console now? :)
2022-09-22 12:34:27 +08:00
Bruce Dubbs
16cd09633e Adjust instructions for /dev/shm when creating virtual filesystems.
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.
2022-09-20 12:20:58 -05:00
Xi Ruoyao
e5aa02fe17
kernel: enable ASLR and SSP
It does not make too much sense to protect the userspace with PIE+ASLR
and SSP but leave the kernel alone...
2022-09-11 12:09:18 +08:00
Xi Ruoyao
a710d35e1f
Revert "linux kernel: disable CONFIG_USERFAULTFD to avoid CVE-2022-2590 for now"
This reverts commit 098f4de336.

CVE-2022-2590 is fixed in Linux >= 5.19.6.
2022-09-11 12:01:31 +08:00
Xi Ruoyao
5353a1948f
grub: add a note about filesystem UUID and partition UUID usage
Text only change.
2022-08-26 20:30:29 +08:00
Xi Ruoyao
feed7fea36
linux kernel: reword description for CONFIG_X86_X2APIC 2022-08-25 01:05:55 +08:00
Xi Ruoyao
098f4de336
linux kernel: disable CONFIG_USERFAULTFD to avoid CVE-2022-2590 for now 2022-08-24 16:42:49 +08:00