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: 007a57ce36a06f9a78675563020f24e1afa3caa1)

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 6f3c2ff35a
commit 1955a65b98

View File

@@ -108,7 +108,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)