diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2015-09-15 22:42:19 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2015-09-15 22:42:19 +0300 |
commit | 885cdf3f44f8a7a4f1972cb3adc18b1e80d606ce (patch) | |
tree | 42739d34a6a62ba6d15bb48c9f384b55ac35b18a /meta-phosphor/classes/obmc-phosphor-image.bbclass | |
parent | 21f9b84b4b729fbd7acbd465e7a3f726e4d20f91 (diff) | |
parent | 93fb535853a24d4c3c42ec425ac92c9d3de13294 (diff) | |
download | openbmc-885cdf3f44f8a7a4f1972cb3adc18b1e80d606ce.tar.xz |
Add 'meta-phosphor/' from commit '93fb535853a24d4c3c42ec425ac92c9d3de13294'
git-subtree-dir: meta-phosphor
git-subtree-mainline: 21f9b84b4b729fbd7acbd465e7a3f726e4d20f91
git-subtree-split: 93fb535853a24d4c3c42ec425ac92c9d3de13294
Diffstat (limited to 'meta-phosphor/classes/obmc-phosphor-image.bbclass')
-rw-r--r-- | meta-phosphor/classes/obmc-phosphor-image.bbclass | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/meta-phosphor/classes/obmc-phosphor-image.bbclass b/meta-phosphor/classes/obmc-phosphor-image.bbclass new file mode 100644 index 000000000..59be3454e --- /dev/null +++ b/meta-phosphor/classes/obmc-phosphor-image.bbclass @@ -0,0 +1,38 @@ +# Common code for generating Phosphor OpenBMC images. + +# Additional IMAGE_FEATURES available with Phosphor OpenBMC: +# +# - obmc-phosphor-fan-mgmt - Phosphor OpenBMC fan management +# - obmc-phosphor-chassis-mgmt - Phosphor OpenBMC chassis management +# - obmc-phosphor-sensor-mgmt - Phosphor OpenBMC sensor management +# - obmc-phosphor-flash-mgmt - Phosphor OpenBMC flash management +# - obmc-phosphor-event-mgmt - Phosphor OpenBMC event management +# - obmc-phosphor-policy-mgmt - Phosphor OpenBMC policy management +# - obmc-phosphor-system-mgmt - Phosphor OpenBMC system management + +inherit core-image +inherit obmc-phosphor-license + +FEATURE_PACKAGES_obmc-phosphor-fan-mgmt ?= "packagegroup-obmc-phosphor-apps-fan-mgmt" +FEATURE_PACKAGES_obmc-phosphor-chassis-mgmt ?= "packagegroup-obmc-phosphor-apps-chassis-mgmt" +FEATURE_PACKAGES_obmc-phosphor-sensor-mgmt ?= "packagegroup-obmc-phosphor-apps-sensor-mgmt" +FEATURE_PACKAGES_obmc-phosphor-flash-mgmt ?= "packagegroup-obmc-phosphor-apps-flash-mgmt" +FEATURE_PACKAGES_obmc-phosphor-event-mgmt ?= "packagegroup-obmc-phosphor-apps-event-mgmt" +FEATURE_PACKAGES_obmc-phosphor-policy-mgmt ?= "packagegroup-obmc-phosphor-apps-policy-mgmt" +FEATURE_PACKAGES_obmc-phosphor-system-mgmt ?= "packagegroup-obmc-phosphor-apps-system-mgmt" + +# Install entire Phosphor application stack by default +IMAGE_FEATURES += " \ + obmc-phosphor-fan-mgmt \ + obmc-phosphor-chassis-mgmt \ + obmc-phosphor-sensor-mgmt \ + obmc-phosphor-flash-mgmt \ + obmc-phosphor-event-mgmt \ + obmc-phosphor-policy-mgmt \ + obmc-phosphor-system-mgmt \ + ssh-server-openssh \ + " + +IMAGE_INSTALL += " \ + bash \ + " |