Xi Ruoyao
57f16783ed
systemd: Add --no-same-owner for man page extraction
...
Well, I forgot to create the man pages tarball as root, so if we don't
use --no-same-owner the man pages will be owned by UID 1000 :(.
Instead of regenerating the tarball again let's just fix this in the
book.
2023-07-29 09:56:55 +08:00
Xi Ruoyao
7dcd8c782b
systemd: Remove sed unneeded with 254
2023-07-29 09:51:28 +08:00
Bruce Dubbs
6de383a262
Package updates.
...
Update udev-lfs tarball to remove obsolete
cdrom rules and references to ISDN devices.
Update to wheel-0.41.0 (Python Module).
Update to tar-1.35.
Update to systemd-254.
Update to meson-1.2.0.
Update to linux-6.4.7.
Update to gcc-13.2.0.
Update to file-5.45.
2023-07-28 19:23:11 -05:00
Xi Ruoyao
ac90ea8104
package choices: Fix a typo
...
Reported-by: rhubarbpieguy <rhubarbpieguy@vivaldi.net>
2023-07-28 20:01:29 +08:00
Xi Ruoyao
44674e4c92
sysv: Mount cgroup fs for memory pressure information early
...
Prepare for systemd-254 update. See #5293 for details.
2023-07-28 19:59:01 +08:00
Xi Ruoyao
d0de26cbe0
gmp: (Optionally) use --host=none-linux-gnu for generic library
...
This is suggested by GCC maintainer Andrew Pinski in
https://gcc.gnu.org/PR110789 . It's easier than what we've suggested
in the book.
2023-07-27 13:12:50 +08:00
Xi Ruoyao
49d402ee78
askforhelp: Reword the note added in previous commit a little
2023-07-27 10:04:38 +08:00
Xi Ruoyao
b15bebf96f
askforhelp: Add a note to stop people from spamming upstream
...
I've seen two cases of invalid upstream "bug" reports this month because
the user has (mis)built LFS. Let's stop this before irritating the
upstream maintainers.
2023-07-27 09:43:57 +08:00
Xi Ruoyao
fb3b88e8f2
binutils-pass2: Remove libsframe.{a,la} like other libs
2023-07-25 12:33:32 +08:00
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