Commit Graph

8779 Commits

Author SHA1 Message Date
Xi Ruoyao
91aeb6f36d
whatsnew: Add revision attribute for "Removed" entries 2023-07-23 09:52:50 +08:00
Xi Ruoyao
e5c08bfbf4
changelog: Fix rendering with REV=systemd
Empty <itemizedlist> is not allowed.
2023-07-23 00:20:13 +08:00
Xi Ruoyao
e641f736d7
Update to lfs-bootscripts-20230722 2023-07-22 23:52:57 +08:00
Xi Ruoyao
da0d47999c
bootscripts: Add missed Change Log entry and version bump for udev 2023-07-22 23:44:10 +08:00
Xi Ruoyao
8435a70be4
bootscripts: mountvirtfs: Create essential symlinks in /dev targeting /proc
These were handled by Eudev, but systemd-udevd stopped to creating them
since 2020.
2023-07-22 23:40:32 +08:00
Xi Ruoyao
0d824c5280
kernel: Simplify doc installation 2023-07-22 18:36:33 +08:00
Xi Ruoyao
e9619f650f
Partially revert "man-db: Update known test failures, again"
This partially reverts commit 1053282e5f.

There is actually only one test suite in LFS build even with -k, but on
my complete system there are many test failures with "-k".  I guess some
tests depend on non-LFS packages.

The text change is reverted, but the command change is preserved as
generally we should use -k for any make check command known to fail.
2023-07-21 21:10:47 +08:00
Xi Ruoyao
ca0bd6d56c
rationale: Move Udev entry for lexicographical sorting
Wrap long lines by the way.
2023-07-20 01:14:20 +08:00
Xi Ruoyao
66fbe7b805
meson and ninja: Kill false tips 2023-07-20 01:09:30 +08:00
Xi Ruoyao
b5acea48a7
man-pages: Remove pages conflicting with libxcrypt 2023-07-18 17:47:26 +08:00
Xi Ruoyao
772fb71015
currency: Remove eudev 2023-07-18 13:07:31 +08:00
Xi Ruoyao
b177415824
Remove references to eudev 2023-07-18 13:07:01 +08:00
Xi Ruoyao
5b3594b13e
changelog: Eudev -> systemd-udev change is sysv-only 2023-07-18 13:04:13 +08:00
Xi Ruoyao
2cbb6135ed
Merge branch 'xry111/systemd-udevd-for-sysv' into trunk 2023-07-17 11:55:43 +08:00
Xi Ruoyao
51c7e709c0
udev: Update SBU and DU 2023-07-17 11:53:12 +08:00
Xi Ruoyao
f24a041cd4
udev: Remove two udev rules requiring a full systemd installation
Or they'll produce some error messages saying "cannot execute
systemd-sysctl or systemd-vconsole-setup".
2023-07-17 10:14:18 +08:00
Xi Ruoyao
870d24c5cb
bootscripts: udev: Set SYSTEMD_LOG_TARGET=kmsg for udevd
This makes udevd send log entries to kmsg buffer and sysklogd will
pick them up.

Ideally we should use "syslog" here, but at the time udevd starts,
sysklogd has not started yet and /dev/log does not exist.  So udevd
cannot open /dev/log and it will still use stderr as a fallback.  We
cannot make udevd depending on sysklogd either, because it would cause a
circular dependency...
2023-07-17 09:40:59 +08:00
Xi Ruoyao
06610cefab
dependencies: Update for Udev
The Udev build dependencies are directly copied from systemd.  Though
they might be unneeded for a Udev-only build, meson will check them
anyway.  And I'm sure Jinja2 is really used.

In systemd dependencies Attr is dropped because Attr is not used
directly, it's just Acl needs Attr.  OpenSSL is added because udevadm
links to libcrypto.

As "S" and "U" are closer, create a "systemd-udev" entity to simplify
the <phrase> choices.

In Util-linux, lsblk and findmnt links to libudev so it depends on
&systemd-udev;.
2023-07-17 00:03:04 +08:00
Xi Ruoyao
4ca4e8b1ba
udev: Fix a typo 2023-07-16 23:29:18 +08:00
Xi Ruoyao
f7c36d049f
udev: Create /usr/{lib,share}/pkgconfig
They are not created in chapter 7.5, so we should create them before
installing files into them.
2023-07-16 13:46:20 +08:00
Xi Ruoyao
cce6c92463
udev: Install man pages from systemd man pages tarball 2023-07-16 12:06:37 +08:00
Xi Ruoyao
13288b9165
SysV: Add MarkupSafe and Jinja2
Jinja2 is needed for building udev from systemd.
2023-07-16 11:12:36 +08:00
Xi Ruoyao
a289860668
Replace eudev with udev from systemd 2023-07-16 11:11:12 +08:00
Xi Ruoyao
c7ee38fb5a
bootscripts: Use /bin/udevadm instead of /sbin/udevadm
We are switching from eudev to systemd-udev for SysV.  Systemd installs
udevadm into /usr/bin, and at least a part of its function can be used
as non-root user, so we'll no longer put it into /usr/sbin.
2023-07-16 10:04:12 +08:00
Xi Ruoyao
1053282e5f
man-db: Update known test failures, again
I was too naive: actually a lot of tests fail with groff-1.23.0 and
they'll show up with "-k".
2023-07-16 00:52:41 +08:00
Xi Ruoyao
fcf943d52e
man-db: Document a test failure (started with groff-1.23.0) 2023-07-16 00:40:49 +08:00
Pierre Labastie
31e62b94b6 Typo 2023-07-15 15:26:11 +02:00
Bruce Dubbs
f00e5f980d Package updates.
Update to iana-etc-20230629.
Update to linux-6.4.3.
Update to  libxcrypt-4.4.36.
Update to groff-1.23.0.
Update to perl-5.38.0.
2023-07-14 22:45:12 -05:00
Xi Ruoyao
f976691d53
kernel: Remove CONFIG_SYSFS_DEPRECATED
It's already removed from Linux 6.4.

