summaryrefslogtreecommitdiffstats
path: root/recipes-core/runx
Commit message (Collapse)AuthorAgeFilesLines
* runx: allow internal and external busyboxBruce Ashfield2020-09-223-5/+1645
| | | | | | | | 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>
* runx: robustness changesBruce Ashfield2020-09-222-3/+38
| | | | | | | | | | | | | 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>
* runx: add additional dependenciesBruce Ashfield2020-09-221-0/+1
| | | | | | | | 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>
* runx: Fix linux kernel versions referenced in the recipeChandana kalluri2020-08-121-3/+7
| | | | | | | | | 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>
* runx: update to v5.4 kernelBruce Ashfield2020-06-183-33/+27
| | | | | | | | | | | 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>
* runx: change xen-xl to xen-tools-xlBruce Ashfield2020-05-021-1/+1
| | | | | | | 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>
* runx: drop distro_features_checkMing Liu2020-03-151-2/+1
| | | | | | | distro_features_check bbclass is deprecated, inherit features_check instead. Signed-off-by: Ming Liu <ming.liu@toradex.com>
* runx: Clean up recipe by removing go integrationSai Hari Chandana Kalluri2020-03-151-54/+5
| | | | | | | | | 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>
* runx: introduce xen OCI container recipeBruce Ashfield2020-03-113-0/+282
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>