aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-lxc
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2021-06-24 14:59:47 -0400
committerScott Murray <scott.murray@konsulko.com>2021-06-24 14:59:47 -0400
commitde8686a062a493e901b684dc49af2b98e6caa121 (patch)
tree6e24d06c2dbaec690c4bcceffdf8461432f044f0 /meta-agl-lxc
parent473894df92072f2b58839667b7db61dcb7cdef21 (diff)
meta-agl-lxc: add packagegroup-core-tools-profile bbappend
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
Diffstat (limited to 'meta-agl-lxc')
-rw-r--r--meta-agl-lxc/recipes-core/packagegroups/packagegroup-core-tools-profile.bbappend8
1 files changed, 8 insertions, 0 deletions
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
index 00000000..892ac7b1
--- /dev/null
+++ b/meta-agl-lxc/recipes-core/packagegroups/packagegroup-core-tools-profile.bbappend
@@ -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 = ""