systemd/systemd: move udevadm into udev subpkg

Fixes a conflict between systemd and systemd-udev where apk thinks they both provide cmd:udevadm:

ERROR: unable to select packages:
  systemd-256.11-r2:
    conflicts: systemd-udevd-256.11-r2[cmd:udevadm=256.11-r2]
  systemd-udevd-256.11-r2:
    conflicts: systemd-256.11-r2[cmd:udevadm=256.11-r2]

[ci:ignore-count]
[ci:skip-build] already built in CI

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6334
This commit is contained in:
Clayton Craft 2025-03-19 15:42:00 -07:00 committed by Caleb Connolly
parent eb8b32bdaa
commit a375ff0451
No known key found for this signature in database
GPG key ID: 0583312B195F64B6

View file

@ -6,7 +6,7 @@ pkgname=systemd
# currently tracking git MR
pkgver=256.11
_pkgver="musl-v${pkgver//_/-}-split-usr"
pkgrel=2
pkgrel=3
pkgdesc="System and service manager"
url="https://github.com/systemd/systemd"
arch="all !ppc64le !s390x" # blocked by pmboostrap not supporting
@ -259,6 +259,7 @@ udevd() {
provider_priority=100
amove etc/udev
amove usr/bin/udevadm
amove usr/lib/libudev*
amove usr/lib/systemd/system/initrd-udevadm-cleanup-db.service
amove usr/lib/systemd/system/sockets.target.wants/systemd-udev*