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

Andrei Gherzan andrei.gherzan at canonical.com
Wed May 31 12:00:58 UTC 2023


On 23/05/31 11:40AM, 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>
> ---
>  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

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

-- 
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/20230531/29a9237f/attachment.sig>


More information about the kernel-team mailing list