Skip to content

Commit 841b238

Browse files
indresh-sharmasuvam.bhunia
authored andcommitted
[vigiles.bbclass] Remove do_unpack dependency to prevent unnecessary fetch/unpack operations
Setting nostamp = "1" forces Vigiles tasks to run every time to gather metadata for SBOM generation. However, when these tasks depend on do_unpack, it triggers fetch and unpack steps even if the packages are already available in the sstate cache, leading to increased build times. This change removes the do_unpack dependency to optimize build performance.
1 parent 961aef0 commit 841b238

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

classes/vigiles.bbclass

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ require conf/vigiles.conf
1616

1717
addtask do_vigiles_pkg after do_packagedata before do_rm_work
1818
do_vigiles_pkg[nostamp] = "1"
19-
do_vigiles_pkg[rdeptask] += "do_unpack"
2019
do_vigiles_pkg[rdeptask] += "do_packagedata"
2120

2221
SPDX_ORG ??= "OpenEmbedded ()"
@@ -135,7 +134,7 @@ python do_collect_build_deps() {
135134
vigiles_collect_pkg_info(d)
136135
}
137136

138-
addtask do_collect_build_deps after do_package do_packagedata do_unpack before do_populate_sdk do_build do_rm_work
137+
addtask do_collect_build_deps after do_package do_packagedata before do_populate_sdk do_build do_rm_work
139138
do_collect_build_deps[nostamp] = "1"
140139
do_collect_build_deps[deptask] = "do_collect_build_deps"
141140

0 commit comments

Comments
 (0)