openembedded-core.lists.openembedded.org archive mirror
 help / color / mirror / Atom feed
From: Michael Opdenacker <michael.opdenacker@bootlin.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>,
	Andrej Valek <andrej.valek@siemens.com>,
	openembedded-core@lists.openembedded.org
Cc: saul.wold@windriver.com
Subject: Re: [OE-core][PATCH] kernel: add missing path to search for debug files
Date: Fri, 21 Jan 2022 10:18:42 +0100	[thread overview]
Message-ID: <9d5cf8f9-e2db-0d25-4e6f-cab32111b0ee@bootlin.com> (raw)
In-Reply-To: <59f559e8a8f7a1ec6fccb9de63002c781cbe7acf.camel@linuxfoundation.org>


On 1/19/22 5:48 PM, Richard Purdie wrote:
> On Wed, 2022-01-19 at 12:57 +0100, Andrej Valek wrote:
>> Since explicit debug package creation via ${KERNEL_PACKAGE_NAME}-dbg has
>> been added to kernel, it has to cover all PACKAGE_DEBUG_SPLIT_STYLE
>> options. For ex. when the variable "debug-file-directory" package search
>> path has to be set explicitly, otherwise it will not find any files.
>>
>> Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
>> ---
>>  meta/classes/kernel.bbclass | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
>> index 473e28be47..9ea201c936 100644
>> --- a/meta/classes/kernel.bbclass
>> +++ b/meta/classes/kernel.bbclass
>> @@ -647,6 +647,7 @@ FILES:${KERNEL_PACKAGE_NAME}-image = ""
>>  FILES:${KERNEL_PACKAGE_NAME}-dev = "/boot/System.map* /boot/Module.symvers* /boot/config* ${KERNEL_SRC_PATH} ${nonarch_base_libdir}/modules/${KERNEL_VERSION}/build"
>>  FILES:${KERNEL_PACKAGE_NAME}-vmlinux = "/boot/vmlinux-${KERNEL_VERSION_NAME}"
>>  FILES:${KERNEL_PACKAGE_NAME}-modules = ""
>> +FILES:${KERNEL_PACKAGE_NAME}-dbg = "/usr/lib/debug /usr/src/debug"
> This seems to highlight that we have no tests for KERNEL_PACKAGE_NAME. At the
> very least we need a bugzilla entry for creating some...


Done: https://bugzilla.yoctoproject.org/show_bug.cgi?id=14700
Cheers
Michael

-- 
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



  reply	other threads:[~2022-01-21  9:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-19 11:57 [OE-core][PATCH] kernel: add missing path to search for debug files Andrej Valek
2022-01-19 16:48 ` Richard Purdie
2022-01-21  9:18   ` Michael Opdenacker [this message]
2022-01-24  8:19     ` Valek, Andrej
     [not found]     ` <16CD270F9BE96264.31480@lists.openembedded.org>
2022-05-12  5:46       ` Valek, Andrej

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9d5cf8f9-e2db-0d25-4e6f-cab32111b0ee@bootlin.com \
    --to=michael.opdenacker@bootlin.com \
    --cc=andrej.valek@siemens.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=richard.purdie@linuxfoundation.org \
    --cc=saul.wold@windriver.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).