blob: befbdbc929d34fa23982df6b805bc86ca6bdd5b7 [file] [log] [blame]
Brad Bishop2ad7ce32017-07-09 23:41:49 -04001SUMMARY = "Phosphor Mapper Configuration"
2DESCRIPTION = "Meta-recipe, pulling in native recipes that wish to add \
3configuration files to the native /usr/share/phosphor-mapper filesystem."
4HOMEPAGE = "http://github.com/openbmc/phosphor-objmgr"
5PR = "r1"
6
7inherit obmc-phosphor-license
8inherit native
9inherit phosphor-mapper
10
11PHOSPHOR_MAPPER_CONFIGS = " \
12 phosphor-dbus-interfaces-mapper-config-native \
13 phosphor-legacy-namespace-mapper-config-native \
14 "
15
16DEPENDS += "${PHOSPHOR_MAPPER_CONFIGS}"
17
18# To add namespaces and blacklists to the mapper configuration,
19# create a native recipe in your layer, and add it to
20# PHOSPHOR_MAPPER_CONFIGS with a bbappend to this recipe.
21# Recipes should set one of the variables below.
22# Consult phosphor-mapper.bbclass for additional information.
23
Brad Bishop4f045d02018-10-22 20:48:49 -040024# Add services to be monitored.
25PHOSPHOR_MAPPER_SERVICE = ""
26
Brad Bishop2ad7ce32017-07-09 23:41:49 -040027# Add interfaces to be monitored.
28PHOSPHOR_MAPPER_INTERFACE = ""
29
Brad Bishop4f045d02018-10-22 20:48:49 -040030# Blacklist services from being monitored.
31PHOSPHOR_MAPPER_SERVICE_BLACKLIST = ""
32
Brad Bishop2ad7ce32017-07-09 23:41:49 -040033do_install() {
34 install -d ${D}/${namespace_dir}
35 install -d ${D}/${interface_dir}
Brad Bishop4f045d02018-10-22 20:48:49 -040036 install -d ${D}/${serviceblacklist_dir}
Brad Bishop2ad7ce32017-07-09 23:41:49 -040037}