From: Bruce Ashfield <[email protected]>

This update fixes the build against kernel 6.12+

Also, to fix the following warning:

   WARNING: vboxguestdrivers-7.0.22-r0 do_unpack: vboxguestdrivers: the 
directory ${WORKDIR}/${BP}
   
(build/tmp/work/qemux86_64-poky-linux/vboxguestdrivers/7.0.22/vboxguestdrivers-7.0.22)
 pointed
   to by the S variable doesn't exist - please set S within the recip

We can set S for the unpack task, much the same way we do for
patch. Alternate solutions should work (do_unpack[dirs], etc), but
they didn't work in my testing.

Signed-off-by: Bruce Ashfield <[email protected]>
---
 .../{vboxguestdrivers_7.0.20.bb => vboxguestdrivers_7.0.22.bb} | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
 rename meta-oe/recipes-support/vboxguestdrivers/{vboxguestdrivers_7.0.20.bb => 
vboxguestdrivers_7.0.22.bb} (96%)

diff --git 
a/meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers_7.0.20.bb 
b/meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers_7.0.22.bb
similarity index 96%
rename from meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers_7.0.20.bb
rename to meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers_7.0.22.bb
index 444b86a1b..74b15aec3 100644
--- a/meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers_7.0.20.bb
+++ b/meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers_7.0.22.bb
@@ -15,9 +15,10 @@ SRC_URI = 
"http://download.virtualbox.org/virtualbox/${PV}/${VBOX_NAME}.tar.bz2
     file://Makefile.utils \
 "
 
-SRC_URI[sha256sum] = 
"5cf5979bef66ebab3fcd495796b215a940e8a07c469d4bc56d064de44222dd02"
+SRC_URI[sha256sum] = 
"cf3ddf633ca410f1b087b0722413e83247cda4f14d33323dc122a4a42ff61981"
 
 S ?= "${WORKDIR}/vbox_module"
+S:task-unpack = "${UNPACKDIR}/${VBOX_NAME}"
 S:task-patch = "${WORKDIR}/${VBOX_NAME}"
 
 export VBOX_KBUILD_TARGET_ARCH="${ARCH}"
-- 
2.39.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#114285): 
https://lists.openembedded.org/g/openembedded-devel/message/114285
Mute This Topic: https://lists.openembedded.org/mt/110067489/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to