All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-virtualization][PATCH v2 1/2] xen-rpi-u-boot-scr: fix UNPACKDIR
@ 2026-11-25 22:57 Tim Orling
  2026-11-25 22:57 ` [meta-virtualization][PATCH v2 2/2] xen-rpi-u-boot-scr: replace UBOOT_ARCH Tim Orling
  2026-11-30  3:24 ` [meta-virtualization][PATCH v2 1/2] xen-rpi-u-boot-scr: fix UNPACKDIR Bruce Ashfield
  0 siblings, 2 replies; 6+ messages in thread
From: Tim Orling @ 2026-11-25 22:57 UTC (permalink / raw)
  To: meta-virtualization; +Cc: Tim Orling

Since oe-core:
f19ea21c8eb "bitbake.conf: set UNPACKDIR to just 'sources' and not 'sources-unpack'"
UNPACKDIR defaults to ${WORKDIR}/sources, so we can drop the redundant definition.

Since oe-core:
46480a5e66 "insane/do_qa_unpack: add checks that ensure S is set correctly"
S = "${UNPACKDIR}" is needed.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
v2: resend so the author is tim.orling@konsulko.com (v1 arrived as ticotimo@gmail.com)

 .../recipes-bsp/xen-rpi-u-boot-scr/xen-rpi-u-boot-scr.bb       | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dynamic-layers/raspberrypi/recipes-bsp/xen-rpi-u-boot-scr/xen-rpi-u-boot-scr.bb b/dynamic-layers/raspberrypi/recipes-bsp/xen-rpi-u-boot-scr/xen-rpi-u-boot-scr.bb
