]> code.ossystems Code Review - openembedded-core.git/commit
kernel.bbclass: Move away from calling package_get_auto_pr
authorMark Hatle <mark.hatle@kernel.crashing.org>
Thu, 27 Aug 2020 19:07:05 +0000 (14:07 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 28 Aug 2020 06:06:44 +0000 (07:06 +0100)
commit86142dad13935a0d9af4a4177e05ff5c39003db7
tree738034736e2992f5122b14ec1cc1147b230871ad
parent155ae6a3fe84c25904ffe7058e125bb4a28e2b45
kernel.bbclass: Move away from calling package_get_auto_pr

...instead we call read_subpackage_metadata.

Calling package_get_auto_pr *should* result in the same PKGV AUTOINC
replacement.  However, it will also end up changing PKGR differently
then do_package as the BB_TASKHASH used will be for the wrong task.

Generally this won't cause any real-world issue, but it could cause
problems.

Moving to read_subpackage_metadata ensures that the values used
in do_package will be read in and used for kernel deployment.

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel.bbclass