From 7156af1ec1e56dc9631b6c5444a5915465851ddd Mon Sep 17 00:00:00 2001 From: Hieu Huynh Date: Thu, 3 Jun 2021 02:31:35 +0000 Subject: [PATCH] meta-ampere: ipmid: Support User Mgmt headers Add the user_mgmt.hpp to Makefile.am file for access from external. Signed-off-by: Hieu Huynh --- ...t.hpp-to-Makefile.am-file-for-access.patch | 31 +++++++++++++++++++ .../ipmi/phosphor-ipmi-host_%.bbappend | 2 ++ 2 files changed, 33 insertions(+) create mode 100644 meta-ampere/meta-jade/recipes-phosphor/ipmi/phosphor-ipmi-host/0004-Add-the-user_mgmt.hpp-to-Makefile.am-file-for-access.patch diff --git a/meta-ampere/meta-jade/recipes-phosphor/ipmi/phosphor-ipmi-host/0004-Add-the-user_mgmt.hpp-to-Makefile.am-file-for-access.patch b/meta-ampere/meta-jade/recipes-phosphor/ipmi/phosphor-ipmi-host/0004-Add-the-user_mgmt.hpp-to-Makefile.am-file-for-access.patch new file mode 100644 index 000000000000..8fdf3ce52642 --- /dev/null +++ b/meta-ampere/meta-jade/recipes-phosphor/ipmi/phosphor-ipmi-host/0004-Add-the-user_mgmt.hpp-to-Makefile.am-file-for-access.patch @@ -0,0 +1,31 @@ +From 0440cef8a5901290608dfa36614ab4bf226cf62c Mon Sep 17 00:00:00 2001 +From: Hieu Huynh +Date: Tue, 25 May 2021 10:07:17 +0000 +Subject: [PATCH] Add the user_mgmt.hpp to Makefile.am file for access from + external + +This commit adds the user_mgmt.hpp to Makefile.am file for access +from external. + +Signed-off-by: Hieu Huynh +--- + Makefile.am | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/Makefile.am b/Makefile.am +index 82fdd5d..e7f64dc 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -181,7 +181,8 @@ endif + + nobase_include_HEADERS = \ + user_channel/channel_layer.hpp \ +- user_channel/user_layer.hpp ++ user_channel/user_layer.hpp \ ++ user_channel/user_mgmt.hpp + + # Forcing the build of self and then subdir + SUBDIRS = include libipmid libipmid-host user_channel . test softoff +-- +2.17.1 + diff --git a/meta-ampere/meta-jade/recipes-phosphor/ipmi/phosphor-ipmi-host_%.bbappend b/meta-ampere/meta-jade/recipes-phosphor/ipmi/phosphor-ipmi-host_%.bbappend index 6c987454714b..eb2f793d9f68 100644 --- a/meta-ampere/meta-jade/recipes-phosphor/ipmi/phosphor-ipmi-host_%.bbappend +++ b/meta-ampere/meta-jade/recipes-phosphor/ipmi/phosphor-ipmi-host_%.bbappend @@ -12,6 +12,8 @@ EXTRA_OECONF_mtjade = " \ SRC_URI += "file://0001-mtjade-FRU-Updated-the-phosphor-host-ipmid-to-handle.patch \ file://0002-Implement-the-set-get-system-boot-option-parameters.patch \ file://0003-Correct-ipmitool-get-system-guid.patch \ + file://0004-Add-the-user_mgmt.hpp-to-Makefile.am-file-for-access.patch \ + file://0005-correct-the-hard-reset-command.patch \ " do_install_append_mtjade(){