diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2024-06-15 00:59:15 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2024-06-24 22:33:48 +0300 |
commit | 3aa3780b5d0d481215248fb27b77f8bc8300c036 (patch) | |
tree | c954cc1a28c6beb64014b081b6d301e20182c3ef | |
parent | 989a4187d86af4f42a936189b8a67eece8574062 (diff) | |
download | openbmc-3aa3780b5d0d481215248fb27b77f8bc8300c036.tar.xz |
meta-phosphor: settingsd: add BMC template variable
phosphor-settingsd has a variable for creating "host" templates,
which are a handy way of organizing (and generating per host) the
settingsd variables. Add a similar mechanism for "BMC" templates,
which could also be used for "whole system" settings. This allows
better organization of the override files.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I435c6d62414874b8e920af8ca346f519e4819a45
-rw-r--r-- | meta-phosphor/recipes-phosphor/settings/phosphor-settings-defaults-native.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/settings/phosphor-settings-defaults-native.bb b/meta-phosphor/recipes-phosphor/settings/phosphor-settings-defaults-native.bb index 11271a47fe..e6a51ac250 100644 --- a/meta-phosphor/recipes-phosphor/settings/phosphor-settings-defaults-native.bb +++ b/meta-phosphor/recipes-phosphor/settings/phosphor-settings-defaults-native.bb @@ -24,4 +24,8 @@ do_install() { sed "s/{}/${i}/g" ${f} >> ${DEST}/defaults.yaml done done + for f in ${SETTINGS_BMC_TEMPLATES}; + do + cat $f >> ${DEST}/defaults.yaml + done } |