All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] [arm-autonomy] Fix missing xen binary in deploy image
@ 2020-05-07 11:10 Bertrand Marquis
  2020-05-08 13:05 ` [meta-arm] " Jon Mason
  0 siblings, 1 reply; 2+ messages in thread
From: Bertrand Marquis @ 2020-05-07 11:10 UTC (permalink / raw)
  To: meta-arm; +Cc: nd

Change Xen package to be machine specific.
This is solving issues encountered when building 2 projects with the
same xen configuration but different machines.
In that case one of the project did not have a xen binary in the deploy
directory.

Change-Id: I2575d91b57455ab690eec9c51e07415673242c06
Issue-Id: SCM-815
Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com>
---
 meta-arm-autonomy/recipes-extended/xen/xen_%.bbappend | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/meta-arm-autonomy/recipes-extended/xen/xen_%.bbappend b/meta-arm-autonomy/recipes-extended/xen/xen_%.bbappend
index 92348e6..846d244 100644
--- a/meta-arm-autonomy/recipes-extended/xen/xen_%.bbappend
+++ b/meta-arm-autonomy/recipes-extended/xen/xen_%.bbappend
@@ -6,3 +6,9 @@ XEN_CONFIG_EARLY_PRINTK ??= "disable"
 
 EXTRA_OEMAKE += "${@bb.utils.contains('XEN_CONFIG_EARLY_PRINTK', 'disable', \
     '', ' CONFIG_DEBUG=y CONFIG_EARLY_PRINTK=${XEN_CONFIG_EARLY_PRINTK}',d)}"
+
+# Make Xen machine specific
+# This ensures that sstate is properly handled and that each machine can have
+# its own configuration
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
-- 
2.17.1


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

* Re: [meta-arm] [PATCH] [arm-autonomy] Fix missing xen binary in deploy image
  2020-05-07 11:10 [PATCH] [arm-autonomy] Fix missing xen binary in deploy image Bertrand Marquis
@ 2020-05-08 13:05 ` Jon Mason
  0 siblings, 0 replies; 2+ messages in thread
From: Jon Mason @ 2020-05-08 13:05 UTC (permalink / raw)
  To: meta-arm

On Thu, May 07, 2020 at 12:10:39PM +0100, Bertrand Marquis wrote:
> Change Xen package to be machine specific.
> This is solving issues encountered when building 2 projects with the
> same xen configuration but different machines.
> In that case one of the project did not have a xen binary in the deploy
> directory.
> 
> Change-Id: I2575d91b57455ab690eec9c51e07415673242c06
> Issue-Id: SCM-815
> Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com>

Pulled into the master branch.

Thanks,
Jon

> ---
>  meta-arm-autonomy/recipes-extended/xen/xen_%.bbappend | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/meta-arm-autonomy/recipes-extended/xen/xen_%.bbappend b/meta-arm-autonomy/recipes-extended/xen/xen_%.bbappend
> index 92348e6..846d244 100644
> --- a/meta-arm-autonomy/recipes-extended/xen/xen_%.bbappend
> +++ b/meta-arm-autonomy/recipes-extended/xen/xen_%.bbappend
> @@ -6,3 +6,9 @@ XEN_CONFIG_EARLY_PRINTK ??= "disable"
>  
>  EXTRA_OEMAKE += "${@bb.utils.contains('XEN_CONFIG_EARLY_PRINTK', 'disable', \
>      '', ' CONFIG_DEBUG=y CONFIG_EARLY_PRINTK=${XEN_CONFIG_EARLY_PRINTK}',d)}"
> +
> +# Make Xen machine specific
> +# This ensures that sstate is properly handled and that each machine can have
> +# its own configuration
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> +
> -- 
> 2.17.1
> 

> 


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

end of thread, other threads:[~2020-05-08 13:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-07 11:10 [PATCH] [arm-autonomy] Fix missing xen binary in deploy image Bertrand Marquis
2020-05-08 13:05 ` [meta-arm] " Jon Mason

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.