Khem Raj 2ec5e69d18 tcpreplay: fix buildpaths QA warning in tcpreplay-dev package
configure is invoked with --with-libpcap=${STAGING_DIR_HOST}${prefix},
which causes libpcap's absolute recipe-sysroot path to be baked into
two generated files:

  - src/defines.h: the #include <...pcap.h> path substituted from
    @LPCAPINC@
  - src/libtcpreplay.pc: the -L<path> in Libs.private substituted from
    @LIBS@/@LIBTCPREPLAY_PCLIBS@

Both are shipped in the tcpreplay-dev package, tripping:

  WARNING: tcpreplay-4.6.0-r0 do_package_qa: QA Issue: File
  /usr/lib/pkgconfig/libtcpreplay.pc in package tcpreplay-dev contains
  reference to TMPDIR [buildpaths]
  WARNING: tcpreplay-4.6.0-r0 do_package_qa: QA Issue: File
  /usr/include/tcpreplay/defines.h in package tcpreplay-dev contains
  reference to TMPDIR [buildpaths]

The existing do_install:append() sed only stripped ${RECIPE_SYSROOT}
from ${S}/src/defines.h (needed separately, since that file is shipped
verbatim into the tcpreplay-src debug package), but ${D}/.../defines.h
and libtcpreplay.pc are copied into ${D} by the automake install rules
before :append() runs, so they were never touched. Extend the sed to
also cover both installed files under ${D}.

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

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%