rpm: Pick debugfs package db files/dirs explicitly

Rather than copying the entire /etc hierarchy, specify the pieces we
actually need.

(From OE-Core rev: c8fbba7c0bb442282fe19abdcee492407e20b8cb)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit f0fea55ab02b013484282177a636795a254e7986)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
Alex Kiernan
2023-07-20 11:20:13 +01:00
committed by Steve Sakoman
parent 9f3e151acd
commit d7e4741091

View File

@@ -110,7 +110,7 @@ class PkgRootfs(Rootfs):
if self.progress_reporter:
self.progress_reporter.next_stage()
self._setup_dbg_rootfs(['/etc', '/var/lib/rpm', '/var/cache/dnf', '/var/lib/dnf'])
self._setup_dbg_rootfs(['/etc/rpm', '/etc/rpmrc', '/etc/dnf', '/var/lib/rpm', '/var/cache/dnf', '/var/lib/dnf'])
execute_pre_post_process(self.d, rpm_post_process_cmds)