[meta-virtualization] [PATCH v3 3/8] xen: Mini-OS source code with make links target applied

Christopher Clark christopher.w.clark at gmail.com
Thu Apr 26 15:03:31 PDT 2018


On Thu, Apr 26, 2018 at 1:15 PM, Kurt Bodiker <
kurt.bodiker at braintrust-us.com> wrote:

> Mini-OS is a tiny OS kernel distributed with the Xen Project Hypervisor
> sources. It is mainly used as operating system for stub domains that are
> used for Dom0 Disaggregation.
>
> The Mini-OS source tree is updated and released in coordination with Xen
> releases. The Mini-OS source tree and architecture-specific symbolic
> links are required for building the dependencies used to build Xen
> stubodmains. For convenience, the make links target was executed before
> packaging. Otherwise, this is a source package. The current build
> methods for Xen stubdomains require either a source archive which
> contains the Mini-OS source code or execution of a make target that will
> fetch the appropriate Mini-OS source tree from it's git repository. This
> recipe removes the mysticism of relating to the version of Mini-OS being
> used and it's origins and provides the flexibility to easily changes
> versions or patch as necessary.
>
> Signed-off-by: Kurt Bodiker <kurt.bodiker at braintrust-us.com>
> ---
> Changes in v3:
>  - none
> Changes in v2:
>  - Mini-OS recipe introduced
> ---
>  .../xen/files/mini-os_udivmoddi4-gcc7.patch        | 43
> ++++++++++++++++++++++
>  recipes-extended/xen/mini-os.inc                   | 28 ++++++++++++++
>  recipes-extended/xen/mini-os_4.9.0.bb              | 18 +++++++++
>  3 files changed, 89 insertions(+)
>  create mode 100644 recipes-extended/xen/files/
> mini-os_udivmoddi4-gcc7.patch
>  create mode 100644 recipes-extended/xen/mini-os.inc
>  create mode 100644 recipes-extended/xen/mini-os_4.9.0.bb
>
> diff --git a/recipes-extended/xen/files/mini-os_udivmoddi4-gcc7.patch
> b/recipes-extended/xen/files/mini-os_udivmoddi4-gcc7.patch
> new file mode 100644
> index 0000000..a9eef60
> --- /dev/null
> +++ b/recipes-extended/xen/files/mini-os_udivmoddi4-gcc7.patch
> @@ -0,0 +1,43 @@
> +From d991bdbc062248221511ecb795617c36b37e1d2e Mon Sep 17 00:00:00 2001
> +From: Wei Liu <wei.liu2 at citrix.com>
> +Date: Wed, 9 Aug 2017 13:15:48 +0100
> +Subject: [PATCH] lib/math.c: implement __udivmoddi4
> +
> +Some code compiled by gcc 7 requires this.
> +
> +Signed-off-by: Wei Liu <wei.liu2 at citrix.com>
> +Reviewed-by: Samuel Thibault <samuel.thibault at ens-lyon.org>
> +---
> + lib/math.c | 10 ++++++++++
> + 1 file changed, 10 insertions(+)
> +
> +diff --git a/lib/math.c b/lib/math.c
> +index 561393e..b98cc1d 100644
> +--- a/lib/math.c
> ++++ b/lib/math.c
> +@@ -6,6 +6,7 @@
> +  *        File: math.c
> +  *      Author: Rolf Neugebauer (neugebar at dcs.gla.ac.uk)
> +  *     Changes:
> ++ *        Implement __udivmoddi4 (Wei Liu <wei.liu2 at citrix.com>)
> +  *
> +  *        Date: Aug 2003
> +  *
>


Hitting whitespace damage on applying this patch with the hunk above.

Christopher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-virtualization/attachments/20180426/3ec48eef/attachment.html>


More information about the meta-virtualization mailing list