commit | 11593a4fd795bf05fe3faeaf5bdbff8a44055093 | [log] [tgz] |
---|---|---|
author | Benjamin Fair <benjaminfair@google.com> | Tue Jul 16 20:22:36 2024 +0000 |
committer | Benjamin Fair <benjaminfair@google.com> | Wed Jul 17 03:33:31 2024 +0000 |
tree | 20fc9bb35f07f417012abd746d1e1f318b8126c1 | |
parent | 21f5f1beeb14977a5e207bb18e955436181d7de2 [diff] [blame] |
meta-google: phosphor-ipmi-config: remove bash-ism Use POSIX-standard `[` instead of bash-specific `[[`. Tested: No change to entity-map.json Signed-off-by: Benjamin Fair <benjaminfair@google.com> Change-Id: I0097ac6317e093f4eddecf5d2a33fdd8cf48ffe8
diff --git a/meta-google/recipes-phosphor/ipmi/phosphor-ipmi-config.bbappend b/meta-google/recipes-phosphor/ipmi/phosphor-ipmi-config.bbappend index 6e25fc2..6d93c27 100644 --- a/meta-google/recipes-phosphor/ipmi/phosphor-ipmi-config.bbappend +++ b/meta-google/recipes-phosphor/ipmi/phosphor-ipmi-config.bbappend
@@ -62,7 +62,7 @@ # Set entity-map.json to empty json for gBMC by default. # Each system will override it if needed. - if [[ "${ENTITY_MAPPING}" != "default" ]]; then + if [ "${ENTITY_MAPPING}" != "default" ]; then echo "[]" > ${D}${datadir}/ipmi-providers/entity-map.json fi }