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 authored and Steve Sakoman committed 2023-08-15 06:18:49 -10:00
1 parent 9f3e151acd
commit d7e4741091
1 file changed
+1 -1
+1 -1
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)