Commit Graph

8780 Commits

Author SHA1 Message Date
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
Bruce Dubbs
25cd02b9db Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2023-03-09 19:51:42 -06:00
Bruce Dubbs
6e4dfa7528 Tweak kernel version in host requirements 2023-03-09 19:51:31 -06: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
835e40ce16
Adjustments for /dev/pts
1. Declare UNIX98 PTY requirement in host system requirements and check
   it in the script.  All desktop or server distros should have it now,
   but let's stop anyone from building on a embedded distro w/o UNIX98
   PTY early...
2. Use Expect test suite as a guard against mishandled $LFS/dev/pts.
3. No need to test the basic function of Expect in Binutils anymore
   because if ($LFS)/dev/pts is not good, the Expect test suite would
   have failed.
2023-03-08 11:25:48 +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
Xi Ruoyao
271c856538
hostreqs: Use &min-kernel; for kernel version 2023-03-05 15:26:44 +08:00
Xi Ruoyao
e39d2aa9df
hostreqs: Remove commented out line 2023-03-05 15:22:24 +08:00
Xi Ruoyao
2efe1e8190
systemd: Document systemd-ac-power
It has been moved to /usr/bin for general use by upstream, so list it in
programs.
2023-03-05 15:20:24 +08:00
Xi Ruoyao
82d6a570b4
libelf: Remove run-native-test failure
It's fixed in 0.189.

(cherry picked from commit 4fd9716e15)
2023-03-05 13:39:23 +08:00
Xi Ruoyao
e2469c5a80
changelog: Mark linux-6.2.2 a security update 2023-03-05 13:01:04 +08:00
Xi Ruoyao
f54b8be70f
dependencies: List bzip2, xz, and zlib as libelf dependencies
libelf.so links to libbz2.so.1.0, liblzma.so.5, and libz.so.1.  libz is
really used, but to me liblzma and libbz2 are "unneeded dependencies":
the building system apparently thinks they are needed by zstd but
actually not.  I don't want to "fix the upstream" so just list them here
anyway.
2023-03-05 11:09:11 +08:00
Xi Ruoyao
07b44dd348
make: Run test suite as unprivileged user 2023-03-05 10:57:09 +08:00
Xi Ruoyao
770e789527
Package updates
- Update to systemd-253
- Update to bc-6.3.1
- Update to linux-6.2.2
- Update to procps-ng-4.0.3
- Update to iproute2-6.2.0
- Update to meson-1.0.1
- Update to make-4.4.1
- Update to elfutils-0.189
2023-03-05 10:57:09 +08:00
Xi Ruoyao
b789d88195
hostreq: Minor script adjustment
- Remove an extra whitespace breaking shebang (though our instruction
  does not use the shebang).
- Adjust the regex to allow several letters after the version number,
  and match grep version to the text.
- Raise Coreutils to 7.0 (for the host requirement script itself).  It
  was released in 2008 so I don't think it's a problem.
- Add a colon after the text "Compiler check" to match "Aliases:".
- Use grep -o instead of sed to make kernel version check simpler.
2023-03-05 10:01:40 +08:00
Bruce Dubbs
73e2b9c189 Add a changelog entry. 2023-03-04 16:29:00 -06:00
Bruce Dubbs
140e9a445d q 2023-03-04 16:26:31 -06:00
Xi Ruoyao
779b798e5f
whatsnew: Comment out all entries for a new release 2023-03-02 16:00:48 +08:00
Xi Ruoyao
55a40437f1
e2fsprogs: Update test failure info
Document the m_assume_storage_prezeroed failure.  The
u_direct_io failure is fixed by
https://github.com/tytso/e2fsprogs/commit/4cda25453f85.
2023-03-02 11:08:37 +08:00
Bruce Dubbs
e06bdbe2be Update changelog after 11.3 release 2023-02-28 10:16:07 -06:00
Xi Ruoyao
9547b2e7f8
hostreqs: Remove "required by udev" for kernel
We don't run the newly built udev daemon before rebooting to LFS kernel.
2023-02-28 14:59:19 +08:00
Bruce Dubbs
e37bc9c774 Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2023-02-27 09:46:55 -06:00
Bruce Dubbs
0ba2ee5a1f Bump minimum gcc requirement to 5.1 2023-02-27 09:46:44 -06:00
Xi Ruoyao
e122d24da1
changelog: Fix a ticket URL 2023-02-22 16:40:42 +08:00
Bruce Dubbs
ea601535b8 Uncomment glibc in whatsnew. 2023-02-19 12:48:20 -06:00
Pierre Labastie
b9173ee06f Less can use pcre2 2023-02-19 15:12:26 +01:00
Pierre Labastie
c68d57a81a Finish adding revision attributes in dependencies
This was half done. Furthermore, dbus had completely disappeared.
Also fix an url to sphinx, that is now in BLFS.
2023-02-19 14:38:58 +01:00
Xi Ruoyao
4049a4b6c8
e2fsprogs: Add configuration section about mke2fs.conf 2023-02-19 20:42:33 +08:00
Pierre Labastie
dd8293bfa9 Popt is not a dependency of Pkg-config
It was removed eleven years ago from the book. Pkg-config itself removed
it at version 0.27.

