diff mbox series

[meta-oe,1/2] fluentbit: set source directory to enable patch application

Message ID 20251104093017.474084-1-timotheus.giuliani@philips.com
State Under Review
Headers show
Series [meta-oe,1/2] fluentbit: set source directory to enable patch application | expand

Commit Message

Timotheus Giuliani Nov. 4, 2025, 9:30 a.m. UTC
The recipe was missing the explicit setting of the source directory
variable S, which prevented patches from being applied correctly during
the build process. This commit adds the missing S variable assignment
to point to the git checkout location at ${WORKDIR}/git, ensuring that
the do_patch task can locate the source files and apply the configured
patches successfully.
Without this setting, the build system would fail to find the source
tree in the expected location.

Signed-off-by: Timotheus Giuliani <timotheus.giuliani@philips.com>
---
 meta-oe/recipes-extended/fluentbit/fluentbit_4.0.1.bb | 1 +
 1 file changed, 1 insertion(+)

Comments

Gyorgy Sarvari Nov. 4, 2025, 11:28 a.m. UTC | #1
On 11/4/25 10:30, Timotheus Giuliani via lists.openembedded.org wrote:
> The recipe was missing the explicit setting of the source directory
> variable S, which prevented patches from being applied correctly during
> the build process. This commit adds the missing S variable assignment
> to point to the git checkout location at ${WORKDIR}/git, ensuring that
> the do_patch task can locate the source files and apply the configured
> patches successfully.
> Without this setting, the build system would fail to find the source
> tree in the expected location.
>
> Signed-off-by: Timotheus Giuliani <timotheus.giuliani@philips.com>
> ---
>  meta-oe/recipes-extended/fluentbit/fluentbit_4.0.1.bb | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit_4.0.1.bb b/meta-oe/recipes-extended/fluentbit/fluentbit_4.0.1.bb
> index 05e4fd937f..4d82abc783 100644
> --- a/meta-oe/recipes-extended/fluentbit/fluentbit_4.0.1.bb
> +++ b/meta-oe/recipes-extended/fluentbit/fluentbit_4.0.1.bb
> @@ -32,6 +32,7 @@ SRC_URI:append:libc-musl = "\
>  # prefix tag with "v" to avoid upgrade to random tags like "20220215"
>  UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>(\d+(\.\d+)+))"
>  
> +S = "${WORKDIR}/git"

In the latest master branch this is not needed - actually it causes a
fatal error. It is set automatically for recipes fetching from git.

>  
>  PACKAGECONFIG ??= "\
>      aws \
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#121293): https://lists.openembedded.org/g/openembedded-devel/message/121293
> Mute This Topic: https://lists.openembedded.org/mt/116115059/6084445
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [skandigraun@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit_4.0.1.bb b/meta-oe/recipes-extended/fluentbit/fluentbit_4.0.1.bb
index 05e4fd937f..4d82abc783 100644
--- a/meta-oe/recipes-extended/fluentbit/fluentbit_4.0.1.bb
+++ b/meta-oe/recipes-extended/fluentbit/fluentbit_4.0.1.bb
@@ -32,6 +32,7 @@  SRC_URI:append:libc-musl = "\
 # prefix tag with "v" to avoid upgrade to random tags like "20220215"
 UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>(\d+(\.\d+)+))"
 
+S = "${WORKDIR}/git"
 
 PACKAGECONFIG ??= "\
     aws \