From d752a57ce2e5b6de214e0ccafa41e2cf1edd139d Mon Sep 17 00:00:00 2001 From: Clayton Craft Date: Wed, 24 Sep 2025 08:32:52 -0700 Subject: [PATCH] systemd: udev: explicitly depend on kmod-lib This fixes an issue where the mkosi-generated initrd fails to load udev because libkmod is not installed when systemd-udevd is installed. For pmOS installs/initramfs stuff, this change should be a no-op, libkmod is already pulled in by other things and our initramfs config includes the library manually. [ci:skip-build]: already built successfully in CI Part-of: --- extra-repos/systemd/systemd/APKBUILD | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/extra-repos/systemd/systemd/APKBUILD b/extra-repos/systemd/systemd/APKBUILD index 99056e63d..223ac1826 100644 --- a/extra-repos/systemd/systemd/APKBUILD +++ b/extra-repos/systemd/systemd/APKBUILD @@ -9,7 +9,7 @@ pkgname=systemd pkgver=257.8 _pkgver="musl-v${pkgver//_/-}-split-usr" -pkgrel=1 +pkgrel=2 pkgdesc="System and service manager" url="https://github.com/systemd/systemd" # ppc64le and s390x blocked by pmboostrap not supporting @@ -263,6 +263,10 @@ udevd() { pkgdesc="systemd udev" # is a dependency of systemd + # Some lib dependencies can't be automatically detected because they are + # dlopened and must be explicitly listed + depends="kmod-libs" + # NOTE: should only be udev, but packages hardcode eudev provides="eudev udev eudev-libs" provider_priority=100