summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/rootfs.py
diff options
context:
space:
mode:
authorFredrik Gustafsson <fredrik.gustafsson@axis.com>2020-07-24 16:42:30 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-07-27 19:54:00 +0100
commit87a1c8ee406f73e53888df3b682e8a5f0f610c2f (patch)
tree30c03e43dc1c2b03d2468c3f9a219135403cc5c1 /meta/lib/oe/rootfs.py
parent66ccc7a228bf73df0a4dd846bf2c8e99eaa79580 (diff)
downloadopenembedded-core-contrib-87a1c8ee406f73e53888df3b682e8a5f0f610c2f.tar.gz
rpm: Move manifest to its own subdir
This is a part of a refactor that will split the package manager code so that it's possible to use other package managers in other layers. Signed-off-by: Fredrik Gustafsson <fredrigu@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe/rootfs.py')
-rw-r--r--meta/lib/oe/rootfs.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py
index 0e05f1f75e..c674551764 100644
--- a/meta/lib/oe/rootfs.py
+++ b/meta/lib/oe/rootfs.py
@@ -11,7 +11,7 @@ import shutil
import os
import subprocess
import re
-
+from oe.package_manager.rpm.manifest import RpmManifest
class Rootfs(object, metaclass=ABCMeta):
"""
@@ -359,6 +359,7 @@ class RpmRootfs(Rootfs):
self.log_check_regex = r'(unpacking of archive failed|Cannot find package'\
r'|exit 1|ERROR: |Error: |Error |ERROR '\
r'|Failed |Failed: |Failed$|Failed\(\d+\):)'
+
self.manifest = RpmManifest(d, manifest_dir)
self.pm = RpmPM(d,