From 3aa3780b5d0d481215248fb27b77f8bc8300c036 Mon Sep 17 00:00:00 2001 From: Patrick Williams Date: Fri, 14 Jun 2024 16:59:15 -0500 Subject: 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 Change-Id: I435c6d62414874b8e920af8ca346f519e4819a45 --- .../recipes-phosphor/settings/phosphor-settings-defaults-native.bb | 4 ++++ 1 file changed, 4 insertions(+) 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 } -- cgit v1.2.3