mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-08-28 23:30:21 +00:00
2a24e6ffdf0714cbfdd98a95302bdd69841eeaeb
configure.ac resolves SHA256SUM_BIN and LS_BIN via AC_PATH_PROG, which
searches $PATH at configure time. Since hosttools is early in $PATH
during the build, these resolved to the absolute
build/tmp/hosttools/{sha256sum,ls} paths and got baked into config.h
via AC_DEFINE_UNQUOTED, ending up as string literals in the compiled
snbk binary:
WARNING: snapper-0.13.1-r0 do_package_qa: QA Issue: File
/usr/sbin/snbk in package snapper contains reference to TMPDIR
[buildpaths]
The recipe already has a "Avoid HOSTTOOLS path in binaries" block that
overrides several of these AC_PATH_PROG variables (DIFF_BIN, RM_BIN,
etc.) with relocatable ${bindir} paths so autoconf skips the $PATH
search, but it was missing SHA256SUM_BIN and LS_BIN, which snbk (a
newer client tool) depends on. Add the same override for both.
Verified via cleansstate rebuild: log.do_package_qa no longer contains
any buildpaths warnings, and `strings` on the rebuilt snbk binary no
longer contains any build/tmp/hosttools paths.
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Collection of layers for the OE-core universe
Main layer maintainer: Khem Raj raj.khem@gmail.com
This repository is a collection of layers to supplement OE-Core with additional packages, Each layer have designated maintainer Please see the respective READMEs in the layer subdirectories
Description
Languages
BitBake
86.2%
Shell
5.9%
C
2.8%
Roff
1.9%
NASL
1.7%
Other
1.3%