index 3f83c7f8..e25963ad 100644
--- a/dynamic-layers/raspberrypi/recipes-bsp/xen-rpi-u-boot-scr/xen-rpi-u-boot-scr.bb
+++ b/dynamic-layers/raspberrypi/recipes-bsp/xen-rpi-u-boot-scr/xen-rpi-u-boot-scr.bb
@@ -24,8 +24,7 @@ do_compile() {
 
 inherit kernel-arch deploy nopackages
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 do_deploy() {
     install -d ${DEPLOYDIR}
-- 
2.56.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [meta-virtualization][PATCH v2 2/2] xen-rpi-u-boot-scr: replace UBOOT_ARCH
  2026-11-25 22:57 [meta-virtualization][PATCH v2 1/2] xen-rpi-u-boot-scr: fix UNPACKDIR Tim Orling
@ 2026-11-25 22:57 ` Tim Orling
  2026-11-30  3:24   ` Bruce Ashfield
  2026-11-30  3:24 ` [meta-virtualization][PATCH v2 1/2] xen-rpi-u-boot-scr: fix UNPACKDIR Bruce Ashfield
  1 sibling, 1 reply; 6+ messages in thread
From: Tim Orling @ 2026-11-25 22:57 UTC (permalink / raw)
  To: meta-virtualization; +Cc: Tim Orling

Since oe-core:
bdcd04bbc5 "kernel-arch: Drop UBOOT_ARCH", we should just use the
oe.kernel.map_uboot_arch(d) call directly. This was the only
reason for inheriting kernel-arch, so we can drop it.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
v2: resend so the author is tim.orling@konsulko.com (v1 arrived as ticotimo@gmail.com)

 .../recipes-bsp/xen-rpi-u-boot-scr/xen-rpi-u-boot-scr.bb      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dynamic-layers/raspberrypi/recipes-bsp/xen-rpi-u-boot-scr/xen-rpi-u-boot-scr.bb b/dynamic-layers/raspberrypi/recipes-bsp/xen-rpi-u-boot-scr/xen-rpi-u-boot-scr.bb
index e25963ad..7e7b2f6a 100644
--- a/dynamic-layers/raspberrypi/recipes-bsp/xen-rpi-u-boot-scr/xen-rpi-u-boot-scr.bb
+++ b/dynamic-layers/raspberrypi/recipes-bsp/xen-rpi-u-boot-scr/xen-rpi-u-boot-scr.bb
@@ -19,10 +19,10 @@ do_compile() {
         -e 's/@@RPI_DEBUG_XEN_ARGS@@/${RPI_DEBUG_XEN_ARGS}/' \
         "${UNPACKDIR}/boot.cmd.xen.in" > "${WORKDIR}/boot.cmd"
 
-    mkimage -A ${UBOOT_ARCH} -T script -C none -n "Boot script" -d "${WORKDIR}/boot.cmd" boot.scr
+    mkimage -A ${@oe.kernel.map_uboot_arch(d)} -T script -C none -n "Boot script" -d "${WORKDIR}/boot.cmd" boot.scr
 }
 
-inherit kernel-arch deploy nopackages
+inherit deploy nopackages
 
 S = "${UNPACKDIR}"
 
-- 
2.56.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [meta-virtualization][PATCH v2 1/2] xen-rpi-u-boot-scr: fix UNPACKDIR
  2026-11-25 22:57 [meta-virtualization][PATCH v2 1/2] xen-rpi-u-boot-scr: fix UNPACKDIR Tim Orling
  2026-11-25 22:57 ` [meta-virtualization][PATCH v2 2/2] xen-rpi-u-boot-scr: replace UBOOT_ARCH Tim Orling
@ 2026-11-30  3:24 ` Bruce Ashfield
  2026-11-30  3:28   ` Tim Orling
  1 sibling, 1 reply; 6+ messages in thread
From: Bruce Ashfield @ 2026-11-30  3:24 UTC (permalink / raw)
  To: Tim Orling; +Cc: meta-virtualization

> Since oe-core:
> 46480a5e66 "insane/do_qa_unpack: add checks that ensure S is set correctly"
> S = "${UNPACKDIR}" is needed.

merged.

That check went into oe-core in June 2025, so this recipe has been
failing do_unpack on master since then and nobody noticed. Are you
actually using it, i.e. booting Xen on an rpi4 ? If no one is, I'm
inclined to drop it rather than keep fixing it on oe-core changes.

Bruce

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [meta-virtualization][PATCH v2 2/2] xen-rpi-u-boot-scr: replace UBOOT_ARCH
  2026-11-25 22:57 ` [meta-virtualization][PATCH v2 2/2] xen-rpi-u-boot-scr: replace UBOOT_ARCH Tim Orling
@ 2026-11-30  3:24   ` Bruce Ashfield
  0 siblings, 0 replies; 6+ messages in thread
From: Bruce Ashfield @ 2026-11-30  3:24 UTC (permalink / raw)
  To: Tim Orling; +Cc: meta-virtualization

merged

Bruce

> Since oe-core:
> bdcd04bbc5 "kernel-arch: Drop UBOOT_ARCH", we should just use the
> oe.kernel.map_uboot_arch(d) call directly. This was the only
> reason for inheriting kernel-arch, so we can drop it.
>
> Signed-off-by: Tim Orling <tim.orling@konsulko.com>
> ---
> v2: resend so the author is tim.orling@konsulko.com (v1 arrived as ticotimo@gmail.com)
>
>  .../recipes-bsp/xen-rpi-u-boot-scr/xen-rpi-u-boot-scr.bb      | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [meta-virtualization][PATCH v2 1/2] xen-rpi-u-boot-scr: fix UNPACKDIR
  2026-11-30  3:24 ` [meta-virtualization][PATCH v2 1/2] xen-rpi-u-boot-scr: fix UNPACKDIR Bruce Ashfield
@ 2026-11-30  3:28   ` Tim Orling
  2026-11-30  3:29     ` Bruce Ashfield
  0 siblings, 1 reply; 6+ messages in thread
From: Tim Orling @ 2026-11-30  3:28 UTC (permalink / raw)
  To: bruce.ashfield; +Cc: Tim Orling, meta-virtualization

[-- Attachment #1: Type: text/plain, Size: 1187 bytes --]

On Sun, Nov 29, 2026 at 19:24 Bruce Ashfield via meta-virtualization
<bruce.ashfield=gmail.com@lists.yoctoproject.org> wrote:

> > Since oe-core:
> > 46480a5e66 "insane/do_qa_unpack: add checks that ensure S is set
> correctly"
> > S = "${UNPACKDIR}" is needed.
>
> merged.
>
> That check went into oe-core in June 2025, so this recipe has been
> failing do_unpack on master since then and nobody noticed. Are you
> actually using it, i.e. booting Xen on an rpi4 ? If no one is, I'm
> inclined to drop it rather than keep fixing it on oe-core changes.


i just revived up-dev-day_virtualization, which uses it [1]. However, I can
carry it there if you prefer to drop it.

[1] https://gitlab.com/moto-timo/yp-dev-day_virtualization



>
> Bruce
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#10202):
> https://lists.yoctoproject.org/g/meta-virtualization/message/10202
> Mute This Topic: https://lists.yoctoproject.org/mt/122454521/924729
> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [
> ticotimo@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>

[-- Attachment #2: Type: text/html, Size: 2434 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [meta-virtualization][PATCH v2 1/2] xen-rpi-u-boot-scr: fix UNPACKDIR
  2026-11-30  3:28   ` Tim Orling
@ 2026-11-30  3:29     ` Bruce Ashfield
  0 siblings, 0 replies; 6+ messages in thread
From: Bruce Ashfield @ 2026-11-30  3:29 UTC (permalink / raw)
  To: Tim Orling; +Cc: Tim Orling, meta-virtualization

[-- Attachment #1: Type: text/plain, Size: 1605 bytes --]

On Sun, Nov 29, 2026 at 10:28 PM Tim Orling <ticotimo@gmail.com> wrote:

>
>
> On Sun, Nov 29, 2026 at 19:24 Bruce Ashfield via meta-virtualization
> <bruce.ashfield=gmail.com@lists.yoctoproject.org> wrote:
>
>> > Since oe-core:
>> > 46480a5e66 "insane/do_qa_unpack: add checks that ensure S is set
>> correctly"
>> > S = "${UNPACKDIR}" is needed.
>>
>> merged.
>>
>> That check went into oe-core in June 2025, so this recipe has been
>> failing do_unpack on master since then and nobody noticed. Are you
>> actually using it, i.e. booting Xen on an rpi4 ? If no one is, I'm
>> inclined to drop it rather than keep fixing it on oe-core changes.
>
>
> i just revived up-dev-day_virtualization, which uses it [1]. However, I
> can carry it there if you prefer to drop it.
>
> [1] https://gitlab.com/moto-timo/yp-dev-day_virtualization
>

Nope. Happy to carry it. I just wanted to see a user. Hopefully I'l
remember this time :)

Bruce



>
>
>
>>
>> Bruce
>>
>> -=-=-=-=-=-=-=-=-=-=-=-
>> Links: You receive all messages sent to this group.
>> View/Reply Online (#10202):
>> https://lists.yoctoproject.org/g/meta-virtualization/message/10202
>> Mute This Topic: https://lists.yoctoproject.org/mt/122454521/924729
>> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
>> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [
>> ticotimo@gmail.com]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>
>>

-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II

[-- Attachment #2: Type: text/html, Size: 3689 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-11-30  3:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-25 22:57 [meta-virtualization][PATCH v2 1/2] xen-rpi-u-boot-scr: fix UNPACKDIR Tim Orling
2026-11-25 22:57 ` [meta-virtualization][PATCH v2 2/2] xen-rpi-u-boot-scr: replace UBOOT_ARCH Tim Orling
2026-11-30  3:24   ` Bruce Ashfield
2026-11-30  3:24 ` [meta-virtualization][PATCH v2 1/2] xen-rpi-u-boot-scr: fix UNPACKDIR Bruce Ashfield
2026-11-30  3:28   ` Tim Orling
2026-11-30  3:29     ` Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.