From 0450a0297c37abb07e5230a1db797e93672f287a Mon Sep 17 00:00:00 2001 From: Patrick Williams Date: Fri, 7 Oct 2022 21:23:47 -0500 Subject: 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 Change-Id: I5a64e2feddd1a7919813e007411f9c28b6c9a330 --- .../dbus/phosphor-objmgr/mapper-subtree-remove@.service | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 meta-phosphor/recipes-phosphor/dbus/phosphor-objmgr/mapper-subtree-remove@.service (limited to 'meta-phosphor/recipes-phosphor/dbus/phosphor-objmgr/mapper-subtree-remove@.service') 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 -- cgit v1.2.3