diff --git a/meta-oe/recipes-devtools/boot-time-analysis-tools/boot-time-analysis-tools_0.7.1.bb b/meta-oe/recipes-devtools/boot-time-analysis-tools/boot-time-analysis-tools_0.7.1.bb new file mode 100644 index 0000000000..00a5c8b960 --- /dev/null +++ b/meta-oe/recipes-devtools/boot-time-analysis-tools/boot-time-analysis-tools_0.7.1.bb @@ -0,0 +1,13 @@ +SUMMARY = "Boot time analysis tools from CentOS Automotive SIG" +REQUIRED_DISTRO_FEATURES = "systemd" +DESCRIPTION = "Tools for analyzing and visualizing system boot time" +HOMEPAGE = "https://gitlab.com/CentOS/automotive/src/boot-time-analysis-tools" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1c2e0cc0dec0b709fe547806b55737b0" + +SRC_URI = "git://gitlab.com/CentOS/automotive/src/boot-time-analysis-tools.git;protocol=https;branch=main;tag=${PV}" +SRCREV = "2409ce37e7389d8079bdb8740cb6a44b505fb8d4" + +inherit setuptools3 features_check + +RDEPENDS:${PN} = "python3-dbus python3-systemd " diff --git a/meta-oe/recipes-devtools/boot-time-analysis-tools/cntvct-log_0.7.1.bb b/meta-oe/recipes-devtools/boot-time-analysis-tools/cntvct-log_0.7.1.bb new file mode 100644 index 0000000000..8cf2a4c225 --- /dev/null +++ b/meta-oe/recipes-devtools/boot-time-analysis-tools/cntvct-log_0.7.1.bb @@ -0,0 +1,27 @@ +SUMMARY = "cntvct-log - ARM virtual counter boot time logger" +DESCRIPTION = "Userspace tool to log ARM CNTVCT_EL0 counter values for boot time analysis" +HOMEPAGE = "https://gitlab.com/CentOS/automotive/src/boot-time-analysis-tools" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://../LICENSE;md5=1c2e0cc0dec0b709fe547806b55737b0" + +SRC_URI = "git://gitlab.com/CentOS/automotive/src/boot-time-analysis-tools.git;protocol=https;branch=main;tag=${PV}" +SRCREV = "2409ce37e7389d8079bdb8740cb6a44b505fb8d4" + +S = "${UNPACKDIR}/cntvct-log-${PV}/cntvct-log" + +inherit meson systemd + +# Manually install service file if meson.build doesn't handle it +do_install:append() { + if [ -f ${S}/usr/lib/systemd/system/cntvct@.service ]; then + install -d ${D}${systemd_system_unitdir} + install -m 0644 ${S}/usr/lib/systemd/system/cntvct@.service \ + ${D}${systemd_system_unitdir}/cntvct@.service + fi +} + +SYSTEMD_SERVICE:${PN} = "cntvct@.service" +SYSTEMD_AUTO_ENABLE = "disable" + +# Explicitly include the service file in the package +FILES:${PN} += "${systemd_system_unitdir}/cntvct@.service"