diff mbox series

[meta-filesystems] tcmu-runner: Initial commit

Message ID 20260911045624.4072516-1-alistair.francis@wdc.com
State New
Headers show
Series [meta-filesystems] tcmu-runner: Initial commit | expand

Commit Message

Alistair Francis Sept. 11, 2026, 4:56 a.m. UTC
From: Alistair Francis <alistair.francis@wdc.com>

Initial support for verion 1.6.0 of tcmu-runner.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
---
 .../tcmu-runner/tcmu-runner_1.6.0.bb          | 33 +++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 meta-filesystems/recipes-utils/tcmu-runner/tcmu-runner_1.6.0.bb
diff mbox series

Patch

diff --git a/meta-filesystems/recipes-utils/tcmu-runner/tcmu-runner_1.6.0.bb b/meta-filesystems/recipes-utils/tcmu-runner/tcmu-runner_1.6.0.bb
new file mode 100644
index 0000000000..c851bb10f7
--- /dev/null
+++ b/meta-filesystems/recipes-utils/tcmu-runner/tcmu-runner_1.6.0.bb
@@ -0,0 +1,33 @@ 
+SUMMARY = "A daemon that handles the userspace side of the LIO TCM-User backstore"
+LICENSE = "Apache-2.0 OR LGPLv2.1"
+LIC_FILES_CHKSUM = " \
+	file://LICENSE.LGPLv2.1;md5=a7ef827a98fa240d37910ac4e8ce3f53 \
+	file://LICENSE.Apache2;md5=6c4db32a2fa8717faffa1d4f10136f47 \
+	"
+
+SRCREV = "1bdb239fa183c84d2ace6b52aa33476968a0cef7"
+
+SRC_URI = "git://github.com/open-iscsi/tcmu-runner.git;protocol=https;branch=main"
+
+inherit cmake pkgconfig systemd
+
+DEPENDS = "gtk4 libnl gperftools glib-2.0-native"
+
+EXTRA_OECMAKE = "-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
+		 -Dwith-rbd=false \
+		 -Dwith-glfs=false \
+                "
+
+PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
+
+PACKAGECONFIG[systemd] = "-DSUPPORT_SYSTEMD=ON,,"
+
+SYSTEMD_SERVICE:${PN} = "tcmu-runner.service"
+SYSTEMD_AUTO_ENABLE = "enable"
+
+FILES:${PN} += " \
+    ${systemd_user_unitdir}/lib \
+    ${systemd_user_unitdir}/tcmu-runner \
+    ${systemd_system_unitdir}/tcmu-runner.service \
+    ${datadir}/dbus-1 \
+"