Brad Bishop | 6491f65 | 2016-08-16 13:23:07 -0400 | [diff] [blame] | 1 | OBMC_BMC_INSTANCES ?= "0" |
Brad Bishop | b6e4512 | 2017-01-26 10:49:22 -0500 | [diff] [blame] | 2 | OBMC_CHASSIS_INSTANCES ?= "0" |
| 3 | OBMC_CHECKSTOP_INSTANCES ?= "0" |
Brad Bishop | 6491f65 | 2016-08-16 13:23:07 -0400 | [diff] [blame] | 4 | OBMC_FAN_INSTANCES ?= "" |
Brad Bishop | b6e4512 | 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 | 52d4337 | 2016-08-30 08:54:14 -0400 | [diff] [blame] | 10 | |
Brad Bishop | 9bfcfcf | 2016-09-06 23:27:27 -0400 | [diff] [blame] | 11 | PREFERRED_PROVIDER_virtual/obmc-chassis-mgmt ?= "obmc-phosphor-chassisd" |
| 12 | PREFERRED_PROVIDER_virtual/obmc-fan-mgmt ?= "obmc-phosphor-fand" |
| 13 | PREFERRED_PROVIDER_virtual/obmc-flash-mgmt ?= "obmc-phosphor-flashd" |
Brad Bishop | b6e4512 | 2017-01-26 10:49:22 -0500 | [diff] [blame] | 14 | PREFERRED_PROVIDER_virtual/obmc-host-ipmi-hw ?= "phosphor-ipmi-hw-example" |
Brad Bishop | 4663170 | 2017-03-01 16:16:06 -0500 | [diff] [blame] | 15 | |
| 16 | # obmc-bmc-state-manager |
| 17 | # |
| 18 | # Provides an implementation of the xyz.openbmc_project.State.BMC |
| 19 | # interface. |
| 20 | VIRTUAL-RUNTIME_obmc-bmc-state-manager ?= "phosphor-state-manager-bmc" |
| 21 | |
| 22 | # obmc-chassis-state-manager |
| 23 | # |
| 24 | # Provides an implementation of the xyz.openbmc_project.State.Chassis |
| 25 | # interface. |
| 26 | VIRTUAL-RUNTIME_obmc-chassis-state-manager ?= "phosphor-state-manager-chassis" |
| 27 | |
| 28 | # obmc-host-state-manager |
| 29 | # |
| 30 | # Provides an implementation of the xyz.openbmc_project.State.Host |
| 31 | # interface. |
| 32 | VIRTUAL-RUNTIME_obmc-host-state-manager ?= "phosphor-state-manager-host" |
Brad Bishop | 45f8b57 | 2017-02-01 21:04:14 -0500 | [diff] [blame] | 33 | |
Michael Tritz | 1f792e0 | 2017-03-31 12:04:32 -0500 | [diff] [blame] | 34 | # obmc-discover-system-state |
| 35 | # |
| 36 | # Provides an implementation of phosphor-discover-system-state, which, if the |
| 37 | # host is powered off, will check the current power policy and, if necessary, |
| 38 | # power the host back on. |
| 39 | VIRTUAL-RUNTIME_obmc-discover-system-state ?= "phosphor-state-manager-discover" |
| 40 | |
Matthew Barth | 9146042 | 2017-02-24 13:14:43 -0600 | [diff] [blame] | 41 | # obmc-fan-presence |
| 42 | # |
| 43 | # Provides implementations of fan presence detection |
| 44 | VIRTUAL-RUNTIME_obmc-fan-presence ?= "phosphor-fan-presence-tach" |
| 45 | |
Matt Spinler | b89b9e7 | 2017-04-17 16:34:24 -0500 | [diff] [blame] | 46 | # obmc-fan-control |
| 47 | # |
| 48 | # Provides implementations of fan control |
| 49 | VIRTUAL-RUNTIME_obmc-fan-control ?= "phosphor-fan-control" |
| 50 | |
Brad Bishop | 45f8b57 | 2017-02-01 21:04:14 -0500 | [diff] [blame] | 51 | # obmc-inventory-manager |
| 52 | # |
| 53 | # Provides an implementation of the xyz.openbmc_project.Inventory.Manager |
| 54 | # interface. |
| 55 | VIRTUAL-RUNTIME_obmc-inventory-manager ?= "phosphor-inventory-manager" |
| 56 | |
| 57 | # obmc-led-manager |
| 58 | # |
| 59 | # Provides an implementation of the xyz.openbmc_project.ledmanager interface. |
Dhruvaraj Subhashchandran | e1266ad | 2017-04-27 05:29:56 -0500 | [diff] [blame] | 60 | VIRTUAL-RUNTIME_obmc-leds-manager ?= "phosphor-led-manager-ledmanager" |
| 61 | |
| 62 | # obmc-led-monitor |
| 63 | # |
| 64 | # Provides an implementation of the FRU fault monitor. |
| 65 | VIRTUAL-RUNTIME_obmc-led-monitor ?= "phosphor-led-manager-faultmonitor" |
Brad Bishop | 45f8b57 | 2017-02-01 21:04:14 -0500 | [diff] [blame] | 66 | |
| 67 | # obmc-led-sysfs |
| 68 | # |
| 69 | # Provides an implementation of xyz.openbmc_project.Led.Physical for |
| 70 | # Linux kernel LED subsystem LEDs. |
| 71 | VIRTUAL-RUNTIME_obmc-leds-sysfs ?= "phosphor-led-sysfs" |
| 72 | |
Deepak Kodihalli | 60d1de5 | 2017-04-13 23:23:42 -0500 | [diff] [blame] | 73 | # obmc-bmc-download-mgr |
| 74 | # |
| 75 | # Provides an implementation of the xyz.openbmc_project.Common.TFTP |
| 76 | # interface. |
| 77 | VIRTUAL-RUNTIME_obmc-bmc-download-mgr ?= "phosphor-software-manager-download-mgr" |
| 78 | |
Andrew Geissler | 1f95752 | 2018-02-09 12:50:57 -0800 | [diff] [blame] | 79 | # obmc-bmc-version |
| 80 | # |
| 81 | # Provides an implementation of the xyz.openbmc_project.Software.Version |
| 82 | # interface. |
| 83 | VIRTUAL-RUNTIME_obmc-bmc-version ?= "phosphor-software-manager-version" |
| 84 | |
Gunnar Mills | 30131f7 | 2017-05-15 15:40:58 -0500 | [diff] [blame] | 85 | # obmc-bmc-updater |
| 86 | # |
| 87 | # Provides an implementation of the xyz.openbmc_project.Software.Activation |
| 88 | # interface. |
| 89 | VIRTUAL-RUNTIME_obmc-bmc-updater ?= "phosphor-software-manager-updater" |
| 90 | |
Brad Bishop | 45f8b57 | 2017-02-01 21:04:14 -0500 | [diff] [blame] | 91 | # obmc-sensors-hwmon |
| 92 | # |
| 93 | # Provides an implementation of xyz.openbmc_project.Sensor.Value |
| 94 | # for hwmon sensors. |
| 95 | VIRTUAL-RUNTIME_obmc-sensors-hwmon ?= "phosphor-hwmon" |
| 96 | |
Jayanth Othayoth | 9d21d6c | 2017-05-31 06:25:55 -0500 | [diff] [blame] | 97 | # obmc-dump-manager |
| 98 | # Provide support for managing dump |
| 99 | VIRTUAL-RUNTIME_obmc-dump-manager ?= "phosphor-debug-collector-manager" |
| 100 | |
| 101 | # obmc-dump-monitor |
| 102 | # Provide support for monitoring BMC core dumps |
| 103 | VIRTUAL-RUNTIME_obmc-dump-monitor ?= "phosphor-debug-collector-monitor" |
Jayanth Othayoth | 9963d17 | 2017-05-08 09:25:05 -0500 | [diff] [blame] | 104 | |
Brad Bishop | b6e4512 | 2017-01-26 10:49:22 -0500 | [diff] [blame] | 105 | PREFERRED_PROVIDER_virtual/obmc-system-mgmt ?= "obmc-phosphor-sysd" |
Brad Bishop | b6e4512 | 2017-01-26 10:49:22 -0500 | [diff] [blame] | 106 | PREFERRED_PROVIDER_virtual/obmc-wsgihost ?= "phosphor-gevent" |
Brad Bishop | d4d99d4 | 2017-01-12 21:25:04 -0500 | [diff] [blame] | 107 | |
Brad Bishop | fe7871c | 2017-02-22 20:50:13 -0500 | [diff] [blame] | 108 | # phosphor-hwmon-config |
| 109 | # |
| 110 | # The phosphor-hwmon package can have its configuration generated |
| 111 | # automatically if the MRW feature is enabled. |
Brad Bishop | cbf14da | 2018-03-08 23:44:34 -0500 | [diff] [blame] | 112 | VIRTUAL-RUNTIME_phosphor-hwmon-config ?= "" |
Brad Bishop | fe7871c | 2017-02-22 20:50:13 -0500 | [diff] [blame] | 113 | |
Andrew Geissler | 78e0454 | 2018-02-05 12:02:35 -0800 | [diff] [blame] | 114 | # obmc-settings-mgmt |
Deepak Kodihalli | 3e3c88c | 2017-05-17 06:42:51 -0500 | [diff] [blame] | 115 | # |
| 116 | # Provides a manager for user settings. |
Andrew Geissler | 78e0454 | 2018-02-05 12:02:35 -0800 | [diff] [blame] | 117 | VIRTUAL-RUNTIME_obmc-settings-mgmt ?= "phosphor-settings-manager" |
Deepak Kodihalli | 3e3c88c | 2017-05-17 06:42:51 -0500 | [diff] [blame] | 118 | |
Ratan Gupta | b6de45c | 2017-07-06 21:09:14 +0530 | [diff] [blame] | 119 | # obmc-network-manager |
| 120 | # |
| 121 | # Provide support for managing network |
| 122 | VIRTUAL-RUNTIME_obmc-network-manager ?= "network" |
| 123 | |
Patrick Venture | e77838d | 2018-02-20 12:19:56 -0800 | [diff] [blame] | 124 | # Configuration overrides for phosphor-ipmi-fru. |
Brad Bishop | da5923e | 2017-01-28 11:53:03 -0500 | [diff] [blame] | 125 | # |
| 126 | # The phosphor-ipmi-fru application is data-driven and requires an input |
Patrick Venture | e77838d | 2018-02-20 12:19:56 -0800 | [diff] [blame] | 127 | # mapping of how the host firmware reports inventory via IPMI and the mapping |
| 128 | # of that inventory metadata to DBus objects interfaces and properties. |
| 129 | |
| 130 | # The phosphor-ipmi-fru application is data-driven and requires an input |
Brad Bishop | da5923e | 2017-01-28 11:53:03 -0500 | [diff] [blame] | 131 | # mapping of how the host firmware reports inventory via IPMI. |
| 132 | # This virtual is a native recipe that provides that mapping by installing |
| 133 | # configuration files in the format and native sysroot location expected by |
| 134 | # the phosphor-ipmi-fru build process. |
| 135 | PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-hostfw-config ?= "phosphor-ipmi-fru-hostfw-config-example-native" |
| 136 | |
Brad Bishop | 30f7855 | 2017-01-28 12:51:42 -0500 | [diff] [blame] | 137 | # The phosphor-ipmi-fru application is data-driven and requires an input |
| 138 | # mapping of IPMI inventory metadata to DBus objects interfaces and properties. |
| 139 | # This virtual is a native recipe that provides that mapping by installing |
| 140 | # configuration files in the format and native sysroot location expected by |
| 141 | # the phosphor-ipmi-fru build process in the native sysroot. |
| 142 | PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-inventory ?= \ |
Brad Bishop | cbf14da | 2018-03-08 23:44:34 -0500 | [diff] [blame] | 143 | "phosphor-ipmi-fru-inventory-example-native" |
Marri Devender Rao | 5add234 | 2017-06-08 03:17:36 -0500 | [diff] [blame] | 144 | |
Deepak Kodihalli | 5b183e0 | 2017-02-20 04:55:20 -0600 | [diff] [blame] | 145 | PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-properties ?= \ |
Brad Bishop | cbf14da | 2018-03-08 23:44:34 -0500 | [diff] [blame] | 146 | "phosphor-ipmi-fru-properties-native" |
Brad Bishop | 30f7855 | 2017-01-28 12:51:42 -0500 | [diff] [blame] | 147 | |
Marri Devender Rao | 5add234 | 2017-06-08 03:17:36 -0500 | [diff] [blame] | 148 | PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-read-inventory ?= \ |
Brad Bishop | cbf14da | 2018-03-08 23:44:34 -0500 | [diff] [blame] | 149 | "phosphor-ipmi-fru-read-inventory-example-native" |
Marri Devender Rao | 5add234 | 2017-06-08 03:17:36 -0500 | [diff] [blame] | 150 | |
Patrick Venture | e77838d | 2018-02-20 12:19:56 -0800 | [diff] [blame] | 151 | # Configuration overrides for phosphor-host-ipmid. |
| 152 | # |
| 153 | # The phosphor-host-ipmid application is data-driven. |
Vishwanatha Subbanna | 8bec825 | 2017-02-11 22:10:23 +0530 | [diff] [blame] | 154 | |
Ratan Gupta | b92d0ec | 2017-03-06 17:05:11 +0530 | [diff] [blame] | 155 | # The phosphor-host-ipmid application is data-driven and requires an input |
| 156 | # mapping of IPMI inventory sensor metadata to DBus objects interfaces and properties. |
| 157 | # This virtual is a native recipe that provides that mapping by installing |
| 158 | # configuration files in the format and native sysroot location expected by |
| 159 | # the phosphor-host-ipmid build process in the native sysroot. |
| 160 | PREFERRED_PROVIDER_virtual/phosphor-ipmi-sensor-inventory ?= \ |
Brad Bishop | cbf14da | 2018-03-08 23:44:34 -0500 | [diff] [blame] | 161 | "phosphor-ipmi-sensor-inventory-native" |
Ratan Gupta | b92d0ec | 2017-03-06 17:05:11 +0530 | [diff] [blame] | 162 | |
Patrick Venture | afdf984 | 2018-01-18 18:01:29 -0800 | [diff] [blame] | 163 | # The phosphor-host-ipmid application is data-driven and requires an input |
| 164 | # mapping of IPMI channel to DBus objects interfaces and properties. |
| 165 | # This virtual is a native recipe that provides that mapping by installing |
| 166 | # configuration files in the format and native sysroot location expected by |
| 167 | # the phosphor-host-ipmid build process in the native sysroot. |
| 168 | PREFERRED_PROVIDER_virtual/phosphor-ipmi-channel-config ?= "phosphor-ipmi-channel-inventory-native" |
| 169 | |
Patrick Venture | e77838d | 2018-02-20 12:19:56 -0800 | [diff] [blame] | 170 | # The phosphor-host-ipmid application is data-driven and requires an input |
| 171 | # mapping of inventory object path to the sensor number and sensor metadata. |
| 172 | # This virtual is a native recipe that provides that mapping by installing |
| 173 | # configuration files in the format and native sysroot location expected by |
| 174 | # the phosphor-host-ipmid build process in the native sysroot. |
| 175 | PREFERRED_PROVIDER_virtual/phosphor-ipmi-inventory-sel ?= \ |
Brad Bishop | cbf14da | 2018-03-08 23:44:34 -0500 | [diff] [blame] | 176 | "phosphor-ipmi-inventory-sel-native" |
Patrick Venture | e77838d | 2018-02-20 12:19:56 -0800 | [diff] [blame] | 177 | |
| 178 | # Various other overrides. |
| 179 | |
| 180 | # The phosphor-led-manager application is data-driven and requires an input |
| 181 | # yaml of LED group and members. |
| 182 | # This virtual is a native recipe that provides that mapping by installing |
| 183 | # configuration files in the format and native sysroot location expected by |
| 184 | # the phosphor-led-manager build process in the native sysroot. |
| 185 | PREFERRED_PROVIDER_virtual/phosphor-led-manager-config-native ?= \ |
Brad Bishop | cbf14da | 2018-03-08 23:44:34 -0500 | [diff] [blame] | 186 | "phosphor-led-manager-config-example-native" |
Patrick Venture | e77838d | 2018-02-20 12:19:56 -0800 | [diff] [blame] | 187 | |
Deepak Kodihalli | 44b1c52 | 2017-03-16 06:32:12 -0500 | [diff] [blame] | 188 | # The phosphor-logging application has a data driven plugin that adds FRU |
| 189 | # callout information to error logs, when applications generating error logs |
| 190 | # add the requisite callout metadata to the systemd journal. The plugin requires |
| 191 | # an input mapping of Linux sysfs devices to OpenBMC DBus objects. |
| 192 | # This virtual is a native recipe that provides that mapping by installing |
| 193 | # configuration files in the format and native sysroot location expected by |
| 194 | # the phosphor-logging build process in the native sysroot. |
| 195 | PREFERRED_PROVIDER_virtual/phosphor-logging-callouts ?= \ |
Brad Bishop | cbf14da | 2018-03-08 23:44:34 -0500 | [diff] [blame] | 196 | "phosphor-logging-callouts-example-native" |
Ratan Gupta | b92d0ec | 2017-03-06 17:05:11 +0530 | [diff] [blame] | 197 | |
Matt Spinler | c943de3 | 2017-03-21 15:02:13 -0500 | [diff] [blame] | 198 | # The phosphor-fan-presence application is data driven and requires an |
| 199 | # input YAML that maps fans to their tach sensors. |
| 200 | # This virtual is a native recipe that provides that mapping by installing |
| 201 | # configuration files in the format and native sysroot location expected by |
| 202 | # the phosphor-fan-presence build process in the native sysroot. |
| 203 | PREFERRED_PROVIDER_virtual/phosphor-fan-presence-config ?= \ |
Brad Bishop | cbf14da | 2018-03-08 23:44:34 -0500 | [diff] [blame] | 204 | "phosphor-fan-presence-config-native" |
Matt Spinler | c943de3 | 2017-03-21 15:02:13 -0500 | [diff] [blame] | 205 | |
Matt Spinler | b89b9e7 | 2017-04-17 16:34:24 -0500 | [diff] [blame] | 206 | # The phosphor-fan-control application is data driven and requires a YAML |
| 207 | # file to define the fans in the system. |
| 208 | # This virtual is a native recipe that provides that definition by installing |
| 209 | # the YAML file in the format and native sysroot location expected by |
| 210 | # the phosphor-fan-control build process in the native sysroot. |
| 211 | PREFERRED_PROVIDER_virtual/phosphor-fan-control-fan-config ?= \ |
Brad Bishop | cbf14da | 2018-03-08 23:44:34 -0500 | [diff] [blame] | 212 | "phosphor-fan-control-fan-config-native" |
Matt Spinler | b89b9e7 | 2017-04-17 16:34:24 -0500 | [diff] [blame] | 213 | |
Vishwanatha Subbanna | b463f22 | 2017-04-28 15:35:10 +0530 | [diff] [blame] | 214 | # The phosphor-gpio-monitor application is data-driven and requires an input. |
| 215 | # The application then watches the passed in input event entry for the |
| 216 | # change in polarity for the value matching user input. Once the required |
| 217 | # condition is met, it calls into a systemd target file if one is mentioned |
| 218 | # in input. |
| 219 | PREFERRED_PROVIDER_virtual/obmc-gpio-monitor ?= "phosphor-gpio-monitor" |
| 220 | |
Vishwanatha Subbanna | 55c545a | 2017-06-12 13:09:10 +0530 | [diff] [blame] | 221 | # The phosphor-watchdog application is data-driven and requires an input. |
| 222 | # The application then starts a timer in disabled state. User of this timer |
| 223 | # needs to first enable and then use it. This also provides a way for changing |
| 224 | # the timeout if needed. |
| 225 | PREFERRED_PROVIDER_virtual/obmc-watchdog ?= "phosphor-watchdog" |
| 226 | |
Vishwanatha Subbanna | 0f2b7b0 | 2017-10-18 15:47:54 +0530 | [diff] [blame] | 227 | # obmc-user-mgmt |
| 228 | # |
| 229 | # Provides an implementation of xyz.openbmc_project.User.Manager catering |
| 230 | # to user management |
| 231 | VIRTUAL-RUNTIME_obmc-user-mgmt ?= "phosphor-user-manager" |
| 232 | |
Brad Bishop | d4d99d4 | 2017-01-12 21:25:04 -0500 | [diff] [blame] | 233 | OBMC_DBUS_PATH_ROOT ?= "/xyz/openbmc_project" |
| 234 | OBMC_DBUS_IFACE_ROOT ?= "xyz.openbmc_project" |
Brad Bishop | 7f2ade0 | 2018-01-26 22:11:36 -0500 | [diff] [blame] | 235 | |
| 236 | # VIRTUAL-RUNTIME_phosphor-ipmi-providers are the set of shared library |
| 237 | # plugins for the host-ipmid application. By default the IPMI FRU plugin |
| 238 | # is enabled. Additionally the host-ipmid recipe uses |
| 239 | # VIRTUAL-RUNTIME_phosphor-ipmi-providers to compute a list of potential |
| 240 | # IPMI whitelist recipe dependencies. For example: |
| 241 | # |
| 242 | # VIRTUAL-RUNTIME_phosphor-ipmi-providers ?= "phosphor-ipmi-fru" |
| 243 | # |
| 244 | # Will add a build dependency to host-ipmid on the |
| 245 | # phosphor-ipmi-fru-whitelist-native recipe. |
| 246 | VIRTUAL-RUNTIME_phosphor-ipmi-providers ?= "phosphor-ipmi-fru" |
Richard Marian Thomaiyar | fd1f696 | 2018-12-12 21:30:30 +0530 | [diff] [blame^] | 247 | |
| 248 | # Set the root password to '0penBmc' |
| 249 | inherit extrausers |
| 250 | |
| 251 | EXTRA_USERS_PARAMS = " \ |
| 252 | usermod -p '\$1\$UGMqyqdG\$FZiylVFmRRfl9Z0Ue8G7e/' root; \ |
| 253 | " |