summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/rootfs.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oe/rootfs.py')
-rw-r--r--meta/lib/oe/rootfs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py
index 7087b12f25..d93485819a 100644
--- a/meta/lib/oe/rootfs.py
+++ b/meta/lib/oe/rootfs.py
@@ -536,7 +536,7 @@ class DpkgOpkgRootfs(Rootfs):
536 pkg_depends = m_depends.group(1) 536 pkg_depends = m_depends.group(1)
537 537
538 # remove package dependencies not in postinsts 538 # remove package dependencies not in postinsts
539 pkg_names = pkgs.keys() 539 pkg_names = list(pkgs.keys())
540 for pkg_name in pkg_names: 540 for pkg_name in pkg_names:
541 deps = pkgs[pkg_name][:] 541 deps = pkgs[pkg_name][:]
542 542
@@ -569,7 +569,7 @@ class DpkgOpkgRootfs(Rootfs):
569 pkgs = self._get_pkgs_postinsts(status_file) 569 pkgs = self._get_pkgs_postinsts(status_file)
570 if pkgs: 570 if pkgs:
571 root = "__packagegroup_postinst__" 571 root = "__packagegroup_postinst__"
572 pkgs[root] = pkgs.keys() 572 pkgs[root] = list(pkgs.keys())
573 _dep_resolve(pkgs, root, pkg_list, []) 573 _dep_resolve(pkgs, root, pkg_list, [])
574 pkg_list.remove(root) 574 pkg_list.remove(root)
575 575