Commit Graph

8250 Commits

Author SHA1 Message Date
Pierre Labastie
ab824a51d1 Fix a missing space 2022-02-11 18:29:12 +01:00
Xi Ruoyao
db3c501657
glibc: update contents & descriptions for 2.35 2022-02-11 11:18:13 +08:00
Xi Ruoyao
426913ea08
binutils-pass2: workaround "binaries link to host libraries" issue
A very old libtool copy (2009-11-29) is shipped in binutils tarball.  It
does not support sysroot, so the cross-built binutils binaries may link
to libraries from the host distro, if certain libraries are available.

The ideal solution should be updating libtool, as libtool-2.4.6 (in LFS)
has sysroot support.  However, updating libtool for binutils is not
trivial: it would require to rerun autoconf and binutils building system
sticks to autoconf-2.69.  Another issue is the sysroot support for
libtool has introduced a configure option "--with-sysroot", which
conflicts with an already existing option with the same name in
GCC and binutils building system (we are using the GCC/binutils version
of --with-sysroot in chapter 5).

GCC building system has --with-build-sysroot (we are using this for GCC
pass 2) for this issue.  Binutils copied GCC building system, but it
does not respect --with-build-sysroot.

So for now we just edit libtool code to prevent "-L/usr/lib" in
$LFS_TGT_gcc command line.  It should fix the issue about host libiberty
(reported in #lfs-support) as well, but it still need to be confirmed by
someone having such a host.

Tested with a jhalfs run on LFS.
2022-02-10 21:05:33 +08:00
Pierre Labastie
b35ab48b26 Add glib2 as an optional dependency of pkg-config 2022-02-10 10:28:23 +01:00
Bruce Dubbs
9c4ff70edf Package updates.
Update to bc-5.2.2.
Update to linux-5.16.8.
Update to binutils-2.38. Requires adding zlib to Chapter 6.
2022-02-09 20:54:15 -06:00
Xi Ruoyao
d759d8b20c
systemd net cfg: fix unclosed <...> 2022-02-06 07:08:18 +08:00
Xi Ruoyao
c633b87ef4
systemd net cfg: fix ambigious "it" 2022-02-05 22:29:27 +08:00
Xi Ruoyao
f09dd59a81
systemd: /etc/{passwd,group} was created in Chapter 7 2022-02-05 22:17:26 +08:00
Xi Ruoyao
0079acc87d
systemd: remove unneeded group "systemd-bus-proxy" 2022-02-05 22:16:25 +08:00
Xi Ruoyao
cfdc7ab3c2
fix a stupid typo in changelog 2022-02-05 22:03:00 +08:00
Xi Ruoyao
b852cef995
chapter 8: rename revisedchroot to cleanup
There is no "revision for chroot" now.
2022-02-05 21:59:24 +08:00
Xi Ruoyao
d79ba5b01c
systemd network config: slightly reword about resolv.conf 2022-02-05 21:35:14 +08:00
Xi Ruoyao
490dc15317
remove "+h" in bash commands in chroot (#4998)
In the new cross-compilation approach, the $PATH in chroot does not
contain '/tools/bin'.  So "+h" is useless in chroot as the newly
installed tools always replace the temporary counterpart at the same
location.

"+h" in chapter4/settingenviron.xml is kept deliberately.  Currently
$LFS/tools/bin only contains programs prefixed with
"x86_64-lfs-linux-gnu-", and it's highly unlikely that any distro will
ever ship a program named with such prefix.  So it may seems that we can
remove this "+h" as well.  However, the situation may change in future
and we can take this oppertunity to teach the advantage and disvantage
of bash hash feature.
2022-02-05 20:48:27 +08:00
Xi Ruoyao
69c4524b6d
systemd: remove unneeded LANG=en_US.UTF-8 settings
They were added because ninja had printed warnings about "non UTF-8
locale".  Current version of ninja no longer does this.
2022-02-05 20:37:44 +08:00
Xi Ruoyao
e954006b16
util-linux: add --bindir and --sbindir
The defaults are /bin and /sbin.  We don't like them because of "DESTDIR
on merged-usr system" issue.
2022-02-05 20:37:44 +08:00
Xi Ruoyao
50c357d363
util-linux: revise contents and short descriptions
* tailf is removed completely
* fdformat is disabled by default, and we don't really have any reason
  to enable it (and we'll need to workaround the missing man page issue
  if we want to enable it)
* irqtop, lsirq, scriptreplay, and uclampset added
2022-02-05 20:37:44 +08:00
Xi Ruoyao
db2d98f7a9
man-db: update to man-db-2.10.0 (#5002) 2022-02-05 20:37:44 +08:00
Xi Ruoyao
f26f74cb24
kmod: update the status for test suite 2022-02-05 20:37:44 +08:00
Xi Ruoyao
f5923aa8b4
kmod: link to openssl 2022-02-05 20:37:43 +08:00
Xi Ruoyao
ab8c166cbb
gdbm: update to gdbm-1.23 (#5000) 2022-02-05 20:37:34 +08:00
Xi Ruoyao
889f3811e5
Revert "gdbm: document gdbmtool tests fail, add -k"
This reverts commit ae3f78a382.

No longer needed with gdbm-1.22 or later:

https://git.gnu.org.ua/gdbm.git/commit/?id=5b62babd
https://git.gnu.org.ua/gdbm.git/commit/?id=f586b159
2022-02-05 17:51:06 +08:00
Xi Ruoyao
51e4ab228f
gcc: add "or later" for "Glibc-2.34", as we have 2.35 now 2022-02-05 17:03:36 +08:00
Xi Ruoyao
d64d2255f5
dependencies: zstd can use LZ4 2022-02-05 17:03:36 +08:00
Xi Ruoyao
bf6c6f8180
tcl: update to tcl-8.6.12 (#5001)
tdbc 1.1.2 -> 1.1.3
itcl 4.2.1 -> 4.2.2
2022-02-05 17:03:36 +08:00
Xi Ruoyao
21dd2f064f
glibc: Makefile is not generated 2022-02-05 17:03:33 +08:00
Douglas R. Reno
0a75d62658 Minor tweaks to systemd 2022-02-04 19:54:13 -06:00
Bruce Dubbs
1f8c0b947e Fix currency for tcl 2022-02-04 13:29:55 -06:00
Xi Ruoyao
bca4876ac5
Revert "binutils: use -j1 for make install"
This reverts commit 03a41fd0cd.

It's no longer needed after binutils-gdb commit "install dependencies for
ld -> bfd and libctf -> bfd" (755ba58e).
2022-02-04 17:55:05 +08:00
Thomas Trepl (Moody)
651c74bef9 Remove unnecessary sed in glibc-2.35 2022-02-04 10:51:57 +01:00
Bruce Dubbs
a5d31dd654 Package updates and a patch.
Add coreutils-9.0 chmod patch.
Update to glibc-2.35.
Update to linux-5.16.5.
Update to findutils-4.9.0.
Update to expat-2.4.4.
Update to iana-etc-20220128.
2022-02-03 13:02:19 -06:00
Xi Ruoyao
1966b8db8f
network cfg: mention that LFS and the host may name interfaces differently 2022-01-31 19:42:18 +08:00
Xi Ruoyao
4d323c324f
dependencies: coreutils-9.0 uses openssl-3 for cryptography 2022-01-31 19:42:18 +08:00
Bruce Dubbs
0aeb9f39a2 Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2022-01-29 14:10:14 -06:00
Bruce Dubbs
d8038b2e4f Update to linux-5.16.4. 2022-01-29 14:10:04 -06:00
Pierre Labastie
60933b952f iproute2: remove a now useless sed
Upstream do not try anymore to build the *m_ipt modules if
iptables is not found.
2022-01-28 14:04:57 +01:00
Bruce Dubbs
e1ebbef46a Package updates.
Update to vim-8.2.4236.
Update to zstd-1.5.2.
Update to util-linux-2.37.3 (security fix).
Update to Python-3.10.2.
Update to linux-5.16.2.
Update to libcap-2.63.
Update to iproute2-5.16.0.
Update to iana-etc-20220120.
2022-01-27 21:29:56 -06:00
Xi Ruoyao
8c3872af6c
dependencies: systemd uses zstd
It's used for compressing journals and coredumps.
2022-01-28 02:36:45 +08:00
Xi Ruoyao
02d0c359bb
dependencies: systemd does not depends on Intltool now 2022-01-27 20:59:42 +08:00
Xi Ruoyao
7b370c55d7
util-linux: remove the description of "raw" command
Since Linux-5.13, <linux/raw.h> has been removed from API headers.  So
this command won't be built by util-linux.
2022-01-25 03:30:05 +08:00
Bruce Dubbs
d141d67546 Update to expat-2.4.3 (security fixes). 2022-01-20 13:35:28 -06:00
Pierre Labastie
18c1947298 Update to meson-0.61.1 2022-01-20 08:18:43 +01:00
Pierre Labastie
b83366b1b4 Use soversion for libreadline in "stripping" page
Report on #lfs-support by "r1c0n3r0": the libhistory and libreadline
filenames have been wrong on the "stripping" page since realine
version bump. Fix taken (with slight modification) from William
Harrington's port to arm:
05a2cd35aa
2022-01-20 08:11:31 +01:00
Thomas Trepl (Moody)
63ef88536a Add a fix of type to meson patch (new patch file) 2022-01-17 16:56:06 +01:00
Xi Ruoyao
cd0ca9371c
shadow: fix a typo 2022-01-16 00:42:27 +08:00
Pierre Labastie
7ad105665e Add missing installed program in shadow
getsubids has been added in shadow-4.10
2022-01-15 04:45:33 -08:00
Bruce Dubbs
ade3efafc6 Package updates.
Update to shadow-4.11.1.
Update to readline-8.1.2.
Update to meson-0.61.0.
Update to libpipeline-1.5.5.
Update to bash-5.1.16.
2022-01-14 13:43:28 -06:00
Douglas R. Reno
5ff21a47f9 Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2022-01-13 18:28:30 -06:00
Douglas R. Reno
194e133dc0 Use the corrected systemd patch 2022-01-13 15:24:10 -06:00
Douglas R. Reno
c8df034e5f Fix CVE-2021-3997 in systemd. 2022-01-13 15:16:37 -06:00
Pierre Labastie
7fba0753d1 Add a note telling to reenter chroot after making a backup 2022-01-09 19:18:24 +01:00