FS#59364 - [mkinitcpio] Please depend on 'udev' rather than 'systemd'
Attached to Project:
Arch Linux
Opened by Luke Shumaker (lukeshu) - Tuesday, 17 July 2018, 05:11 GMT
Last edited by Toolybird (Toolybird) - Friday, 14 April 2023, 08:02 GMT
Opened by Luke Shumaker (lukeshu) - Tuesday, 17 July 2018, 05:11 GMT
Last edited by Toolybird (Toolybird) - Friday, 14 April 2023, 08:02 GMT
|
Details
Description:
mkinitcpio depends=(systemd) because it depends on udev, and for a while now, udev is part of systemd (accordingly, systemd provides=(udev)). Users of derivatives of Arch (and users of AUR?) might like to install a different init system, and a different udev implementation. By editing mkinitcpio's depends=() to more precisely identify what it needs, it would make it so that downstream distros don't need to edit the PKGBUILD of mkinitcpio. This would be helpful to Parabola. Additional info: * package version(s): mkinitcpio 24-2 |
This task depends upon
Closed by Toolybird (Toolybird)
Friday, 14 April 2023, 08:02 GMT
Reason for closing: Won't implement
Additional comments about closing: See comments
Friday, 14 April 2023, 08:02 GMT
Reason for closing: Won't implement
Additional comments about closing: See comments
If you are willing to consider packages outside of the official Arch repos (AUR, or packages in downstream distributions like Parabola): Packages other than 'systemd' also provides=('udev'), for example 'eudev' (in AUR and in Parabola), or 'systemd-udev' (in Parabola; systemd's udev but without the rest of systemd).
Currently, AUR users of 'eudev' have to build a separate 'mkinitcpio' package, where the _only_ difference from 'core/mkinitcpio' is that it doesn't depend on 'systemd'. It would be good for AUR/eudev users to not have to do that.
Currently, Parabola maintainers have to maintain a modified version of the 'mkinitcpio' package, rather than importing it verbatim; the _only_ difference from Arch's 'core/mkinitcpio' is that it depends on 'udev' instead of 'systemd'. It would be good for the Parabola maintainers to not have to do that.
But again, if only looking at official Arch, there's not a good reason to make the change. But, as a Parabola contributor, I would very much appreciate the change; hence why I filed it as a "general gripe", not as a bug.
It's unclear to me if moving around the dependencies on the package is worth it.