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: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7079>
This commit is contained in:
Clayton Craft 2025-09-24 08:32:52 -07:00 committed by The Friendly Merge Bot
parent 7a29af043c
commit d752a57ce2
No known key found for this signature in database

View file

@ -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