summaryrefslogtreecommitdiffstats
path: root/meta/conf
diff options
context:
space:
mode:
authorDaniel Turull <daniel.turull@ericsson.com>2025-06-19 10:47:35 +0200
committerSteve Sakoman <steve@sakoman.com>2025-07-07 07:42:58 -0700
commit5b7a6dec8542968b5062e4da407e322dda50326b (patch)
tree70c95761c72f786cf18fd70c6ac84122e2add3b6 /meta/conf
parent20d38517183f6bf183c1119fb363dd4bb302bc05 (diff)
downloadpoky-5b7a6dec8542968b5062e4da407e322dda50326b.tar.gz
package: export debugsources in PKGDESTWORK as json
The source information used during packaging can be use from other tasks to have more detailed information on the files used during the compilation and improve SPDX accuracy. Source files used during compilation are store as compressed zstd json in pkgdata/debugsources/$PN-debugsources.json.zstd Format: { binary1: [src1, src2, ...], binary2: [src1, src2, ...] } I checked the sstate size, and it slightly increases using core-image-full-cmdline: without patch: 2456792 KB sstate-cache/ with patch: 2460028 KB sstate-cache/ (4236 KB or 0.17%) (From OE-Core rev: c507dcb8a8780a42bfe68b1ebaff0909b4236e6b) Adaptations to match spdx in scarthgap: change BP to PF CC: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> CC: Richard Purdie <richard.purdie@linuxfoundation.org> (From OE-Core rev: cba53212f5debf897752453364b9756a05c197de) Signed-off-by: Daniel Turull <daniel.turull@ericsson.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/conf')
-rw-r--r--meta/conf/bitbake.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 78f15b76ae..acf4e2d153 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -989,5 +989,7 @@ oe.sstatesig.find_sstate_manifest[vardepsexclude] = "BBEXTENDCURR BBEXTENDVARIAN
989oe.utils.get_multilib_datastore[vardepsexclude] = "DEFAULTTUNE_MULTILIB_ORIGINAL OVERRIDES" 989oe.utils.get_multilib_datastore[vardepsexclude] = "DEFAULTTUNE_MULTILIB_ORIGINAL OVERRIDES"
990oe.path.format_display[vardepsexclude] = "TOPDIR" 990oe.path.format_display[vardepsexclude] = "TOPDIR"
991oe.utils.get_bb_number_threads[vardepsexclude] = "BB_NUMBER_THREADS" 991oe.utils.get_bb_number_threads[vardepsexclude] = "BB_NUMBER_THREADS"
992oe.package.save_debugsources_info[vardepsexclude] = "BB_NUMBER_THREADS"
993oe.package.read_debugsources_info[vardepsexclude] = "BB_NUMBER_THREADS"
992oe.packagedata.emit_pkgdata[vardepsexclude] = "BB_NUMBER_THREADS" 994oe.packagedata.emit_pkgdata[vardepsexclude] = "BB_NUMBER_THREADS"
993oe.packagedata.read_subpkgdata_extended[vardepsexclude] = "BB_NUMBER_THREADS" 995oe.packagedata.read_subpkgdata_extended[vardepsexclude] = "BB_NUMBER_THREADS"