Commit Graph

110 Commits

Author SHA1 Message Date
Xi Ruoyao
7e06dddcf6
loongarch: grub: Don't insmod all_video
Align with the BLFS change to avoid display corruption issue in QEMU.
2024-08-25 01:02:27 +08:00
Xi Ruoyao
993a7896b3
Merge remote-tracking branch 'origin/trunk' into xry111/loongarch 2024-08-25 01:01:43 +08:00
Xi Ruoyao
1e2c41871f
kernel: Really fix missing revision attribute 2024-08-13 16:52:16 +08:00
Thomas Trepl
82711db81d Fix missing attribute 'revision' 2024-08-13 09:16:25 +02:00
Xi Ruoyao
93bffa3abf
Regenerate kernel configuration with Linux 6.10.2 source
Now all DRM drivers are entries in the DRM submenu.
2024-08-09 15:49:05 +08:00
Xi Ruoyao
479d3bcb90
Merge remote-tracking branch 'origin/trunk' into xry111/loongarch 2024-08-02 17:44:22 +08:00
Xi Ruoyao
201aa93863
Move punctuation/comma into quotes for <xref>s
We are using American rule for punctuation/comma vs. quotes.  We've
fixed most cases but not <xref>s.
2024-06-22 11:43:31 +08:00
Xi Ruoyao
8630ec385a
[systemd] Disable RT_GROUP_SCHED
Link: https://github.com/systemd/systemd/issues/13781#issuecomment-549164383
2024-05-30 19:35:35 +08:00
Xi Ruoyao
7c1451f5b1
loongarch: grub: Update references to BLFS
Now BLFS documents how to install only the GRUB components missing in
LFS, take the advantage.

Also if efibootmgr is available, it's easier to just run grub-install
w/o the --removable option instead of manually input some nasty
efibootmgr commands.

(cherry picked from commit c6e4dbaee6)
2024-05-14 12:34:00 +08:00
Xi Ruoyao
c219b8b978
loongarch: Revert "kernel: Apply an upstream fix for Binutils 2.42"
This reverts commit 2a71a83b9a.

The fix is included in linux >= 6.8.
2024-04-08 16:31:42 +08:00
Xi Ruoyao
4203c7073b
Merge remote-tracking branch 'origin/trunk' into xry111/loongarch 2024-04-07 21:04:35 +08:00
Xi Ruoyao
2f115238af
kernel: Regenerate kernel config with 6.8.2
No real change.
2024-04-07 21:04:05 +08:00
Xi Ruoyao
0fd7f40bc7
kernel: No longer disable CONFIG_AUDIT for systemd
The incompatibilty between systemd and CONFIG_AUDIT has been fixed since
Linux kernel 3.14, thus there is no reason to disable it on LFS.  And we
are referring to pam_loginuid.so from /etc/pam.d in BLFS, which is
completely useless if CONFIG_AUDIT is disabled.

Link: https://github.com/systemd/systemd/commit/db999e0f923c
2024-03-02 17:38:57 +08:00
Xi Ruoyao
ec36facb42
Merge remote-tracking branch 'origin/trunk' into xry111/loongarch 2024-02-27 23:39:33 +08:00
Bruce Dubbs
4e486a2efc
Typo
(cherry picked from commit 0c06e1e048)
2024-02-27 20:48:40 +08:00
Xi Ruoyao
2a71a83b9a
loongarch: kernel: Apply an upstream fix for Binutils 2.42
Though the commit message mentions "recent Binutils and GCC trunk", I'm
99.99% sure this is only related to Binutils since the troubling
R_LARCH_RELAX/R_LARCH_ALIGN is appearing in some object files assembled
from .S files.

IMO this commit should be backported to even 6.1, but Huacai always
believe people using the latest Binutils should use the latest kernel.
And it seems Linux 6.8 won't catch LFS 12.1 package freeze, leaving me
no choice but backporting this downstream.
2024-02-07 05:16:58 +08:00
Xi Ruoyao
33a9421975
Merge remote-tracking branch 'origin/trunk' into xry111/loongarch 2024-02-01 23:55:18 +08: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
289f2849be
Merge remote-tracking branch 'origin/trunk' into xry111/loongarch 2024-01-22 14:42:55 +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
9ef0338a7b
Revert "loongarch: kernel: Disable relaxation for building a module"
This reverts commit c4b61b12df.

These lines has been already added into the kernel since 6.6.
2023-12-06 18:30:00 +08:00
Xi Ruoyao
db880b9629
Merge remote-tracking branch 'origin/trunk' into xry111/loongarch 2023-12-06 17:34:40 +08: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
Xi Ruoyao
ed431efc7d
Merge remote-tracking branch 'origin/trunk' into xry111/loongarch 2023-09-19 15:14:59 +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
fc4ba57b4a
Merge remote-tracking branch 'origin/trunk' into xry111/loongarch 2023-08-25 22:13:05 +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
d6f618bcb2
Merge remote-tracking branch 'origin/trunk' into xry111/loongarch 2023-08-14 17:09:43 +08:00
Xi Ruoyao
93ec8b32bf
grub cfg: Add an explanation for the insmod commands 2023-08-14 09:16:49 +08:00
Xi Ruoyao
11876e8d0c
loongarch: kernel: Add EFI_ZBOOT (again)
Forgot to sync this when I merged trunk.
2023-08-10 13:49:11 +08:00
Xi Ruoyao
c4b61b12df
loongarch: kernel: Disable relaxation for building a module
Link: https://git.kernel.org/torvalds/c/03c53eb90c0c
2023-08-10 13:49:10 +08:00
Xi Ruoyao
8a243b5e21
loongarch: Adapt kernel configuration 2023-08-08 12:27:43 +08:00
Xi Ruoyao
2882861ba6
Merge remote-tracking branch 'origin/trunk' into xry111/loongarch 2023-08-08 11:16:54 +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