Brad Bishop | 4c91177 | 2016-08-16 13:23:07 -0400 | [diff] [blame] | 1 | OBMC_BMC_INSTANCES ?= "0" |
Brad Bishop | 51ca97e | 2017-01-26 10:49:22 -0500 | [diff] [blame] | 2 | OBMC_CHASSIS_INSTANCES ?= "0" |
| 3 | OBMC_CHECKSTOP_INSTANCES ?= "0" |
Brad Bishop | 4c91177 | 2016-08-16 13:23:07 -0400 | [diff] [blame] | 4 | OBMC_FAN_INSTANCES ?= "" |
Brad Bishop | 51ca97e | 2017-01-26 10:49:22 -0500 | [diff] [blame] | 5 | OBMC_HOST_INSTANCES ?= "0" |
| 6 | OBMC_POWER_BUTTON_INSTANCES ?= "0" |
| 7 | OBMC_POWER_INSTANCES ?= "0" |
| 8 | OBMC_RESET_BUTTON_INSTANCES ?= "0" |
| 9 | OBMC_WATCHDOG_INSTANCES ?= "0" |
Brad Bishop | f2dd552 | 2016-08-30 08:54:14 -0400 | [diff] [blame] | 10 | |
Brad Bishop | db32a7c | 2017-03-01 16:16:06 -0500 | [diff] [blame] | 11 | # obmc-bmc-state-manager |
| 12 | # |
| 13 | # Provides an implementation of the xyz.openbmc_project.State.BMC |
| 14 | # interface. |
| 15 | VIRTUAL-RUNTIME_obmc-bmc-state-manager ?= "phosphor-state-manager-bmc" |
| 16 | |
| 17 | # obmc-chassis-state-manager |
| 18 | # |
| 19 | # Provides an implementation of the xyz.openbmc_project.State.Chassis |
| 20 | # interface. |
| 21 | VIRTUAL-RUNTIME_obmc-chassis-state-manager ?= "phosphor-state-manager-chassis" |
| 22 | |
| 23 | # obmc-host-state-manager |
| 24 | # |
| 25 | # Provides an implementation of the xyz.openbmc_project.State.Host |
| 26 | # interface. |
| 27 | VIRTUAL-RUNTIME_obmc-host-state-manager ?= "phosphor-state-manager-host" |
Brad Bishop | 4f12f72 | 2017-02-01 21:04:14 -0500 | [diff] [blame] | 28 | |
Michael Tritz | b3b5899 | 2017-03-31 12:04:32 -0500 | [diff] [blame] | 29 | # obmc-discover-system-state |
| 30 | # |
| 31 | # Provides an implementation of phosphor-discover-system-state, which, if the |
| 32 | # host is powered off, will check the current power policy and, if necessary, |
| 33 | # power the host back on. |
| 34 | VIRTUAL-RUNTIME_obmc-discover-system-state ?= "phosphor-state-manager-discover" |
| 35 | |
Matthew Barth | acd9fe4 | 2017-02-24 13:14:43 -0600 | [diff] [blame] | 36 | # obmc-fan-presence |
| 37 | # |
| 38 | # Provides implementations of fan presence detection |
| 39 | VIRTUAL-RUNTIME_obmc-fan-presence ?= "phosphor-fan-presence-tach" |
| 40 | |
Matt Spinler | 565e329 | 2017-04-17 16:34:24 -0500 | [diff] [blame] | 41 | # obmc-fan-control |
| 42 | # |
| 43 | # Provides implementations of fan control |
| 44 | VIRTUAL-RUNTIME_obmc-fan-control ?= "phosphor-fan-control" |
| 45 | |
Brad Bishop | 4f12f72 | 2017-02-01 21:04:14 -0500 | [diff] [blame] | 46 | # obmc-inventory-manager |
| 47 | # |
| 48 | # Provides an implementation of the xyz.openbmc_project.Inventory.Manager |
| 49 | # interface. |
| 50 | VIRTUAL-RUNTIME_obmc-inventory-manager ?= "phosphor-inventory-manager" |
| 51 | |
| 52 | # obmc-led-manager |
| 53 | # |
| 54 | # Provides an implementation of the xyz.openbmc_project.ledmanager interface. |
Vishwanatha Subbanna | c5fd20a | 2021-03-26 06:11:29 -0500 | [diff] [blame] | 55 | VIRTUAL-RUNTIME_obmc-leds-manager ?= "phosphor-led-manager" |
Dhruvaraj Subhashchandran | 6a1b0fc | 2017-04-27 05:29:56 -0500 | [diff] [blame] | 56 | |
| 57 | # obmc-led-monitor |
| 58 | # |
| 59 | # Provides an implementation of the FRU fault monitor. |
| 60 | VIRTUAL-RUNTIME_obmc-led-monitor ?= "phosphor-led-manager-faultmonitor" |
Brad Bishop | 4f12f72 | 2017-02-01 21:04:14 -0500 | [diff] [blame] | 61 | |
| 62 | # obmc-led-sysfs |
| 63 | # |
| 64 | # Provides an implementation of xyz.openbmc_project.Led.Physical for |
| 65 | # Linux kernel LED subsystem LEDs. |
| 66 | VIRTUAL-RUNTIME_obmc-leds-sysfs ?= "phosphor-led-sysfs" |
| 67 | |
Deepak Kodihalli | b74ceea | 2017-04-13 23:23:42 -0500 | [diff] [blame] | 68 | # obmc-bmc-download-mgr |
| 69 | # |
| 70 | # Provides an implementation of the xyz.openbmc_project.Common.TFTP |
| 71 | # interface. |
| 72 | VIRTUAL-RUNTIME_obmc-bmc-download-mgr ?= "phosphor-software-manager-download-mgr" |
| 73 | |
Andrew Geissler | a30470f | 2018-02-09 12:50:57 -0800 | [diff] [blame] | 74 | # obmc-bmc-version |
| 75 | # |
| 76 | # Provides an implementation of the xyz.openbmc_project.Software.Version |
| 77 | # interface. |
| 78 | VIRTUAL-RUNTIME_obmc-bmc-version ?= "phosphor-software-manager-version" |
| 79 | |
Gunnar Mills | cfe0084 | 2017-05-15 15:40:58 -0500 | [diff] [blame] | 80 | # obmc-bmc-updater |
| 81 | # |
| 82 | # Provides an implementation of the xyz.openbmc_project.Software.Activation |
| 83 | # interface. |
| 84 | VIRTUAL-RUNTIME_obmc-bmc-updater ?= "phosphor-software-manager-updater" |
| 85 | |
Brad Bishop | 4f12f72 | 2017-02-01 21:04:14 -0500 | [diff] [blame] | 86 | # obmc-sensors-hwmon |
| 87 | # |
| 88 | # Provides an implementation of xyz.openbmc_project.Sensor.Value |
| 89 | # for hwmon sensors. |
| 90 | VIRTUAL-RUNTIME_obmc-sensors-hwmon ?= "phosphor-hwmon" |
| 91 | |
Jayanth Othayoth | 2a5d91e | 2017-05-31 06:25:55 -0500 | [diff] [blame] | 92 | # obmc-dump-manager |
| 93 | # Provide support for managing dump |
| 94 | VIRTUAL-RUNTIME_obmc-dump-manager ?= "phosphor-debug-collector-manager" |
| 95 | |
| 96 | # obmc-dump-monitor |
| 97 | # Provide support for monitoring BMC core dumps |
| 98 | VIRTUAL-RUNTIME_obmc-dump-monitor ?= "phosphor-debug-collector-monitor" |
Jayanth Othayoth | 9be81b1 | 2017-05-08 09:25:05 -0500 | [diff] [blame] | 99 | |
Patrick Venture | 05b64af | 2019-05-13 08:35:21 -0700 | [diff] [blame] | 100 | PREFERRED_PROVIDER_virtual/obmc-system-mgmt ??= "obmc-phosphor-sysd" |
Brad Bishop | 7e60f16 | 2017-01-12 21:25:04 -0500 | [diff] [blame] | 101 | |
Brad Bishop | 3217b27 | 2017-02-22 20:50:13 -0500 | [diff] [blame] | 102 | # phosphor-hwmon-config |
| 103 | # |
| 104 | # The phosphor-hwmon package can have its configuration generated |
| 105 | # automatically if the MRW feature is enabled. |
Brad Bishop | 250a984 | 2018-03-08 23:44:34 -0500 | [diff] [blame] | 106 | VIRTUAL-RUNTIME_phosphor-hwmon-config ?= "" |
Brad Bishop | 3217b27 | 2017-02-22 20:50:13 -0500 | [diff] [blame] | 107 | |
Ratan Gupta | d3c6164 | 2017-07-06 21:09:14 +0530 | [diff] [blame] | 108 | # obmc-network-manager |
| 109 | # |
| 110 | # Provide support for managing network |
Patrick Venture | 0995aac | 2019-03-28 09:09:13 -0700 | [diff] [blame] | 111 | VIRTUAL-RUNTIME_obmc-network-manager ?= "phosphor-network" |
Ratan Gupta | d3c6164 | 2017-07-06 21:09:14 +0530 | [diff] [blame] | 112 | |
Patrick Venture | 98861c5 | 2018-02-20 12:19:56 -0800 | [diff] [blame] | 113 | # Configuration overrides for phosphor-ipmi-fru. |
Brad Bishop | 3acb95c | 2017-01-28 11:53:03 -0500 | [diff] [blame] | 114 | # |
| 115 | # The phosphor-ipmi-fru application is data-driven and requires an input |
Patrick Venture | 98861c5 | 2018-02-20 12:19:56 -0800 | [diff] [blame] | 116 | # mapping of how the host firmware reports inventory via IPMI and the mapping |
| 117 | # of that inventory metadata to DBus objects interfaces and properties. |
| 118 | |
| 119 | # The phosphor-ipmi-fru application is data-driven and requires an input |
Brad Bishop | 3acb95c | 2017-01-28 11:53:03 -0500 | [diff] [blame] | 120 | # mapping of how the host firmware reports inventory via IPMI. |
| 121 | # This virtual is a native recipe that provides that mapping by installing |
| 122 | # configuration files in the format and native sysroot location expected by |
| 123 | # the phosphor-ipmi-fru build process. |
| 124 | PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-hostfw-config ?= "phosphor-ipmi-fru-hostfw-config-example-native" |
| 125 | |
Brad Bishop | 0a544b5 | 2017-01-28 12:51:42 -0500 | [diff] [blame] | 126 | # The phosphor-ipmi-fru application is data-driven and requires an input |
| 127 | # mapping of IPMI inventory metadata to DBus objects interfaces and properties. |
| 128 | # This virtual is a native recipe that provides that mapping by installing |
| 129 | # configuration files in the format and native sysroot location expected by |
| 130 | # the phosphor-ipmi-fru build process in the native sysroot. |
| 131 | PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-inventory ?= \ |
Brad Bishop | 250a984 | 2018-03-08 23:44:34 -0500 | [diff] [blame] | 132 | "phosphor-ipmi-fru-inventory-example-native" |
Marri Devender Rao | 7b82318 | 2017-06-08 03:17:36 -0500 | [diff] [blame] | 133 | |
Deepak Kodihalli | 48be0fd | 2017-02-20 04:55:20 -0600 | [diff] [blame] | 134 | PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-properties ?= \ |
Brad Bishop | 250a984 | 2018-03-08 23:44:34 -0500 | [diff] [blame] | 135 | "phosphor-ipmi-fru-properties-native" |
Brad Bishop | 0a544b5 | 2017-01-28 12:51:42 -0500 | [diff] [blame] | 136 | |
Marri Devender Rao | 7b82318 | 2017-06-08 03:17:36 -0500 | [diff] [blame] | 137 | PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-read-inventory ?= \ |
Brad Bishop | 250a984 | 2018-03-08 23:44:34 -0500 | [diff] [blame] | 138 | "phosphor-ipmi-fru-read-inventory-example-native" |
Marri Devender Rao | 7b82318 | 2017-06-08 03:17:36 -0500 | [diff] [blame] | 139 | |
Patrick Venture | 98861c5 | 2018-02-20 12:19:56 -0800 | [diff] [blame] | 140 | # Configuration overrides for phosphor-host-ipmid. |
| 141 | # |
| 142 | # The phosphor-host-ipmid application is data-driven. |
Vishwanatha Subbanna | 7f07e7d | 2017-02-11 22:10:23 +0530 | [diff] [blame] | 143 | |
Ratan Gupta | 3aa591f | 2017-03-06 17:05:11 +0530 | [diff] [blame] | 144 | # The phosphor-host-ipmid application is data-driven and requires an input |
| 145 | # mapping of IPMI inventory sensor metadata to DBus objects interfaces and properties. |
| 146 | # This virtual is a native recipe that provides that mapping by installing |
| 147 | # configuration files in the format and native sysroot location expected by |
| 148 | # the phosphor-host-ipmid build process in the native sysroot. |
| 149 | PREFERRED_PROVIDER_virtual/phosphor-ipmi-sensor-inventory ?= \ |
Brad Bishop | 250a984 | 2018-03-08 23:44:34 -0500 | [diff] [blame] | 150 | "phosphor-ipmi-sensor-inventory-native" |
Ratan Gupta | 3aa591f | 2017-03-06 17:05:11 +0530 | [diff] [blame] | 151 | |
Patrick Venture | 0b2b165 | 2018-01-18 18:01:29 -0800 | [diff] [blame] | 152 | # The phosphor-host-ipmid application is data-driven and requires an input |
Patrick Venture | 98861c5 | 2018-02-20 12:19:56 -0800 | [diff] [blame] | 153 | # mapping of inventory object path to the sensor number and sensor metadata. |
| 154 | # This virtual is a native recipe that provides that mapping by installing |
| 155 | # configuration files in the format and native sysroot location expected by |
| 156 | # the phosphor-host-ipmid build process in the native sysroot. |
| 157 | PREFERRED_PROVIDER_virtual/phosphor-ipmi-inventory-sel ?= \ |
Brad Bishop | 250a984 | 2018-03-08 23:44:34 -0500 | [diff] [blame] | 158 | "phosphor-ipmi-inventory-sel-native" |
Patrick Venture | 98861c5 | 2018-02-20 12:19:56 -0800 | [diff] [blame] | 159 | |
| 160 | # Various other overrides. |
| 161 | |
| 162 | # The phosphor-led-manager application is data-driven and requires an input |
| 163 | # yaml of LED group and members. |
| 164 | # This virtual is a native recipe that provides that mapping by installing |
| 165 | # configuration files in the format and native sysroot location expected by |
| 166 | # the phosphor-led-manager build process in the native sysroot. |
| 167 | PREFERRED_PROVIDER_virtual/phosphor-led-manager-config-native ?= \ |
Brad Bishop | 250a984 | 2018-03-08 23:44:34 -0500 | [diff] [blame] | 168 | "phosphor-led-manager-config-example-native" |
Patrick Venture | 98861c5 | 2018-02-20 12:19:56 -0800 | [diff] [blame] | 169 | |
Deepak Kodihalli | 1f09d4a | 2017-03-16 06:32:12 -0500 | [diff] [blame] | 170 | # The phosphor-logging application has a data driven plugin that adds FRU |
| 171 | # callout information to error logs, when applications generating error logs |
| 172 | # add the requisite callout metadata to the systemd journal. The plugin requires |
| 173 | # an input mapping of Linux sysfs devices to OpenBMC DBus objects. |
| 174 | # This virtual is a native recipe that provides that mapping by installing |
| 175 | # configuration files in the format and native sysroot location expected by |
| 176 | # the phosphor-logging build process in the native sysroot. |
| 177 | PREFERRED_PROVIDER_virtual/phosphor-logging-callouts ?= \ |
Brad Bishop | 250a984 | 2018-03-08 23:44:34 -0500 | [diff] [blame] | 178 | "phosphor-logging-callouts-example-native" |
Ratan Gupta | 3aa591f | 2017-03-06 17:05:11 +0530 | [diff] [blame] | 179 | |
Brad Bishop | 0e04b2e | 2019-05-13 13:45:49 -0400 | [diff] [blame] | 180 | # The phosphor-fan-presence application is data driven and requires an input |
| 181 | # YAML that maps fans to their tach sensors. This virtual is a recipe that |
| 182 | # provides that mapping by installing configuration files in the format and |
| 183 | # sysroot location expected by the phosphor-fan-presence build process in the |
| 184 | # sysroot. |
Matt Spinler | f7d548b | 2017-03-21 15:02:13 -0500 | [diff] [blame] | 185 | PREFERRED_PROVIDER_virtual/phosphor-fan-presence-config ?= \ |
Brad Bishop | c8b67b3 | 2019-05-13 23:12:55 -0400 | [diff] [blame] | 186 | "phosphor-fan-presence-config" |
Matt Spinler | f7d548b | 2017-03-21 15:02:13 -0500 | [diff] [blame] | 187 | |
Brad Bishop | 0e04b2e | 2019-05-13 13:45:49 -0400 | [diff] [blame] | 188 | # The phosphor-fan-control application is data driven and requires a YAML file |
| 189 | # to define the fans in the system. This virtual is a recipe that provides |
| 190 | # that definition by installing the YAML file in the format and sysroot |
| 191 | # location expected by the phosphor-fan-control build process in the sysroot. |
Matt Spinler | 565e329 | 2017-04-17 16:34:24 -0500 | [diff] [blame] | 192 | PREFERRED_PROVIDER_virtual/phosphor-fan-control-fan-config ?= \ |
Brad Bishop | c8b67b3 | 2019-05-13 23:12:55 -0400 | [diff] [blame] | 193 | "phosphor-fan-control-fan-config" |
Matt Spinler | 565e329 | 2017-04-17 16:34:24 -0500 | [diff] [blame] | 194 | |
Vishwanatha Subbanna | 3de8405 | 2017-04-28 15:35:10 +0530 | [diff] [blame] | 195 | # The phosphor-gpio-monitor application is data-driven and requires an input. |
| 196 | # The application then watches the passed in input event entry for the |
| 197 | # change in polarity for the value matching user input. Once the required |
| 198 | # condition is met, it calls into a systemd target file if one is mentioned |
| 199 | # in input. |
| 200 | PREFERRED_PROVIDER_virtual/obmc-gpio-monitor ?= "phosphor-gpio-monitor" |
| 201 | |
Vishwanatha Subbanna | 2d78dd0 | 2017-06-12 13:09:10 +0530 | [diff] [blame] | 202 | # The phosphor-watchdog application is data-driven and requires an input. |
| 203 | # The application then starts a timer in disabled state. User of this timer |
| 204 | # needs to first enable and then use it. This also provides a way for changing |
| 205 | # the timeout if needed. |
| 206 | PREFERRED_PROVIDER_virtual/obmc-watchdog ?= "phosphor-watchdog" |
| 207 | |
Vishwanatha Subbanna | 0ea6f63 | 2017-10-18 15:47:54 +0530 | [diff] [blame] | 208 | # obmc-user-mgmt |
| 209 | # |
| 210 | # Provides an implementation of xyz.openbmc_project.User.Manager catering |
| 211 | # to user management |
| 212 | VIRTUAL-RUNTIME_obmc-user-mgmt ?= "phosphor-user-manager" |
| 213 | |
Brad Bishop | 7e60f16 | 2017-01-12 21:25:04 -0500 | [diff] [blame] | 214 | OBMC_DBUS_PATH_ROOT ?= "/xyz/openbmc_project" |
| 215 | OBMC_DBUS_IFACE_ROOT ?= "xyz.openbmc_project" |
Brad Bishop | 01e6b17 | 2018-01-26 22:11:36 -0500 | [diff] [blame] | 216 | |
| 217 | # VIRTUAL-RUNTIME_phosphor-ipmi-providers are the set of shared library |
| 218 | # plugins for the host-ipmid application. By default the IPMI FRU plugin |
| 219 | # is enabled. Additionally the host-ipmid recipe uses |
| 220 | # VIRTUAL-RUNTIME_phosphor-ipmi-providers to compute a list of potential |
| 221 | # IPMI whitelist recipe dependencies. For example: |
| 222 | # |
| 223 | # VIRTUAL-RUNTIME_phosphor-ipmi-providers ?= "phosphor-ipmi-fru" |
| 224 | # |
| 225 | # Will add a build dependency to host-ipmid on the |
| 226 | # phosphor-ipmi-fru-whitelist-native recipe. |
| 227 | VIRTUAL-RUNTIME_phosphor-ipmi-providers ?= "phosphor-ipmi-fru" |
Richard Marian Thomaiyar | 4b5a9ef | 2018-12-12 21:30:30 +0530 | [diff] [blame] | 228 | |
Ed Tanous | d47f9a0 | 2021-01-25 13:15:36 -0800 | [diff] [blame] | 229 | # Set security headers on builds |
| 230 | require conf/distro/include/security_flags.inc |
| 231 | |
| 232 | # Disable security on croserver. |
| 233 | # Remove if https://github.com/open-power/eCMD/pull/433 is ever merged |
| 234 | SECURITY_STRINGFORMAT_pn-croserver = "" |
| 235 | # obmc-libobmc-intf doesn't compile with security flags enabled |
| 236 | SECURITY_CFLAGS_pn-obmc-libobmc-intf = "" |
| 237 | |
| 238 | # remove when https://gerrit.openbmc-project.xyz/c/openbmc/pldm/+/39984 |
| 239 | # is merged and rev bumped |
| 240 | SECURITY_CFLAGS_pn-pldm = "" |
| 241 | |
Richard Marian Thomaiyar | 4b5a9ef | 2018-12-12 21:30:30 +0530 | [diff] [blame] | 242 | # Set the root password to '0penBmc' |
| 243 | inherit extrausers |
| 244 | |
Richard Marian Thomaiyar | eac57e7 | 2018-12-14 10:35:05 +0530 | [diff] [blame] | 245 | EXTRA_USERS_PARAMS_pn-obmc-phosphor-image = " \ |
Richard Marian Thomaiyar | 4b5a9ef | 2018-12-12 21:30:30 +0530 | [diff] [blame] | 246 | usermod -p '\$1\$UGMqyqdG\$FZiylVFmRRfl9Z0Ue8G7e/' root; \ |
| 247 | " |