diff options
author | Andrew Geissler <openbmcbump-github@yahoo.com> | 2020-04-02 16:11:28 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2020-04-03 00:14:25 +0300 |
commit | 384f1909f842aeb25c2ae1ec0245985cd298cad7 (patch) | |
tree | 3c55b2a48d7bfa2efa5092a4fb7e2a8243bb84cf | |
parent | 5d0011f5327f25dea62bba0e0b5078448cc624cc (diff) | |
download | openbmc-384f1909f842aeb25c2ae1ec0245985cd298cad7.tar.xz |
phosphor-settingsd: srcrev bump 3d805fe94a..6f62cc844b
And convert recipe to python3.
Patrick Williams (3):
python2 to python3 conversion
MAINTAINERS: update Deepak's email address
delete deprecated python scripts
(From meta-phosphor rev: afc2415faf43876cd80ed9a93229a7e7e2499b31)
Change-Id: I62f4df660fc589a084f8d48effb6cfe2d82ae4da
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
3 files changed, 6 insertions, 6 deletions
diff --git a/meta-phosphor/recipes-phosphor/settings/phosphor-settings-manager.inc b/meta-phosphor/recipes-phosphor/settings/phosphor-settings-manager.inc index a6223e9acf..d08273e382 100644 --- a/meta-phosphor/recipes-phosphor/settings/phosphor-settings-manager.inc +++ b/meta-phosphor/recipes-phosphor/settings/phosphor-settings-manager.inc @@ -2,4 +2,4 @@ HOMEPAGE = "http://github.com/openbmc/phosphor-settingsd" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=fa818a259cbed7ce8bc2a22d35a464fc" SRC_URI += "git://github.com/openbmc/phosphor-settingsd" -SRCREV = "3d805fe94abf741d4a228f8eef59f70bcb2328a7" +SRCREV = "6f62cc844b3e9f356e8ee79af256c41069a57140" diff --git a/meta-phosphor/recipes-phosphor/settings/phosphor-settings-manager/merge_settings.py b/meta-phosphor/recipes-phosphor/settings/phosphor-settings-manager/merge_settings.py index 01f5e35523..d910da5ba1 100755 --- a/meta-phosphor/recipes-phosphor/settings/phosphor-settings-manager/merge_settings.py +++ b/meta-phosphor/recipes-phosphor/settings/phosphor-settings-manager/merge_settings.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """Loads a "target" YAML file and overwrites its values with values from "override" YAML files. @@ -28,7 +28,7 @@ def dict_merge(target, source): """ if not isinstance(source, dict): return source - for k, v in source.iteritems(): + for k, v in source.items(): if k in target and isinstance(target[k], dict): dict_merge(target[k], v) else: diff --git a/meta-phosphor/recipes-phosphor/settings/phosphor-settings-manager_git.bb b/meta-phosphor/recipes-phosphor/settings/phosphor-settings-manager_git.bb index e528111956..85a63d243b 100644 --- a/meta-phosphor/recipes-phosphor/settings/phosphor-settings-manager_git.bb +++ b/meta-phosphor/recipes-phosphor/settings/phosphor-settings-manager_git.bb @@ -6,15 +6,15 @@ PV = "1.0+git${SRCPV}" inherit autotools inherit obmc-phosphor-dbus-service -inherit pythonnative +inherit python3native inherit phosphor-settings-manager require phosphor-settings-manager.inc DBUS_SERVICE_${PN} = "xyz.openbmc_project.Settings.service" -DEPENDS += "python-pyyaml-native" -DEPENDS += "python-mako-native" +DEPENDS += "${PYTHON_PN}-pyyaml-native" +DEPENDS += "${PYTHON_PN}-mako-native" DEPENDS += "autoconf-archive-native" DEPENDS += "virtual/phosphor-settings-defaults" DEPENDS += "${@df_enabled(d, 'obmc-mrw', 'phosphor-settings-read-settings-mrw-native')}" |