[xenomai-images][PATCH 2/6] Add trace-cmd to debug images
Jan Kiszka <[email protected]>
| Newsgroups | dev.linux.lists.xenomai |
|---|---|
| Message-ID | <d83f7b601c031835a822b4222a24fff776f60b97.1781428654.git.jan.kiszka@siemens.com> |
From: Jan Kiszka <[email protected]> Simplifies interaction with ftrace which is part of the debug config. May eventually permit testing it in CI as well. Signed-off-by: Jan Kiszka <[email protected]> --- recipes-core/images/demo-image.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-core/images/demo-image.bb b/recipes-core/images/demo-image.bb index 7ea4dbe..3133582 100644 --- a/recipes-core/images/demo-image.bb +++ b/recipes-core/images/demo-image.bb @@ -46,6 +46,7 @@ IMAGE_PREINSTALL += " \ ifupdown isc-dhcp-client net-tools iputils-ping ssh \ iw wireless-tools wpasupplicant systemd-timesyncd dbus \ lsb-release auditd" +IMAGE_PREINSTALL += "${@'trace-cmd' if d.getVar('XENOMAI_DEBUG') == '1' else ''}" IMAGE_INSTALL:append:xenomai3 = " ${@get_package_names(d)}" IMAGE_INSTALL:append:xenomai4 = " libevl-test" -- 2.47.3