Commit Graph

8 Commits

Author SHA1 Message Date
Yi Zhao
b868008c75
e2tools: fix buildpath in ptest
Remove ${RECIPE_SYSROOT_NATIVE} from config.status to fix QA warning:

ERROR: lib32-e2tools-0.1.2-r0 do_package_qa: QA Issue: File
/usr/lib/e2tools/ptest/build/config.status in package
lib32-e2tools-ptest contains reference to TMPDIR [buildpaths]

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-12-25 00:13:52 -08:00
Yoann Congal
9b995cb29a
e2tools: join lines in generated file to fix buildpaths errors
The generated file "config.status" contains WORKDIR paths in strings
literal split across multiple lines, like:
  S["foo"]="/path/to/work"\
  "dir/"
These line splits prevent the usual sed from working properly.
Make a first pass on the file to undo any line split.

Fixes this error (that may happen depending on TOPDIR path length):
  ERROR: e2tools-0.1.2-r0 do_package_qa: QA Issue: File /usr/lib/e2tools/ptest/build/config.status in package e2tools-ptest contains reference to TMPDIR [buildpaths]
Seen on AB: https://autobuilder.yoctoproject.org/valkyrie/#/builders/87/builds/79/steps/13/logs/stdio

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-12-22 06:58:46 -08:00
Khem Raj
0856c56132
e2tools: Fix buildpaths in ptests
Currently the path checks are escaping QA check for buildpath detection but config.status
still has paths which show up in reproduciblity failures, comparing build in path A and
build in path B, content of config.status don't end up same.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-25 14:59:17 -08:00
Khem Raj
714b3adc3a
e2tools: Fix ptest runs after S moved into UNPACKDIR
Adjust for new paths

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-23 08:46:33 -07:00
Khem Raj
d8259c30aa
e2tools: Do not hardcode 'git' as part of path in ptests
Before S was not inside UNPACKDIR and default path for recipes
using git fetcher would be in WORKDIR/git but it has changed
now recently after S moved inside UNPACKDIR the name of source folder
is no more 'git', use wildcard to find the files to delete

Fixes
ERROR: e2tools-0.1.2-r0 do_package_qa: QA Issue: /usr/lib/e2tools/ptest/e2tools-0.1.2/.git/hooks/update.sample contained in package e2tools-ptest requires /usr/bin/sh, but no providers found in RDEPENDS:e2tools-ptest? [file-rdeps]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-14 00:00:35 -07:00
Alper Ak
df6af9a16e
e2tools: Fix contains reference to TMPDIR [buildpaths] error
ERROR: e2tools-0.1.2-r0 do_package_qa: QA Issue: File /usr/lib/e2tools/ptest/e2tools-0.1.2/autom4te.cache/requests in package e2tools-ptest contains reference to TMPDIR [buildpaths]
ERROR: e2tools-0.1.2-r0 do_package_qa: QA Issue: File /usr/lib/e2tools/ptest/e2tools-0.1.2/autom4te.cache/traces.0 in package e2tools-ptest contains reference to TMPDIR [buildpaths]

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:53 -07:00
Alexander Kanavin
fc78d37ff0
meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00
Yi Zhao
0a2b230d5c
e2tools: upgrade 0.1.0 -> 0.1.2
ChangeLog:
https://github.com/e2tools/e2tools/releases/tag/v0.1.2

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-29 10:01:08 -07:00