summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib')
-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 f8f717c050..c51e76ddfc 100644
--- a/meta/lib/oe/rootfs.py
+++ b/meta/lib/oe/rootfs.py
@@ -472,7 +472,8 @@ class RpmRootfs(Rootfs):
472 self._log_check_error() 472 self._log_check_error()
473 473
474 def _cleanup(self): 474 def _cleanup(self):
475 self.pm._invoke_dnf(["clean", "all"]) 475 if bb.utils.contains("IMAGE_FEATURES", "package-management", True, False, self.d):
476 self.pm._invoke_dnf(["clean", "all"])
476 477
477 478
478class DpkgOpkgRootfs(Rootfs): 479class DpkgOpkgRootfs(Rootfs):