Xi Ruoyao
a5da281cc8
Merge remote-tracking branch 'origin/trunk' into xry111/clfs-ng
2022-03-01 17:45:31 +08:00
Bruce Dubbs
fe09af0cf8
Cleanup after 11.1 commit
2022-02-28 11:41:59 -06:00
Xi Ruoyao
2fac6bd1b2
fix the date of expat-2.4.6 changelog entry
2022-02-28 22:34:42 +08:00
Douglas R. Reno
68550bbdee
Kernel (systemd): Add CONFIG_MEMCG as required (systemd-oomd).
2022-02-27 16:10:44 -06:00
Xi Ruoyao
477c9a1d58
tcl: remove outdated test failure description
2022-02-27 23:38:45 +08:00
Douglas R. Reno
18d4d6d2d7
Do a minor reword in networkd.xml and move Firmware Drivers to the
...
Device Drivers section in the systemd kernel configuration.
2022-02-26 23:18:28 -06:00
Xi Ruoyao
a626665deb
cross-ng: final documentation change before pushing
2022-02-27 00:01:40 +08:00
Xi Ruoyao
f8f349e10e
cross-ng: remove the restriction on the architecture of the host distro in prologue
2022-02-27 00:01:40 +08:00
Xi Ruoyao
fa8a0f2fc3
cross-ng: adjust reboot command for new clfs
2022-02-27 00:01:39 +08:00
Xi Ruoyao
3963a56a07
cross-ng: document a coreutils failure only happens for this branch
2022-02-27 00:01:39 +08:00
Xi Ruoyao
8b37712d8b
cross-ng: document host dependencies for kernel cross compilation
2022-02-27 00:01:39 +08:00
Xi Ruoyao
56f1739633
cross-ng: use uncompressed kernel image in chapter 6
...
"vmlinux" always exists after running "make". Use it so we won't need
to change the command porting to another arch.
2022-02-27 00:01:39 +08:00
Xi Ruoyao
e8f1927bfe
cross-ng: set up a temporary hostname starting chapter 7
2022-02-27 00:01:39 +08:00
Xi Ruoyao
940c9ebd4b
cross-ng: Revert "Add a note telling to reenter chroot after making a backup"
...
This reverts commit 7fba0753d1
.
2022-02-27 00:01:39 +08:00
Xi Ruoyao
e534de8823
cross-ng: don't create and mount fs in chapter 2
...
This procedure is deferred to the end of chapter 6 in cross edition.
2022-02-27 00:01:39 +08:00
Xi Ruoyao
b2f01e8c8a
cross-ng: explain the unchanged SBU values from trunk
2022-02-27 00:01:39 +08:00
Xi Ruoyao
7d7f24687f
cross-ng: adjust "How to build LFS" page for cross build
...
We'd explain "chroot environment" here, instead of performing
find-n-replace everywhere.
2022-02-27 00:01:39 +08:00
Xi Ruoyao
cb518e03d7
cross-ng: remove kernel from hostreqs
2022-02-27 00:01:39 +08:00
Xi Ruoyao
1ea79fdb82
cross-ng: chapter 7: set up lo interface
2022-02-27 00:01:39 +08:00
Xi Ruoyao
3a5d53a529
cross-ng: adjust backup & restore for cross build
2022-02-27 00:01:39 +08:00
Xi Ruoyao
9673470766
cross-ng: mention in-kernel firmware blob for temporary kernel
2022-02-27 00:01:35 +08:00
Xi Ruoyao
4f2d91dc65
cross-ng: linux and linux-headers: specify ARCH for cross build
2022-02-26 23:43:12 +08:00
Xi Ruoyao
db51ee9325
cross-ng: chapter 5: gcc: don't rely on uname -m
2022-02-26 23:43:12 +08:00
Xi Ruoyao
30ae09bb76
cross-ng: gcc: don't rely on "uname -m"
2022-02-26 23:43:12 +08:00
Xi Ruoyao
96dda27a0f
cross-ng: chapter 4: stop assuming target to be "uname -m", and...
...
create /boot in $LFS.
2022-02-26 23:43:12 +08:00
Xi Ruoyao
40875a9574
cross-ng: chapter 2: mounting a partition on $LFS is not needed
2022-02-26 23:43:12 +08:00
Xi Ruoyao
0bd1c0541b
cross-ng: chapter 4: set LFS_TGT for target machine
2022-02-26 23:43:12 +08:00
Xi Ruoyao
20549cb0fb
cross-ng: chapter 6: add grub configuration for temporary system
2022-02-26 23:43:12 +08:00
Xi Ruoyao
f58cbc10f5
cross-ng: chapter 6: build temporary Linux kernel
2022-02-26 23:43:11 +08:00
Xi Ruoyao
52e0f3e76e
cross-ng: chapter 6: add grub
2022-02-26 23:43:11 +08:00
Xi Ruoyao
ae636e7f20
cross-ng: chapter 6: add agetty, mount, and setsid from util-linux
2022-02-26 23:43:11 +08:00
Xi Ruoyao
febac5114b
cross-ng: chapter 7: adjust introduction for cross build
2022-02-26 23:43:11 +08:00
Xi Ruoyao
fa7acfc0bf
cross-ng: start "new generation of CLFS" branch
...
* git-version: prefix the version with "cross"
* prologue: add a section describing the new edition
2022-02-26 23:43:03 +08:00
Bruce Dubbs
cbd0a9a98e
Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk
2022-02-25 14:58:29 -06:00
Bruce Dubbs
7b270d9a69
Wording
2022-02-25 14:58:18 -06:00
Xi Ruoyao
b0a6b0cedb
mention that expat may delete vulnerable releases
2022-02-25 12:10:04 +08:00
Bruce Dubbs
ba2dc1b6a7
Update to expat-2.4.6 (security fix)
2022-02-23 15:28:21 -06:00
Xi Ruoyao
c19371f6f9
systemd: remove unneeded command
...
For systmed-250, systemd-time-wait-sync.service is disabled by
systemctl preset-all.
2022-02-23 15:25:28 +08:00
Xi Ruoyao
96fa6f2558
systemd: trivial indent fix :)
2022-02-23 15:10:03 +08:00
Xi Ruoyao
a8c849848f
doc: correct the URL of BLFS docbook-xml-4.5 page
2022-02-23 02:10:17 +08:00
Xi Ruoyao
186f52656e
glibc: document tst-nss-files-hosts-multi failure ...
...
on the systems without non-loopback IP address
We'd observed this long ago with "unknown reason". I just saw it again
and did some investigation, found it depends on getaddrinfo() with
AI_ADDRCONFIG, which requires a non-loopback address.
2022-02-22 16:44:04 +08:00
Xi Ruoyao
188fba74b4
ch03 intro: "newer version" -> "different version", and ...
...
warn about the difference between release tarballs and repo snapshots
2022-02-22 13:34:59 +08:00
Xi Ruoyao
25dc9a8cfa
part 3 intro: warn that don't copy source tree with cp -R
2022-02-22 13:34:36 +08:00
Ken Moffat
a8ac5440a7
Vim-8.2.4383 included a security update.
2022-02-19 21:02:14 +00:00
Xi Ruoyao
d6006ef769
relax host system requirements
...
A requirement on Glibc is not needed at all. It's enough once
$LFS_TGT-* is runnable. A test on Alpine (using musl as libc) has
practically proved this.
We'd raised binutils and GCC requirements mostly for Glibc. But now
Glibc is cross compiled by our cross toolchain with latest GCC and
binutils release, the host tools really does not matter. In the Glibc
building process only two .c files are build with BUILD_CC (the C
compiler from the host), and they are highly conservative (mostly
unchanged for years).
Binutils does not have too much requirement on host GCC & Binutils:
there is even a Binutils commit in this week fixing a build failure with
GCC-4.2!
So the most strict limitation comes from GCC. GCC requires host GCC to
support ISO C++ 11 so GCC >= 4.8 is needed. And both GCC-4.8 and latest
GCC-11.2 claims a requirement for Binutils-2.12 (for x86_64) or 2.13.1
(for 32-bit x86), so we make minimal Binutils version 2.13.1.
And, host bzip2 is never used now: the only .tar.bz2 files are elfutils
and python docs. They are not decompressed before entering chroot.
2022-02-19 10:29:47 +08:00
Bruce Dubbs
9904ecb1de
Spelling/Typos
2022-02-18 14:49:40 -06:00
Xi Ruoyao
9f0a6427ab
short description should not end with "."
2022-02-18 14:03:51 +08:00
Bruce Dubbs
988a68e3c8
Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk
2022-02-17 23:39:07 -06:00
Bruce Dubbs
01cf1502c2
Remove reference to test failures
2022-02-17 23:38:53 -06:00
Xi Ruoyao
52155b6c33
shadow: add --disable-static
...
Approved by bdubbs for 11.1.
To editors: no need to rebuild system and re-tag anything, AFAIK nothing
in BLFS uses libsubid now. You may delete /usr/lib/libsubid.a on your
system manually.
2022-02-18 12:51:41 +08:00