Khem Raj 2a24e6ffdf snapper: fix buildpaths QA warning in snbk binary
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>
2026-08-10 22:53:42 -07:00
2026-06-23 00:45:59 -07:00
2026-08-05 10:16:17 -07:00
2026-03-02 19:25:48 -08:00

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

S
Description
No description provided
Readme 118 MiB
Languages
BitBake 86.2%
Shell 5.9%
C 2.8%
Roff 1.9%
NASL 1.7%
Other 1.3%