Commit Graph

10 Commits

Author SHA1 Message Date
Bruce Ashfield
438ed8b506 runx: update to v1.0
bumping runX to the 1.0 tag

  - drop patches that are part of the release
  - bump kernel to v5.4.104 to work with our gcc10
  - tweak initrd install to use externally provided busybox

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-03-26 11:12:29 -04:00
Bruce Ashfield
cdf6f55347 runx: allow internal and external busybox
runx knows how to build its own copy of busybox for its initrd,
adding a flag to allow us to select which mode we want.

Signed-off-by: Bruce Ashfield <bruce.ashfield@xilinx.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-09-22 15:51:27 -04:00
Bruce Ashfield
d945c7a9ed runx: robustness changes
Adding one build and one runtime robustness change:

  - build: specify the syroot native as a library path to qemu user.
           This allows us to run dynamic executables

  - runtime: add a patch to increase the serial fd timeout. We'll
             drop this once it is merged upstream.

Signed-off-by: Bruce Ashfield <bruce.ashfield@xilinx.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-09-22 15:51:17 -04:00
Bruce Ashfield
ff06d54434 runx: add additional dependencies
There are some missing dependencies for a fully functional runx
host. We add them here.

Signed-off-by: Bruce Ashfield <bruce.ashfield@xilinx.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-09-22 15:50:59 -04:00
Chandana kalluri
b5e6a0d0af runx: Fix linux kernel versions referenced in the recipe
Fix the linux kernel versions referenced in the recipe. For ease of use, add
variables KERNEL_SRC_VER and KERNEL_URL_VER that can be used to udpate the
linux versions.

Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-08-12 22:37:24 -04:00
Bruce Ashfield
73fff50578 runx: update to v5.4 kernel
Updating to the tip of the runx repository. This brings in some build
changes, as well as introducing the v5.4 kernel.

Our patches for cross compilation need to be tweaked to the new
structure, as well as the install task to pickup the new location
of some files.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-06-18 10:44:59 -04:00
Bruce Ashfield
f3faf9f1ad runx: change xen-xl to xen-tools-xl
The package name for xen-xl has changed, so we need to update the
runx rdepends .. or we are unbuildable.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-05-02 11:02:06 -04:00
Ming Liu
db8e3306db runx: drop distro_features_check
distro_features_check bbclass is deprecated, inherit features_check
instead.

Signed-off-by: Ming Liu <ming.liu@toradex.com>
2020-03-15 12:46:19 -04:00
Sai Hari Chandana Kalluri
bbe5243156 runx: Clean up recipe by removing go integration
Remove the placeholder code for go console integration.
Pin the recipe to use the latest commit and copy additional scripts needed at runtime.
Inlcude socat, daemonize and gobuild as required dependencies.

Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-03-15 12:43:15 -04:00
Bruce Ashfield
4ff05c1bc7 runx: introduce xen OCI container recipe
This is the initial version of the runX OCI wrapper to allow Xen based virtual
machines to be launched and managed as containers via an OCI interface.

In this first version, runx consists of the following components:

  - runX binary/wrapper (/usr/bin/)
  - state control wrappers (/usr/share/runX)
  - runx kernel
  - initrd

Once built and installed these allow the launching of Xen virtual machines
in an OCI compliant manner.

Dependencies of this recipe include:

  - kernel: must be a specific version, currently 4.15. This is done as
            a nested build and not as a multiconfig (by design).
  - static target busybox: used for the initrd
  - initrd: constructed from the kernel + busybox

The configuration of the system to build the dependencies in the right
mode for use in runX is controlled via the DISTRO_FEATURE "vmsep". If
this feature is missing, and runx is bitbaked, an error is thrown.

Installing the "runx" package to a rootfs will install all the required
support components (and dependencies).

Signed-off-by: Bruce Ashfield <bruce.ashfield@xilinx.com>
2020-03-11 12:20:04 -04:00