Bug#1079374: debootstrap: Needs to look through Provides
Hello,
Cyril Brulebois, le mar. 27 août 2024 10:40:41 +0200, a ecrit:
> Samuel Thibault <sthibault@debian.org> (2024-08-26):
> > Another way that was suggested on irc is to hardcode something this:
> >
> > diff --git a/scripts/debian-common b/scripts/debian-common
> > index 4a25654..cb4dbdd 100644
> > --- a/scripts/debian-common
> > +++ b/scripts/debian-common
> > @@ -75,6 +75,18 @@ work_out_debs () {
> > EXCLUDE_DEPENDENCY="$EXCLUDE_DEPENDENCY usrmerge"
> > ;;
> > esac
> > +
> > + case $ARCH in
> > + hurd-*)
> > + # cron-daemon-common depends on systemd-opensysusers
> > + # that opensysusers Provides, but debootstrap won't
> > + # see that
> > + case $base in *" cron "*)
> > + required="$required opensysusers"
> > + ;;
> > + esac
> > + ;;
> > + esac
> > }
> >
> > first_stage_install () {
> >
> > That's quite ugly but I currently don't really see another way?
>
> No objections from my side (not that I'm particularly active on the
> debootstrap front anyway…).
Ok, I have commited it.
Thanks for the feedback,
Samuel
Reply to: