ACK: [SRU][Unstable/Lunar][PATCH v2] UBUNTU: [Packaging] debian/rules: Add DKMS info to 'printenv' output

Andrei Gherzan andrei.gherzan at canonical.com
Fri Apr 21 11:26:24 UTC 2023


On 23/04/21 11:15AM, Juerg Haefliger wrote:
> Show DKMS info and build flags when running 'debian/rules printenv':
> 
> $ ./debian/rules printenv | tail
>  do_tools_x86             = true
> do_cloud_tools            = true
>  do_tools_hyperv          = true
> 
> all_dkms_modules          = zfs ipu6 ivsc iwlwifi v4l2loopback
>  do_zfs                   = true
>  do_ipu6                  = true
>  do_ivsc                  = true
>  do_iwlwifi               = true
>  do_v4l2loopback          = true
> 
> Signed-off-by: Juerg Haefliger <juerg.haefliger at canonical.com>

Acked-by: Andrei Gherzan <andrei.gherzan at canonical.com>

> ---
>  debian/rules.d/1-maintainer.mk | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/debian/rules.d/1-maintainer.mk b/debian/rules.d/1-maintainer.mk
> index fff4b8506fa0..6eded3eb4626 100644
> --- a/debian/rules.d/1-maintainer.mk
> +++ b/debian/rules.d/1-maintainer.mk
> @@ -117,6 +117,10 @@ printenv:
>  	@echo " do_tools_x86             = $(do_tools_x86)"
>  	@echo "do_cloud_tools            = $(do_cloud_tools)"
>  	@echo " do_tools_hyperv          = $(do_tools_hyperv)"
> +	@echo
> +	@echo "all_dkms_modules          = $(all_dkms_modules)"
> +	@$(foreach mod,$(all_dkms_modules),$(foreach var,$(do_$(mod)),\
> +		printf " %-24s = %s\n" "do_$(mod)" "$(var)";))
>  
>  .PHONY: printchanges
>  printchanges:
> -- 
> 2.37.2
> 
> 
> -- 
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team

-- 
Andrei Gherzan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20230421/d8a6c755/attachment.sig>


More information about the kernel-team mailing list