diff mbox series

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

Message ID 20230728133817.893883-1-masahiro.yamada@canonical.com
State New
Headers show
Series [Mantic,1/6] UBUNTU: [Packaging] Add .NOTPARALLEL | expand

Commit Message

Masahiro Yamada July 28, 2023, 1:38 p.m. UTC
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@canonical.com>
---
 debian/rules | 2 ++
 1 file changed, 2 insertions(+)

Comments

Andrea Righi July 31, 2023, 5:40 a.m. UTC | #1
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@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@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
diff mbox series

Patch

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