Prompted by "__mint" on #lfs-support.
2023-02-19 11:37:49 +01:00
Xi Ruoyao
3608d06aa8
grub: Add upstream fixes patch for unrecognized ext2/3/4 features (#5219) 2023-02-19 14:30:57 +08:00
Xi Ruoyao
d94d606048
packages: Mention Glibc stable branch in its package info
See the discussion at
https://sourceware.org/pipermail/libc-alpha/2023-February/145672.html.
2023-02-17 15:38:16 +08:00
Xi Ruoyao
ce779ec8c1
configuration: Use [DHCPv4] instead of [DHCP] for systemd .network file
The upstream has splitted [DHCP] into [DHCPv4] and [DHCPv6].  While we
are only enabling DHCPv4 in the example setting (in most scenario DHCPv6
is not strictly needed as SLAAC is sufficient), just use [DHCPv4]
instead of [DHCP].
2023-02-17 15:10:35 +08:00
Bruce Dubbs
e4a9ca459e Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2023-02-13 12:11:47 -06:00
Bruce Dubbs
37a4d447b9 Update to man-pages-6.03. 2023-02-13 12:11:36 -06:00
Douglas R. Reno
d649720e1f Update stats for dbus, systemd, markupsafe, and jinja2 2023-02-12 19:41:03 -06:00
Bruce Dubbs
4990283f08 Typo 2023-02-12 14:19:14 -06:00
Bruce Dubbs
7c92d6dd82 Update build times an sizes.
This update changes the default number of cores used to build
packages to 4.  A section is also added to host requirements
to recommend a minumum number of cores and memory size.
2023-02-12 13:43:45 -06:00
Bruce Dubbs
c6550e11c8 Package updates.
Update to iana-etc-20230202.
Update to zstd-1.5.4.
Update to Python3-3.11.2.
Update to e2fsprogs-1.47.0.
Update to dbus-1.14.6.
Update to linux-6.1.11.
Update to libcap-2.67.
Update to bc-6.2.4.
2023-02-11 16:11:35 -06:00
Bruce Dubbs
583156ac09 Combine tcl documentation instructions together. 2023-02-08 20:15:02 -06:00
Xi Ruoyao
ce536f9c9c
openssl: Fix a command to view man page
"ssl.7ssl" is in man7, not man3.
2023-02-08 10:29:24 +08:00
Douglas R. Reno
74af59de3c Package Updates
Update to OpenSSL-3.0.8 (Security Update)
Update to e2fsprogs-1.46.6 (Security Update)
2023-02-07 15:41:42 -06:00
Xi Ruoyao
f405318419
glibc: Note the sed for printf is a security fix
And add a comment about the difference from upstream commit.
2023-02-06 23:59:26 +08:00
Douglas R. Reno
df6b08de57 Repackage the systemd man pages tarball to have a leading directory. 2023-02-06 09:50:56 -06:00
Xi Ruoyao
7f8335ae57
dependencies: List Jansson as Binutils external dependency
Both ld.bfd and ld.gold can use Jansson to validate the value of
--package-metadata=.
2023-02-05 23:34:02 +08:00
Xi Ruoyao
fcadbf41da
changelog: Add entries for recent changes 2023-02-03 15:44:13 +08:00
Xi Ruoyao
0f4ec3428c
libffi: Remove --disable-exec-static-tramp
It's not needed now since gjs-1.74 supports static trampoline.
2023-02-03 05:48:31 +08:00
Xi Ruoyao
f7b295dee8
libelf: Update test status
While the previously documented test failure is resolved by
binutils-2.40, a new test failure has shown up.
2023-02-03 05:44:28 +08:00
Xi Ruoyao
5f8b7fe1ab
bash: Add the explanation of test output, and document a known failure 2023-02-03 01:33:10 +08:00
Xi Ruoyao
19f4e4d6ea
mpfr: Fix a test case
Normally we don't fix test, but see the comment added into the XML file
for the rationale.

Update the number of tests by the way.
2023-02-02 21:04:40 +08:00