Link: https://git.kernel.org/torvalds/linux/c/721da5cee9d4
2023-07-11 07:44:39 +08:00
Xi Ruoyao
b551c5d602
dependencies: Perl is a build dependency for Libxcrypt 2023-07-05 02:54:31 +08:00
Bruce Dubbs
337b9c85bc Fix libxcrypt url 2023-07-03 17:23:14 -05:00
Xi Ruoyao
c2325070af
shadow: Allow using bcrypt and yescrypt, and use yescrypt as the default
Yescrypt is the current default password hashing algorithm of Fedora
and Debian.  See [1] for its advantage.

Now we have libxcrypt providing the implementation of bcrypt and
yescrypt, we can switch to yescrypt as well.  We also don't need to
adjust the rounds for SHA512 anymore.

[1]:https://www.fedoraproject.org/wiki/Changes/yescrypt_as_default_hashing_method_for_shadow#Detailed_Description
2023-07-03 21:28:36 +08:00
Xi Ruoyao
f4313a75c8
libxcrypt: Fix a typo 2023-07-03 19:36:58 +08:00
Xi Ruoyao
c273fc81ec
currency: Remove two unneeded special cases 2023-07-03 18:19:51 +08:00
Xi Ruoyao
9c88d3e6cc
pkgconf: Switch back to upstream release tarball :)
Upstream says: "update release tarball location because dynadot is a
shitty registrar".

Link: https://github.com/pkgconf/pkgconf/commit/437c2a3218bf
2023-07-03 18:11:38 +08:00
Xi Ruoyao
8772b7b4be
current: Use GitHub API for applicable packages 2023-07-03 18:08:54 +08:00
Xi Ruoyao
e43b7e7eb8
currency: Add libxcrypt 2023-07-03 17:53:41 +08:00
Xi Ruoyao
bf7d32821e
currency: Use https for git remote, and only fetch history since r11.2
It can save some network download time.
2023-07-03 17:24:59 +08:00
Xi Ruoyao
19ff1dadd1
currency: Refactor http_get_file to avoid duplicating preg_match
Check special cases and return early.
2023-07-03 17:22:17 +08:00
Xi Ruoyao
48834cf197
Merge branch 'xry111/libxcrypt' into trunk 2023-07-03 06:17:06 +08:00
Xi Ruoyao
9ceb623400
Package update
- Update to iproute2-6.4.0 (#5277)
- Update to linux-6.4.1 (#5276)
2023-07-03 06:14:40 +08:00
Xi Ruoyao
ac5f78c4bf
Merge branch 'trunk' into xry111/libxcrypt 2023-07-02 22:11:05 +08:00
Xi Ruoyao
cc5eb637aa
pkgconf: Use the Gentoo mirror for now :(
BugLink: https://github.com/pkgconf/pkgconf/issues/302
2023-07-02 20:31:17 +08:00
Xi Ruoyao
d6e7cda825
kbd: Simplify the instruction for doc installation 2023-07-01 16:00:45 +08:00
Bruce Dubbs
4cd0193c96 Package Updates.
Update to iana-etc-20230615.
Update to vim-9.0.1671.
Update to util-linux-2.39.1.
Update to linux-6.3.10.
Update to kbd-2.6.1.
Update to gettext-0.22.
2023-06-30 12:58:10 -05:00
Xi Ruoyao
1adc941436
dependencies: Add Libxcrypt dependency info 2023-06-30 06:57:35 +08:00
Xi Ruoyao
f652d5bb26
gcc-pass2: Disable libsanitizer
Building libsanitizer needs libcrypt.  Disable it so we don't need to
add libxcrypt into Chapter 6.
2023-06-30 06:32:31 +08:00
Xi Ruoyao
c727d7e7f7
Add libxcrypt 2023-06-30 04:05:51 +08:00
Xi Ruoyao
bbfb090d2a
glibc: Disable obsolete libcrypt implementation
I've not bothered to write an explanation for --disable-crypt because it
will likely be the default of Glibc-2.38, then we may drop it from the
command lines.
2023-06-30 03:19:20 +08:00
Douglas R. Reno
ce9ec4f126 gettext: Use gettext-version instead of a hardcoded version (which is
now out of date) for /usr/share/gettext-0.21.1
2023-06-23 10:48:45 -05:00