diff options
author | George Hung <george.hung@quantatw.com> | 2020-05-12 08:17:29 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2020-06-12 15:59:12 +0300 |
commit | a7cfc8dc0605f16e068e2ae66ed6e81ff3369c71 (patch) | |
tree | 3a3a1a6a0435bad16c3cb32ce9c67b94136aeff4 /meta-quanta/meta-gbs | |
parent | 9f48c51db91e4117dc5339e3d9678f17f4fcd776 (diff) | |
download | openbmc-a7cfc8dc0605f16e068e2ae66ed6e81ff3369c71.tar.xz |
meta-quanta: gbs: customize whitelist and time settings
1. set "RestrictionMode" to whitelist as default
2. modify time setting to make ipmi command "sel time set"
can set host time
(From meta-quanta rev: de8d8179ee2ecb7fed31c119b48cc9e40ef31710)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Ifa75a283df79082870588c909ecb9693a367e4c8
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-quanta/meta-gbs')
3 files changed, 15 insertions, 0 deletions
diff --git a/meta-quanta/meta-gbs/recipes-phosphor/settings/phosphor-settings-manager/restrictionmode-default-whitelist.override.yml b/meta-quanta/meta-gbs/recipes-phosphor/settings/phosphor-settings-manager/restrictionmode-default-whitelist.override.yml new file mode 100644 index 000000000..b0de5dd1a --- /dev/null +++ b/meta-quanta/meta-gbs/recipes-phosphor/settings/phosphor-settings-manager/restrictionmode-default-whitelist.override.yml @@ -0,0 +1,6 @@ +--- +/xyz/openbmc_project/control/host0/restriction_mode: + - Interface: xyz.openbmc_project.Control.Security.RestrictionMode + Properties: + RestrictionMode: + Default: RestrictionMode::Modes::Whitelist diff --git a/meta-quanta/meta-gbs/recipes-phosphor/settings/phosphor-settings-manager/time-default.override.yml b/meta-quanta/meta-gbs/recipes-phosphor/settings/phosphor-settings-manager/time-default.override.yml new file mode 100644 index 000000000..0096eeb5c --- /dev/null +++ b/meta-quanta/meta-gbs/recipes-phosphor/settings/phosphor-settings-manager/time-default.override.yml @@ -0,0 +1,6 @@ +--- +/xyz/openbmc_project/time/sync_method: + - Interface: xyz.openbmc_project.Time.Synchronization + Properties: + TimeSyncMethod: + Default: Synchronization::Method::Manual diff --git a/meta-quanta/meta-gbs/recipes-phosphor/settings/phosphor-settings-manager_%.bbappend b/meta-quanta/meta-gbs/recipes-phosphor/settings/phosphor-settings-manager_%.bbappend new file mode 100644 index 000000000..7e2056844 --- /dev/null +++ b/meta-quanta/meta-gbs/recipes-phosphor/settings/phosphor-settings-manager_%.bbappend @@ -0,0 +1,3 @@ +FILESEXTRAPATHS_append_gbs := ":${THISDIR}/${PN}" +SRC_URI_append_gbs = " file://time-default.override.yml" +SRC_URI_append_gbs = " file://restrictionmode-default-whitelist.override.yml" |