* [PATCH] Fix missing leading whitespace with ':append'
@ 2024-07-09 12:02 niko.mauno
2024-07-09 14:10 ` [OE-core] " Alexandre Belloni
0 siblings, 1 reply; 4+ messages in thread
From: niko.mauno @ 2024-07-09 12:02 UTC (permalink / raw)
To: openembedded-core; +Cc: Niko Mauno
From: Niko Mauno <niko.mauno@vaisala.com>
Mitigate occurrences where ':append' operator is used and leading
whitespace character is obviously missing, risking inadvertent
string concatenation.
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
---
meta/recipes-devtools/dnf/dnf_4.20.0.bb | 2 +-
meta/recipes-graphics/mesa/mesa.inc | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-devtools/dnf/dnf_4.20.0.bb b/meta/recipes-devtools/dnf/dnf_4.20.0.bb
index 4757346cbf..98edab0614 100644
--- a/meta/recipes-devtools/dnf/dnf_4.20.0.bb
+++ b/meta/recipes-devtools/dnf/dnf_4.20.0.bb
@@ -18,7 +18,7 @@ SRC_URI = "git://github.com/rpm-software-management/dnf.git;branch=master;protoc
file://0001-lock.py-fix-Exception-handling.patch \
"
-SRC_URI:append:class-native = "file://0001-dnf-write-the-log-lock-to-root.patch"
+SRC_URI:append:class-native = " file://0001-dnf-write-the-log-lock-to-root.patch"
SRCREV = "e3cb438c0fd08c79676c0f3276aa7d75cd8557c6"
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 272d57c749..d56def2916 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -91,7 +91,7 @@ PACKAGECONFIG = " \
${@bb.utils.contains('DISTRO_FEATURES', 'vulkan', 'zink', '', d)} \
"
-PACKAGECONFIG:append:class-native = "gallium-llvm r600"
+PACKAGECONFIG:append:class-native = " gallium-llvm r600"
# "gbm" requires "opengl"
PACKAGECONFIG[gbm] = "-Dgbm=enabled,-Dgbm=disabled"
--
2.39.2
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [OE-core] [PATCH] Fix missing leading whitespace with ':append'
2024-07-09 12:02 [PATCH] Fix missing leading whitespace with ':append' niko.mauno
@ 2024-07-09 14:10 ` Alexandre Belloni
2024-07-09 15:43 ` Richard Purdie
0 siblings, 1 reply; 4+ messages in thread
From: Alexandre Belloni @ 2024-07-09 14:10 UTC (permalink / raw)
To: niko.mauno; +Cc: openembedded-core
Hello,
Can you submit one patch per recipe?
On 09/07/2024 15:02:09+0300, Niko Mauno via lists.openembedded.org wrote:
> From: Niko Mauno <niko.mauno@vaisala.com>
>
> Mitigate occurrences where ':append' operator is used and leading
> whitespace character is obviously missing, risking inadvertent
> string concatenation.
>
> Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
> ---
> meta/recipes-devtools/dnf/dnf_4.20.0.bb | 2 +-
> meta/recipes-graphics/mesa/mesa.inc | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-devtools/dnf/dnf_4.20.0.bb b/meta/recipes-devtools/dnf/dnf_4.20.0.bb
> index 4757346cbf..98edab0614 100644
> --- a/meta/recipes-devtools/dnf/dnf_4.20.0.bb
> +++ b/meta/recipes-devtools/dnf/dnf_4.20.0.bb
> @@ -18,7 +18,7 @@ SRC_URI = "git://github.com/rpm-software-management/dnf.git;branch=master;protoc
> file://0001-lock.py-fix-Exception-handling.patch \
> "
>
> -SRC_URI:append:class-native = "file://0001-dnf-write-the-log-lock-to-root.patch"
> +SRC_URI:append:class-native = " file://0001-dnf-write-the-log-lock-to-root.patch"
>
> SRCREV = "e3cb438c0fd08c79676c0f3276aa7d75cd8557c6"
> UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
> diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
> index 272d57c749..d56def2916 100644
> --- a/meta/recipes-graphics/mesa/mesa.inc
> +++ b/meta/recipes-graphics/mesa/mesa.inc
> @@ -91,7 +91,7 @@ PACKAGECONFIG = " \
> ${@bb.utils.contains('DISTRO_FEATURES', 'vulkan', 'zink', '', d)} \
> "
>
> -PACKAGECONFIG:append:class-native = "gallium-llvm r600"
> +PACKAGECONFIG:append:class-native = " gallium-llvm r600"
>
> # "gbm" requires "opengl"
> PACKAGECONFIG[gbm] = "-Dgbm=enabled,-Dgbm=disabled"
> --
> 2.39.2
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#201655): https://lists.openembedded.org/g/openembedded-core/message/201655
> Mute This Topic: https://lists.openembedded.org/mt/107121031/3617179
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [OE-core] [PATCH] Fix missing leading whitespace with ':append'
2024-07-09 14:10 ` [OE-core] " Alexandre Belloni
@ 2024-07-09 15:43 ` Richard Purdie
2024-07-09 17:13 ` Niko Mauno
0 siblings, 1 reply; 4+ messages in thread
From: Richard Purdie @ 2024-07-09 15:43 UTC (permalink / raw)
To: alexandre.belloni, niko.mauno; +Cc: openembedded-core
On Tue, 2024-07-09 at 16:10 +0200, Alexandre Belloni via
lists.openembedded.org wrote:
> Hello,
>
> Can you submit one patch per recipe?
FWIW I tweaked the shortlog prefix in master-next to mesa/dnf: which
resolves this case.
Cheers,
Richard
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [OE-core] [PATCH] Fix missing leading whitespace with ':append'
2024-07-09 15:43 ` Richard Purdie
@ 2024-07-09 17:13 ` Niko Mauno
0 siblings, 0 replies; 4+ messages in thread
From: Niko Mauno @ 2024-07-09 17:13 UTC (permalink / raw)
To: Richard Purdie, alexandre.belloni, niko.mauno; +Cc: openembedded-core
On 7/9/24 18:43, Richard Purdie wrote:
> On Tue, 2024-07-09 at 16:10 +0200, Alexandre Belloni via
> lists.openembedded.org wrote:
>> Hello,
>>
>> Can you submit one patch per recipe?
>
> FWIW I tweaked the shortlog prefix in master-next to mesa/dnf: which
> resolves this case.
>
> Cheers,
>
> Richard
Apologies, I failed to realize this before submitting a v2 of the commit
as a series of two separate patches.
Please ignore it.
- Niko
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-07-09 17:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-09 12:02 [PATCH] Fix missing leading whitespace with ':append' niko.mauno
2024-07-09 14:10 ` [OE-core] " Alexandre Belloni
2024-07-09 15:43 ` Richard Purdie
2024-07-09 17:13 ` Niko Mauno
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox