mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
rootfs.py: Install -src packages when PACKAGE_DEBUG_SPLIT_STYLE is "debug-with-srcpkg"
When the source packages are created, they need to be included in the debug image created when IMAGE_GEN_DEBUGFS = "1" for it to be usable for debugging. [YOCTO #12930] (From OE-Core rev: 5fc7fbc10bbd3a54df16db275ecd6080bc58f19e) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
f0c59c8876
commit
364c4c7d3f
@@ -144,6 +144,10 @@ class Rootfs(object, metaclass=ABCMeta):
|
||||
bb.note(" Install complementary '*-dbg' packages...")
|
||||
self.pm.install_complementary('*-dbg')
|
||||
|
||||
if self.d.getVar('PACKAGE_DEBUG_SPLIT_STYLE') == 'debug-with-srcpkg':
|
||||
bb.note(" Install complementary '*-src' packages...")
|
||||
self.pm.install_complementary('*-src')
|
||||
|
||||
bb.note(" Rename debug rootfs...")
|
||||
try:
|
||||
shutil.rmtree(self.image_rootfs + '-dbg')
|
||||
|
||||
Reference in New Issue
Block a user