blob: 68163e1f39b6642ac9c8e773c9e53f1affed1d92 [file] [log] [blame]
Brad Bishopf8a7cd12017-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"
Patrick Venture9d6b2d12018-11-03 14:28:21 -07006LICENSE = "Apache-2.0"
7LIC_FILES_CHKSUM = "file://${PHOSPHORBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658"
Brad Bishopf8a7cd12017-07-09 23:41:49 -04008
Brad Bishopf8a7cd12017-07-09 23:41:49 -04009inherit native
10inherit phosphor-mapper
11
12PHOSPHOR_MAPPER_CONFIGS = " \
13 phosphor-dbus-interfaces-mapper-config-native \
14 phosphor-legacy-namespace-mapper-config-native \
15 "
16
17DEPENDS += "${PHOSPHOR_MAPPER_CONFIGS}"
18
19# To add namespaces and blacklists to the mapper configuration,
20# create a native recipe in your layer, and add it to
21# PHOSPHOR_MAPPER_CONFIGS with a bbappend to this recipe.
22# Recipes should set one of the variables below.
23# Consult phosphor-mapper.bbclass for additional information.
24
Brad Bishop385c63f2018-10-22 20:48:49 -040025# Add services to be monitored.
26PHOSPHOR_MAPPER_SERVICE = ""
27
Brad Bishopf8a7cd12017-07-09 23:41:49 -040028# Add interfaces to be monitored.
29PHOSPHOR_MAPPER_INTERFACE = ""
30
Brad Bishop385c63f2018-10-22 20:48:49 -040031# Blacklist services from being monitored.
32PHOSPHOR_MAPPER_SERVICE_BLACKLIST = ""
33
Brad Bishopf8a7cd12017-07-09 23:41:49 -040034do_install() {
35 install -d ${D}/${namespace_dir}
36 install -d ${D}/${interface_dir}
Brad Bishop385c63f2018-10-22 20:48:49 -040037 install -d ${D}/${serviceblacklist_dir}
Brad Bishopf8a7cd12017-07-09 23:41:49 -040038}