APPLIED[U]: [Mantic 1/6] UBUNTU: [Packaging] Add .NOTPARALLEL

Andrea Righi andrea.righi at canonical.com
Mon Jul 31 05:40:03 UTC 2023


On Fri, Jul 28, 2023 at 10:38:12PM +0900, Masahiro Yamada wrote:
> The targets in debian/rules are not intended to run in parallel.
> 
> Add .NOTPARALLEL like the Debian kernel.
> 
> Signed-off-by: Masahiro Yamada <masahiro.yamada at canonical.com>

The thread is missing a cover letter, I'm responding only to this one.

The whole patch series makes sense to me and I've applied it to
mantic/linux-unstable, but such packaging changes are always introducing
unexpected issues... I'll keep an extra eye for potential issues.

Thanks,
-Andrea

> ---
>  debian/rules | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/debian/rules b/debian/rules
> index 034aa2b789a6..99d91078f7db 100755
> --- a/debian/rules
> +++ b/debian/rules
> @@ -11,6 +11,8 @@
>  # (this increases performance and avoids hard-to-debug behaviour)
>  MAKEFLAGS += -rR
>  
> +.NOTPARALLEL:
> +
>  DEBIAN=$(shell awk -F= '($$1 == "DEBIAN") { print $$2 }' <debian/debian.env)
>  
>  # dpkg-buildpackage passes options that are incomptatible
> -- 
> 2.39.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