From 8defc8bd7832988f59f9b80976eba2c5eb5c556b Mon Sep 17 00:00:00 2001 From: Andrew Geissler Date: Mon, 13 Dec 2021 03:41:13 +0000 Subject: phosphor-post-code-manager: srcrev bump 9ce5a645f5..c4440ebefb Manojkiran Eda (2): Drop experimental::filesystem Fix unused variables error Change-Id: I757a4e07f579df1fb121afc76e2ff7963ab70297 Signed-off-by: Andrew Geissler --- meta-phosphor/recipes-phosphor/state/phosphor-post-code-manager_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-phosphor/recipes-phosphor/state/phosphor-post-code-manager_git.bb') diff --git a/meta-phosphor/recipes-phosphor/state/phosphor-post-code-manager_git.bb b/meta-phosphor/recipes-phosphor/state/phosphor-post-code-manager_git.bb index d5d81f8ba..28c835aeb 100644 --- a/meta-phosphor/recipes-phosphor/state/phosphor-post-code-manager_git.bb +++ b/meta-phosphor/recipes-phosphor/state/phosphor-post-code-manager_git.bb @@ -4,7 +4,7 @@ interface /xyz/openbmc_project/state/boot/raw by snoopd daemon and save them \ in a file under /var/lib for history." SRC_URI = "git://github.com/openbmc/phosphor-post-code-manager.git" -SRCREV = "9ce5a645f50c0ab94e582abbf95474f636aba678" +SRCREV = "c4440ebefb36d4c2eebd3d0bdf0ce4671f04a158" S = "${WORKDIR}/git" -- cgit v1.2.3 From ad8a30cba53f55c8d529150fdf02fdc20d15d8ab Mon Sep 17 00:00:00 2001 From: Manojkiran Eda Date: Sun, 12 Dec 2021 15:44:38 +0530 Subject: post-code-manager : Switch to meson build system & Bump Tested By: Was able to sucessfully build post-code-manager using meson & was able to see that the daemon is working as before on a BMC. Signed-off-by: Manojkiran Eda Change-Id: I4cf90fc8bf0a3350b944d5ef94fa131cb6f1c35f --- .../state/phosphor-post-code-manager_%.bbappend | 4 ++-- .../recipes-phosphor/state/phosphor-post-code-manager_git.bb | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'meta-phosphor/recipes-phosphor/state/phosphor-post-code-manager_git.bb') diff --git a/meta-ibm/recipes-phosphor/state/phosphor-post-code-manager_%.bbappend b/meta-ibm/recipes-phosphor/state/phosphor-post-code-manager_%.bbappend index bee5a5ffa..e9f35d42d 100644 --- a/meta-ibm/recipes-phosphor/state/phosphor-post-code-manager_%.bbappend +++ b/meta-ibm/recipes-phosphor/state/phosphor-post-code-manager_%.bbappend @@ -1,4 +1,4 @@ # Set MaxBootCycleCount to 5 on IBM systems -EXTRA_OECMAKE:append:p10bmc = "-DMAX_BOOT_CYCLE_COUNT=5" -EXTRA_OECMAKE:append:witherspoon-tacoma = "-DMAX_BOOT_CYCLE_COUNT=5" +EXTRA_OEMESON:append:p10bmc = "-Dmax-boot-cycle-count=5" +EXTRA_OEMESON:append:witherspoon-tacoma = "-Dmax-boot-cycle-count=5" diff --git a/meta-phosphor/recipes-phosphor/state/phosphor-post-code-manager_git.bb b/meta-phosphor/recipes-phosphor/state/phosphor-post-code-manager_git.bb index 28c835aeb..9551f5c57 100644 --- a/meta-phosphor/recipes-phosphor/state/phosphor-post-code-manager_git.bb +++ b/meta-phosphor/recipes-phosphor/state/phosphor-post-code-manager_git.bb @@ -4,7 +4,7 @@ interface /xyz/openbmc_project/state/boot/raw by snoopd daemon and save them \ in a file under /var/lib for history." SRC_URI = "git://github.com/openbmc/phosphor-post-code-manager.git" -SRCREV = "c4440ebefb36d4c2eebd3d0bdf0ce4671f04a158" +SRCREV = "84855abe9efea81f2ed8cf025892a7400edc9d74" S = "${WORKDIR}/git" @@ -13,14 +13,15 @@ PV = "1.0+git${SRCPV}" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" -inherit cmake pkgconfig systemd +inherit meson pkgconfig systemd def get_service(d): + service_list = "xyz.openbmc_project.State.Boot.PostCode.service xyz.openbmc_project.State.Boot.PostCode@.service " if(d.getVar('OBMC_HOST_INSTANCES') == '0'): - return "xyz.openbmc_project.State.Boot.PostCode.service" + return service_list else: - return " ".join(["xyz.openbmc_project.State.Boot.PostCode@{}.service".format(x) for x in d.getVar('OBMC_HOST_INSTANCES').split()]) + return service_list+" ".join(["xyz.openbmc_project.State.Boot.PostCode@{}.service".format(x) for x in d.getVar('OBMC_HOST_INSTANCES').split()]) SYSTEMD_SERVICE:${PN} = "${@get_service(d)}" @@ -28,7 +29,6 @@ DEPENDS += " \ sdbusplus \ phosphor-dbus-interfaces \ phosphor-logging \ + libcereal \ " -FILES:${PN} += "${systemd_system_unitdir}/xyz.openbmc_project.State.Boot.PostCode@.service" -FILES:${PN} += "${systemd_system_unitdir}/xyz.openbmc_project.State.Boot.PostCode.service" -- cgit v1.2.3 From 37a2a320ed2f428da8e4fff507329ee83c20afc2 Mon Sep 17 00:00:00 2001 From: Andrew Geissler Date: Fri, 17 Dec 2021 02:31:28 +0000 Subject: phosphor-post-code-manager: srcrev bump 84855abe9e..de8d3a537f Manojkiran Eda (1): Fix static analysis & cppcheck issues Change-Id: Ie75d99035a4c0763247c140cafe9248f2f09e18c Signed-off-by: Andrew Geissler --- meta-phosphor/recipes-phosphor/state/phosphor-post-code-manager_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-phosphor/recipes-phosphor/state/phosphor-post-code-manager_git.bb') diff --git a/meta-phosphor/recipes-phosphor/state/phosphor-post-code-manager_git.bb b/meta-phosphor/recipes-phosphor/state/phosphor-post-code-manager_git.bb index 9551f5c57..4485cb55b 100644 --- a/meta-phosphor/recipes-phosphor/state/phosphor-post-code-manager_git.bb +++ b/meta-phosphor/recipes-phosphor/state/phosphor-post-code-manager_git.bb @@ -4,7 +4,7 @@ interface /xyz/openbmc_project/state/boot/raw by snoopd daemon and save them \ in a file under /var/lib for history." SRC_URI = "git://github.com/openbmc/phosphor-post-code-manager.git" -SRCREV = "84855abe9efea81f2ed8cf025892a7400edc9d74" +SRCREV = "de8d3a537fec2e0b36791cc53aeb963fc746d1da" S = "${WORKDIR}/git" -- cgit v1.2.3 From f55ce54a59100c100ee98aa5b3f4482a3f0f1d35 Mon Sep 17 00:00:00 2001 From: Andrew Geissler Date: Tue, 28 Dec 2021 06:31:54 +0000 Subject: phosphor-post-code-manager: srcrev bump de8d3a537f..f5e52db77c Alan Kuo (1): Fix 'usTimeOffset' was not declared error Change-Id: Id3d0f0ff317a0df20f72bc9a56a69193d30552b2 Signed-off-by: Andrew Geissler --- meta-phosphor/recipes-phosphor/state/phosphor-post-code-manager_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-phosphor/recipes-phosphor/state/phosphor-post-code-manager_git.bb') diff --git a/meta-phosphor/recipes-phosphor/state/phosphor-post-code-manager_git.bb b/meta-phosphor/recipes-phosphor/state/phosphor-post-code-manager_git.bb index 4485cb55b..483b8fe03 100644 --- a/meta-phosphor/recipes-phosphor/state/phosphor-post-code-manager_git.bb +++ b/meta-phosphor/recipes-phosphor/state/phosphor-post-code-manager_git.bb @@ -4,7 +4,7 @@ interface /xyz/openbmc_project/state/boot/raw by snoopd daemon and save them \ in a file under /var/lib for history." SRC_URI = "git://github.com/openbmc/phosphor-post-code-manager.git" -SRCREV = "de8d3a537fec2e0b36791cc53aeb963fc746d1da" +SRCREV = "f5e52db77cb580b2a6e9b95d06e26bfd185627d9" S = "${WORKDIR}/git" -- cgit v1.2.3