Commit Graph

8168 Commits

Author SHA1 Message Date
Xi Ruoyao
ce6088a1c1
changelog: dbus is systemd revision only 2022-03-16 00:14:14 +08:00
Xi Ruoyao
9c7e6ff853
systemd: remove --strip-compoents=1 from man page installation command
systemd-man-pages-250.tar.xz has no additional leading components.

An errata is required.
2022-03-16 00:13:35 +08:00
Bruce Dubbs
c6ed3d0126 Update to meson-0.61.3. 2022-03-15 10:55:25 -05:00
Xi Ruoyao
f7ac150c84
package update
* update to expat-2.4.7 (#5019)
* update to bc-5.2.3 (#5020)
* update to linux-5.16.14 (#5021)
* update to perl-5.34.1 (#5022)
* update to vim-8.2.4567 (#4500)
2022-03-15 16:18:24 +08:00
Bruce Dubbs
51a5442f16 Fix pdf presentation issues and some misc issues
Change pdf generation to use 9 point fonts for monospace
sections of the book.  Otherwise texy overflows, especially
in Chapter 8, Stripping.

Fix a minor spacing issue in the stripping issue.

MAke a minor grammar fix in creatingfiles.xml.
2022-03-14 13:08:40 -05:00
Xi Ruoyao
582da16ec4
glibc: fix the desc of nss/tst-nss-files-hosts-multi failure, and ...
mention nss/tst-nss-files-hosts-long failure

It seems I was confused by the two failures with similar name, when I
added the description.
2022-03-15 00:26:26 +08:00
Xi Ruoyao
408f4ae838
systemd: dbus: add --runstatedir=/run
This prevents a reference to /var/run in /usr/lib/tmpfiles.d/dbus.conf,
which would cause a warning from systemd-tmpfiles.

--with-system-pid-file=/run/dbus/pid is not needed with this, but
--with-console-auth-dir and --with-system-socket are still needed.
2022-03-13 16:12:55 +08:00
Xi Ruoyao
ac47b252fe
kernfs: "Udev" -> "the kernel and Udev"
devtmpfs already contains many device nodes created by the kernel once
it's mounted, and Udev creates or renames nodes based on kernel work.
2022-03-08 15:10:04 +08:00
Xi Ruoyao
940c8495ae
kernfs: remove static node creation, and update the text
This is to match the "new" way of device handling with devtmpfs (already
widely used in recent ten years).

In a normal booting process, the kernel mounts devtmpfs at very early
stage.  So the static nodes won't be used at all.  The only situation
where the kernel can't mount devtmpfs is "/dev is missing", but it means
those two static nodes can't exist anyway, and a normal LFS system
(without initramfs) won't boot in such a bad situation.

Removing static /dev/console and /dev/null may cause trouble for those
people or scripts chroot into LFS tree without mounting devtmpfs.  But
entering a chroot with only console and null in /dev is already
problematic.  For a reference, If a systemd service is started with
PrivateDevices=true, systemd will create 18 nodes and symlinks to form a
"minimal" /dev.
2022-03-08 01:25:06 +08:00
Bruce Dubbs
102a7f64c0 Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk 2022-03-06 15:37:15 -06:00
Bruce Dubbs
c9629e0347 Typo 2022-03-06 15:37:02 -06:00
Xi Ruoyao
cb39502e14
add changelog entries for 20220305 2022-03-05 16:35:00 +08:00
Xi Ruoyao
06aa05dd04
Merge tag 'xry111/lfs-next/for-trunk-20220305' into trunk 2022-03-05 16:31:57 +08:00
Xi Ruoyao
8a572f06bb
don't chown $LFS/sources to lfs (#5018) 2022-03-05 16:30:43 +08:00
Xi Ruoyao
070bc9a4f7
add zstd upstream fixes patch 2022-03-05 16:30:28 +08:00
Xi Ruoyao
e6589bc35a
Merge branch 'trunk' into xry111/lfs-next 2022-03-05 16:29:57 +08:00
Xi Ruoyao
9c4380393e
gcc: use $(gcc -dumpmachine) instead of *linux-gnu
It's consistent with other commands in the same page, and also helpful
for porting to targets with different triplets (-musl or -gnuabi64).
2022-03-05 03:03:19 +08:00
Xi Ruoyao
cc2c231b50
remove meson "test SBU" added unintentionally 2022-03-03 04:13:40 +08:00
Xi Ruoyao
7c05ea2a4f
remove outdated cross-chap5 announcement in what's new
It should have been removed in 10.1, and in 11.0 there should have been
"the version of LFS has switched to a merged-/usr layout".  But we just
forgot to update this all the time :).
2022-03-03 02:20:37 +08:00
Xi Ruoyao
3522efe046
package updates
* Update to meson-0.61.2.
* Update to linux-5.16.12.
* Update to MarkupSafe-2.1.0.
* Update to dbus-1.14.0.
* Update to vim-8.2.4489.
2022-03-03 02:20:37 +08:00
Xi Ruoyao
7756de365c
remove all "what's new" entries after release 2022-03-03 02:20:34 +08:00
Xi Ruoyao
6cad449759
add changelog entries for libstdc++ pass 2 and tcl changes 2022-03-02 21:08:50 +08:00
Xi Ruoyao
b39aae039a
Merge tag 'xry111/lfs-next/for-trunk-20220302' into trunk 2022-03-02 21:04:45 +08:00
Xi Ruoyao
259b8e0aa3
Merge remote-tracking branch 'origin/trunk' into xry111/lfs-next 2022-03-02 21:02:54 +08:00
Xi Ruoyao
3bb463d33d
gcc-pass2: document *_FOR_TARGET parameters 2022-03-02 18:02:07 +08:00
Xi Ruoyao
8e0f8a9a52
gcc pass2: use --target=$LFS_TGT instead of many {C,CXX}_FOR_TARGET
There is also a "GCC_FOR_TARGET" which was not set correctly.  The
--target=$LFS_TGT parameter can set up all of these variables as we
expected.
2022-03-02 18:00:10 +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
Xi Ruoyao
859502b2f4
iproute2: add NETNS_RUN_DIR=/run/netns to avoid using deprecated /var/run 2022-02-27 23:36:55 +08:00
Xi Ruoyao
a4f63e494b
remove adjusting.xml
Now adjusting.xml only serves as a historical reference, and a "snip
library" for gcc.xml.  Put all relevant content into gcc.xml directly
and remove adjusting.xml.  If someone needs a historical reference, he
can always get adjusting.xml in Git history.
2022-02-27 23:36:55 +08:00
Xi Ruoyao
83c258fce0
tcl: remove --enable-64bit
It only adds -m64 on x86_64 GNU/Linux.  In 64-bit LFS -m64 is the
default.
2022-02-27 23:36:55 +08:00
Xi Ruoyao
459d4936ae
fix GCC PR100017 and enable libstdc++ for pass 2
This is the issue preventing us from cross-compiling libstdc++ in
Chapter 6.  By fixing this issue we can remove a seperate pass 2 for
libstdc++ and simplify the instruction.

The upstream fix will be released in 11.3 and 12.0, so we can remove the
first sed upgrading gcc next time.
2022-02-27 23:36:55 +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
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