diff options
author | Cheng C Yang <cheng.c.yang@linux.intel.com> | 2019-02-25 04:28:49 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2019-03-08 17:41:21 +0300 |
commit | bafd0d0960ad8f190d1c41c539ac65d0d6bbe025 (patch) | |
tree | d181edf20fae5b49dc68f970de0a37b864565a47 | |
parent | 6dbd158e122c62b12b645f78333ee70f63a83714 (diff) | |
download | openbmc-bafd0d0960ad8f190d1c41c539ac65d0d6bbe025.tar.xz |
Set SOL client to 100*32 resolution
Change config.json to adjust SOL screen resolution to 100*32 for
Intel Platform.
(From meta-intel rev: fcd39a5b52f6afd6764f40d4b5b9c06da92e1e09)
Change-Id: I61d6abd7e54ce97792b7609bc7be323408ccc593
Signed-off-by: Cheng C Yang <cheng.c.yang@linux.intel.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
-rw-r--r-- | meta-intel/meta-common/recipes-phosphor/webui/phosphor-webui/config.json | 6 | ||||
-rw-r--r-- | meta-intel/meta-common/recipes-phosphor/webui/phosphor-webui_%.bbappend | 8 |
2 files changed, 14 insertions, 0 deletions
diff --git a/meta-intel/meta-common/recipes-phosphor/webui/phosphor-webui/config.json b/meta-intel/meta-common/recipes-phosphor/webui/phosphor-webui/config.json new file mode 100644 index 000000000..628b4f8e8 --- /dev/null +++ b/meta-intel/meta-common/recipes-phosphor/webui/phosphor-webui/config.json @@ -0,0 +1,6 @@ +{ + "customConsoleDisplaySize": { + "width": 100, + "height": 32 + } +} diff --git a/meta-intel/meta-common/recipes-phosphor/webui/phosphor-webui_%.bbappend b/meta-intel/meta-common/recipes-phosphor/webui/phosphor-webui_%.bbappend new file mode 100644 index 000000000..ff1bfdb09 --- /dev/null +++ b/meta-intel/meta-common/recipes-phosphor/webui/phosphor-webui_%.bbappend @@ -0,0 +1,8 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SRC_URI_append = " file://config.json" + +do_compile_prepend() { + cp -r ${WORKDIR}/config.json ${S}/ +} + |