diff options
author | Artem Senichev <a.senichev@yadro.com> | 2020-04-28 17:52:31 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2020-04-30 04:47:22 +0300 |
commit | 15ef1746459ed06fbb697d4430b9be13a6a05240 (patch) | |
tree | bea5dbed59becf46a932f03d1a43e7da6a4a358e | |
parent | cbcc189dbefe253c188fcca9f3deb3eec058d9c6 (diff) | |
download | openbmc-15ef1746459ed06fbb697d4430b9be13a6a05240.tar.xz |
meta-nicole: Add default FRU properties
Set default properties for some types of FRU.
This fixes the problem with Presence flag, which must be set to "true"
for such FRU as "motherboard" or "opfw".
File with extra properties was created long time ago but it was not
added to build.
(From meta-yadro rev: c6c78ffba8e184220b6e9205f4ddd9336589fc1a)
Signed-off-by: Artem Senichev <a.senichev@yadro.com>
Change-Id: I8c2b610a1683148fac75bb5567929d6dc2e1c563
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2 files changed, 3 insertions, 0 deletions
diff --git a/meta-yadro/meta-nicole/recipes-phosphor/configuration/nicole-yaml-config/nicole-ipmi-fru-properties.yaml b/meta-yadro/meta-nicole/recipes-phosphor/configuration/nicole-yaml-config/nicole-ipmi-fru-properties.yaml index ba2c91818..472679d76 100644 --- a/meta-yadro/meta-nicole/recipes-phosphor/configuration/nicole-yaml-config/nicole-ipmi-fru-properties.yaml +++ b/meta-yadro/meta-nicole/recipes-phosphor/configuration/nicole-yaml-config/nicole-ipmi-fru-properties.yaml @@ -43,3 +43,5 @@ <<: *DEFAULTS /system/chassis/motherboard/dimm15: <<: *DEFAULTS +/system/chassis/motherboard/opfw: + <<: *DEFAULTS diff --git a/meta-yadro/meta-nicole/recipes-phosphor/ipmi/phosphor-ipmi-fru_%.bbappend b/meta-yadro/meta-nicole/recipes-phosphor/ipmi/phosphor-ipmi-fru_%.bbappend index 5ac83a8c1..16d815ade 100644 --- a/meta-yadro/meta-nicole/recipes-phosphor/ipmi/phosphor-ipmi-fru_%.bbappend +++ b/meta-yadro/meta-nicole/recipes-phosphor/ipmi/phosphor-ipmi-fru_%.bbappend @@ -2,4 +2,5 @@ DEPENDS_append = " nicole-yaml-config" EXTRA_OECONF = " \ YAML_GEN=${STAGING_DIR_HOST}${datadir}/nicole-yaml-config/ipmi-fru-read.yaml \ + PROP_YAML=${STAGING_DIR_HOST}${datadir}/nicole-yaml-config/ipmi-extra-properties.yaml \ " |