[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1079374: debootstrap: Needs to look through Provides



Hi,

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…).


Cheers,
-- 
Cyril Brulebois (kibi@debian.org)            <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant

Attachment: signature.asc
Description: PGP signature


Reply to: