6 Commits

Author SHA1 Message Date
Peter Marko
e3a6de1f94
fluentbit: fix aws-error-reporter package config
Compilation fails with several errors in flb_aws_error_reporter.c

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-14 15:32:25 -07:00
Peter Marko
878e7eed56
fluentbit: add profiles package config
Since the recipe tries to list every single option, add this one which
is missing. It is enabled by default in cmake to enabling it by default
in package config retains current settings.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-14 15:32:25 -07:00
Peter Marko
9ee9a76ab8
fluentbit: fix shared-lib package config
Add library to packaged files to fix:

ERROR: fluentbit-3.2.8-r0 do_package: QA Issue: fluentbit: Files/directories were installed but not shipped in any package:
  /usr/lib/fluent-bit
  /usr/lib/fluent-bit/libfluent-bit.so
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
fluentbit: 2 installed and not shipped files. [installed-vs-shipped]

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-14 15:32:24 -07:00
Peter Marko
0edef1dadd
fluentbit: fix valgrind package config
Add valgrind dependency to fix:
fatal error: valgrind/valgrind.h: No such file or directory

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-14 15:32:24 -07:00
Peter Marko
05cc97c470
fluentbit: drop compiler optimization package configs
These manipulate compiler flags instead of using what yocto provides.
* "coverage" adds paths to binaries and thus causes buildpaths errors
* "small" strips binaries, so causes already-stripped error.
* DEBUG_BUILD is the correct way to enable debug/release flags in yocto

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-14 15:32:24 -07:00
Peter Marko
9850bfc551
fluentbit: upgrade 3.2.1 -> 3.2.8
Handle CVE-2024-50608 and CVE-2024-50609 (in 3.2.7).

Drop two patches addressed upstream.
Refresh remaining patches.
zstd is now bundled without possibility to unbundle.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-14 15:32:24 -07:00