Bug#1079374: debootstrap: Needs to look through Provides
Hello,
Samuel Thibault, le jeu. 22 août 2024 20:42:30 +0200, a ecrit:
> It happens that opensysusers, available on Debian Hurd, provides
> systemd-sysusers, but debootstrap is not smart enough to notice that.
>
> This dependency is coming from the dh_installsysusers helper. I proposed
> adding | systemd-sysusers there, but apparently the debhelper maintainer
> does not want this solution on the long run, and says that it's up to
> debootstrap to get smarter. Is it possible in a short enough term?
> Otherwise, what possibility do we have? Ask opensysusers to actually
> ship a systemd-sysusers package on non-Linux?
That would risk messing up packages lists by having the same binary
package name in different source packages.
Alternatively, I have tried adding an Arch:hurd-any Priority:important
base-opensysusers package that depends on opensysusers, and debootstrap
does unpack it before cron, thus fulfilling the dependency. That'd
probably be the simplest?
Samuel
--- debian/control.original 2024-08-24 22:14:00.000000000 +0200
+++ debian/control 2024-08-25 17:57:17.000000000 +0200
@@ -28,3 +28,11 @@
.
Opensysusers is an alternative implementation of systemd-sysusers that may
work on systems with or without systemd installed.
+
+Package: base-opensysusers
+Priority: important
+Architecture: hurd-any
+Depends: opensysusers
+Description: meta-package to trigger installing opensysusers on hurd ports
+ This package pulls opensysusers for debootstrap to install it and fulfill
+ cron-daemon-common's dependency on systemd-sysusers
Reply to: