meta-agl-lxc: add packagegroup-core-tools-profile bbappend 57/26457/1
authorScott Murray <scott.murray@konsulko.com>
Thu, 24 Jun 2021 18:59:47 +0000 (14:59 -0400)
committerScott Murray <scott.murray@konsulko.com>
Thu, 24 Jun 2021 18:59:47 +0000 (14:59 -0400)
Add a bbappend for packagegroup-core-tools-profile to disable the
LTTng related tools and perf when building for container guests to
avoid issues with kernel source dependencies.

Bug-AGL: SPEC-3983

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I394495bcc36505103066c62dd075edd1c5c360b0

meta-agl-lxc/recipes-core/packagegroups/packagegroup-core-tools-profile.bbappend [new file with mode: 0644]

diff --git a/meta-agl-lxc/recipes-core/packagegroups/packagegroup-core-tools-profile.bbappend b/meta-agl-lxc/recipes-core/packagegroups/packagegroup-core-tools-profile.bbappend
new file mode 100644 (file)
index 0000000..892ac7b
--- /dev/null
@@ -0,0 +1,8 @@
+# Disable LTTng dependencies when building for container guest to avoid
+# lttng-modules being pulled in as a dependency.
+LTTNGUST_aglcontainerguest = ""
+LTTNGTOOLS_aglcontainerguest = ""
+LTTNGMODULES_aglcontainerguest = ""
+
+# Similarly, disable perf since it builds out of the kernel source tree.
+PERF_aglcontainerguest = ""