]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
rootfs: Add debugfs package db file copy and cleanup
authorAlex Kiernan <alex.kiernan@gmail.com>
Thu, 20 Jul 2023 10:20:12 +0000 (11:20 +0100)
committerSteve Sakoman <steve@sakoman.com>
Tue, 22 Aug 2023 17:07:13 +0000 (07:07 -1000)
commit96c79c54f282497eb1521b1d5da648ae83fcfe8b
tree2c66f88d0b58ed0008063ec6e3a5f816b5d37258
parent60ca407ce3113d8b507aaa0876b28902aab7ed5b
rootfs: Add debugfs package db file copy and cleanup

When copying the package database files for the debugfs, add individual
file copy as well as tree copying. After the debug rootfs has been
created, cleanup the package files.

This then allows us to avoid a problem where (for rpm at least)
extraneous files in the debug rootfs would cause failures during
oe-selftest because some files existed in both regular and debugfs
images.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit ce49ea435ce55eb5b6da442c12e03a806534c38d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/lib/oe/rootfs.py