summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Geissler <openbmcbump-github@yahoo.com>2020-04-02 16:11:28 +0300
committerAndrew Geissler <geissonator@yahoo.com>2020-04-03 00:14:25 +0300
commit384f1909f842aeb25c2ae1ec0245985cd298cad7 (patch)
tree3c55b2a48d7bfa2efa5092a4fb7e2a8243bb84cf
parent5d0011f5327f25dea62bba0e0b5078448cc624cc (diff)
downloadopenbmc-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>
-rw-r--r--meta-phosphor/recipes-phosphor/settings/phosphor-settings-manager.inc2
-rwxr-xr-xmeta-phosphor/recipes-phosphor/settings/phosphor-settings-manager/merge_settings.py4
-rw-r--r--meta-phosphor/recipes-phosphor/settings/phosphor-settings-manager_git.bb6
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 a6223e9ac..d08273e38 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 01f5e3552..d910da5ba 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 e52811195..85a63d243 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')}"