Skip to contentSkip to conversation

bpftool: Fix externalsrc support

PATCH Superseded Denys Zagorui 1 participant 1 message May 23, 2023

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bpftool: Fix externalsrc support

When the externalsrc class is used the tasks listed in SRCTREECOVEREDTASKS are deleted to prevent them being executed. If externalsrc is used for the kernel then this will include virtual/kernel:do_patch.

We can depend on do_shared_workdir instead as this will survive when externalsrc is used.

Similar to [openembedded-core] (eab605bab945 "perf: Fix externalsrc support")

---
 meta-oe/recipes-kernel/bpftool/bpftool.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-kernel/bpftool/bpftool.bb +1 -1
index 67a821c07..bbfab47aa 100644
@@ -7,7 +7,7 @@ PROVIDES = "virtual/bpftool"
 
 inherit bash-completion kernelsrc kernel-arch
 
-do_populate_lic[depends] += "virtual/kernel:do_patch"
+do_populate_lic[depends] += "virtual/kernel:do_shared_workdir"
 
 EXTRA_OEMAKE = "\
     V=1 \
Signature · 1 line
2.35.6