summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/dbus/phosphor-objmgr/mapper-subtree-remove@.service
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2022-10-08 05:23:47 +0300
committerPatrick Williams <patrick@stwcx.xyz>2022-10-10 23:24:21 +0300
commit0450a0297c37abb07e5230a1db797e93672f287a (patch)
treeab8face8098254fc19fd5f5081ecc6791367d5b0 /meta-phosphor/recipes-phosphor/dbus/phosphor-objmgr/mapper-subtree-remove@.service
parentf2ef645363103b068f473e265dbe0202a97fc42d (diff)
downloadopenbmc-0450a0297c37abb07e5230a1db797e93672f287a.tar.xz
phosphor-objmgr: recipe cleanups
Big cleanups to the phosphor-mapper/phosphor-objmgr recipe. - Remove all "mapper-config-native" constructs as the underlying repository has no such support. - Remove all mapper-related bbclasses as they are no longer relevant. - Remove environment support in service file as the mapper executable no longer supports any arguments. - Greatly simplify the 'libmapper' packaging to avoid stray python in the recipe. - Update all recipes to use `DEPENDS += "libmapper"` where appropriate for clarity if they use libmapper. - Rename the recipe from phosphor-mapper to phosphor-objmgr to match the repository name, which allows simpler devtool invocations. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5a64e2feddd1a7919813e007411f9c28b6c9a330
Diffstat (limited to 'meta-phosphor/recipes-phosphor/dbus/phosphor-objmgr/mapper-subtree-remove@.service')
-rw-r--r--meta-phosphor/recipes-phosphor/dbus/phosphor-objmgr/mapper-subtree-remove@.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/dbus/phosphor-objmgr/mapper-subtree-remove@.service b/meta-phosphor/recipes-phosphor/dbus/phosphor-objmgr/mapper-subtree-remove@.service
new file mode 100644
index 0000000000..835c947bbe
--- /dev/null
+++ b/meta-phosphor/recipes-phosphor/dbus/phosphor-objmgr/mapper-subtree-remove@.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=mapper subtree-remove %I
+Wants=obmc-mapper.target
+After=obmc-mapper.target
+
+[Service]
+Type=oneshot
+RemainAfterExit=no
+Restart=on-failure
+TimeoutStartSec=infinity
+ExecStart=/usr/bin/mapper subtree-remove %I