Brad Bishop | 2ad7ce3 | 2017-07-09 23:41:49 -0400 | [diff] [blame] | 1 | # To add namespaces and blacklists to the mapper configuration, |
| 2 | # create a native recipe in your layer, and add it to |
| 3 | # PHOSPHOR_MAPPER_CONFIGS with a bbappend to this recipe. |
| 4 | # Recipes should set one of the variables below. |
| 5 | # Consult phosphor-mapper.bbclass for additional information. |
Ed Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame] | 6 | SUMMARY = "Phosphor Mapper Configuration" |
| 7 | DESCRIPTION = "Meta-recipe, pulling in native recipes that wish to add \ |
| 8 | configuration files to the native /usr/share/phosphor-mapper filesystem." |
| 9 | HOMEPAGE = "http://github.com/openbmc/phosphor-objmgr" |
| 10 | LICENSE = "Apache-2.0" |
| 11 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" |
| 12 | DEPENDS += "${PHOSPHOR_MAPPER_CONFIGS}" |
| 13 | PR = "r1" |
Brad Bishop | 2ad7ce3 | 2017-07-09 23:41:49 -0400 | [diff] [blame] | 14 | |
Ed Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame] | 15 | inherit phosphor-mapper |
| 16 | inherit native |
Brad Bishop | 4f045d0 | 2018-10-22 20:48:49 -0400 | [diff] [blame] | 17 | |
Brad Bishop | 2ad7ce3 | 2017-07-09 23:41:49 -0400 | [diff] [blame] | 18 | do_install() { |
| 19 | install -d ${D}/${namespace_dir} |
| 20 | install -d ${D}/${interface_dir} |
Brad Bishop | 4f045d0 | 2018-10-22 20:48:49 -0400 | [diff] [blame] | 21 | install -d ${D}/${serviceblacklist_dir} |
Brad Bishop | 2ad7ce3 | 2017-07-09 23:41:49 -0400 | [diff] [blame] | 22 | } |
Ed Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame] | 23 | |
| 24 | PHOSPHOR_MAPPER_CONFIGS = " \ |
| 25 | phosphor-dbus-interfaces-mapper-config-native \ |
| 26 | phosphor-legacy-namespace-mapper-config-native \ |
| 27 | " |
| 28 | # Add services to be monitored. |
| 29 | PHOSPHOR_MAPPER_SERVICE = "" |
| 30 | # Add interfaces to be monitored. |
| 31 | PHOSPHOR_MAPPER_INTERFACE = "" |
| 32 | # Blacklist services from being monitored. |
| 33 | PHOSPHOR_MAPPER_SERVICE_BLACKLIST = "" |