ACK: [SRU][J][PATCH] UBUNTU: [Packaging] rules: Use old-kernelconfig for old configs

Andrea Righi andrea.righi at canonical.com
Wed May 31 10:04:01 UTC 2023


On Wed, May 31, 2023 at 11:40:32AM +0200, Juerg Haefliger wrote:
> Use the original old-kernelconfig script if the configs haven't been
> migrated yet to the new annotations scheme.
> 
> Ignore: yes
> Fixes: 4010fc1ea927 ("UBUNTU: [Packaging] new annotations model infrastructure")
> Signed-off-by: Juerg Haefliger <juerg.haefliger at canonical.com>

All good, thanks.

Acked-by: Andrea Righi <andrea.righi 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 0380d83d9ef8..16eb8819c43c 100644
> --- a/debian/rules.d/1-maintainer.mk
> +++ b/debian/rules.d/1-maintainer.mk
> @@ -41,9 +41,13 @@ printdebian:
>  
>  updateconfigs defaultconfigs editconfigs genconfigs dumpconfigs:
>  	dh_testdir;
> +ifneq ($(wildcard $(DEBIAN)/config/config.common.ubuntu),)
> +	$(SHELL) $(DROOT)/scripts/misc/old-kernelconfig $@ "$(do_enforce_all)"
> +else
>  	kmake='$(kmake)' skip_checks=$(do_skip_checks) conc_level=$(conc_level) \
>  		$(SHELL) $(DROOT)/scripts/misc/kernelconfig $@
>  	@rm -rf build
> +endif
>  
>  migrateconfigs:
>  ifneq ($(wildcard $(DEBIAN)/config/config.common.ubuntu),)
> -- 
> 2.37.2
> 
> 
> -- 
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team



More information about the kernel-team mailing list