From: Quentin Schulz <[email protected]>
Right before this message is printed, the in-tree defconfig is checked
against the one in WORKDIR. If it is different, and therefore either
provided through SRC_URI or patched, then the message is printed.
Therefore, the debug message is incorrect and should say that a patched
defconfig was detected and overwritten.
Fixes: 004da4c6c602 ("kernel-yocto: split meta data gathering into patch and
config phases")
Cc: Bruce Ashfield <[email protected]>
Signed-off-by: Quentin Schulz <[email protected]>
---
meta/classes-recipe/kernel-yocto.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes-recipe/kernel-yocto.bbclass
b/meta/classes-recipe/kernel-yocto.bbclass
index f741a342d4..6d5c3b6327 100644
--- a/meta/classes-recipe/kernel-yocto.bbclass
+++ b/meta/classes-recipe/kernel-yocto.bbclass
@@ -158,7 +158,7 @@ do_kernel_metadata() {
# one already placed in UNPACKDIR
cmp "${UNPACKDIR}/defconfig"
"${S}/arch/${ARCH}/configs/${KBUILD_DEFCONFIG}"
if [ $? -ne 0 ]; then
- bbdebug 1 "detected SRC_URI or
unpatched defconfig in UNPACKDIR. ${KBUILD_DEFCONFIG} copied over it"
+ bbdebug 1 "detected SRC_URI or patched
defconfig in UNPACKDIR. ${KBUILD_DEFCONFIG} copied over it"
fi
cp -f
${S}/arch/${ARCH}/configs/${KBUILD_DEFCONFIG} ${UNPACKDIR}/defconfig
else
---
base-commit: 51aa0217e595939f15bd3ffd7625907aef142c05
change-id: 20240528-kernel-yocto-unpatched-bbdebug-dc378b55ea22
Best regards,
--
Quentin Schulz <[email protected]>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#199973):
https://lists.openembedded.org/g/openembedded-core/message/199973
Mute This Topic: https://lists.openembedded.org/mt/106348998/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-