Brad Bishop | f8a7cd1 | 2017-07-09 23:41:49 -0400 | [diff] [blame] | 1 | SUMMARY = "Phosphor Mapper Configuration" |
| 2 | DESCRIPTION = "Meta-recipe, pulling in native recipes that wish to add \ |
| 3 | configuration files to the native /usr/share/phosphor-mapper filesystem." |
| 4 | HOMEPAGE = "http://github.com/openbmc/phosphor-objmgr" |
| 5 | PR = "r1" |
| 6 | |
| 7 | inherit obmc-phosphor-license |
| 8 | inherit native |
| 9 | inherit phosphor-mapper |
| 10 | |
| 11 | PHOSPHOR_MAPPER_CONFIGS = " \ |
| 12 | phosphor-dbus-interfaces-mapper-config-native \ |
| 13 | phosphor-legacy-namespace-mapper-config-native \ |
| 14 | " |
| 15 | |
| 16 | DEPENDS += "${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 | |
| 24 | # Add path namespaces to be monitored. |
| 25 | PHOSPHOR_MAPPER_NAMESPACE = "" |
| 26 | |
Brad Bishop | 385c63f | 2018-10-22 20:48:49 -0400 | [diff] [blame] | 27 | # Add services to be monitored. |
| 28 | PHOSPHOR_MAPPER_SERVICE = "" |
| 29 | |
Brad Bishop | f8a7cd1 | 2017-07-09 23:41:49 -0400 | [diff] [blame] | 30 | # Add interfaces to be monitored. |
| 31 | PHOSPHOR_MAPPER_INTERFACE = "" |
| 32 | |
Brad Bishop | 385c63f | 2018-10-22 20:48:49 -0400 | [diff] [blame] | 33 | # Blacklist services from being monitored. |
| 34 | PHOSPHOR_MAPPER_SERVICE_BLACKLIST = "" |
| 35 | |
Brad Bishop | f8a7cd1 | 2017-07-09 23:41:49 -0400 | [diff] [blame] | 36 | do_install() { |
| 37 | install -d ${D}/${namespace_dir} |
| 38 | install -d ${D}/${interface_dir} |
Brad Bishop | 385c63f | 2018-10-22 20:48:49 -0400 | [diff] [blame] | 39 | install -d ${D}/${serviceblacklist_dir} |
Brad Bishop | f8a7cd1 | 2017-07-09 23:41:49 -0400 | [diff] [blame] | 40 | } |