summaryrefslogtreecommitdiffstats
path: root/recipes-extended/xen/xen.inc
Commit message (Collapse)AuthorAgeFilesLines
...
* xen.inc: fix ordering of stubs taskChris Patterson2016-02-241-1/+1
| | | | | | | | | | | | | | | | Placing the stubs function between patch and configure steps breaks because it has dependencies which are not guranteed until the configure step. Build error: "fatal error: gnu/stubs-32.h: No such file or directory" This patch simply moves the step between configure and compile to resolve the dependency issue. Reported-by: Machon Gregory <mbgrego@tycho.nsa.gov> Signed-off-by: Chris Patterson <cjp256@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: don't inject -mfpmath=sse which causes build issuesDoug Goldstein2016-02-011-0/+5
| | | | | | | | Don't inject -mfpmath=sse into the build which causes issues with the hypervisor build. Signed-off-by: Doug Goldstein <cardoe@cardoe.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: don't allow the build system to fetchDoug Goldstein2016-02-011-0/+5
| | | | | | | | All dependencies should be reflected in the Yocto dependency and the Xen build system should not go off fetching things on its own. Signed-off-by: Doug Goldstein <cardoe@cardoe.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: merge do_install_append to do_installDoug Goldstein2016-02-011-0/+8
| | | | | | | | The do_install_append is necessary for the git build as well so just merge that into the main include. Signed-off-by: Doug Goldstein <cardoe@cardoe.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: move bits common to all Xen versions to xen.incDoug Goldstein2016-02-011-0/+14
| | | | | | | | These items are common for all Xen versions since at least 4.5 and newer so these should just go in the common include file. Signed-off-by: Doug Goldstein <cardoe@cardoe.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: separate the extra steps into their own tasksDoug Goldstein2016-02-011-1/+20
| | | | | | | | | do_configure() was overloaded with a lot of behaviors that really were source code patching so instead make them as extra tasks that happen after do_patch() and before do_configure(). Signed-off-by: Doug Goldstein <cardoe@cardoe.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: fix up typo in XSM commentsDoug Goldstein2016-02-011-2/+2
| | | | | Signed-off-by: Doug Goldstein <cardoe@cardoe.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: drop explicit DEPEND on libgccDoug Goldstein2016-02-011-1/+1
| | | | | | | | | 'xen-base' is a meta package and itself should not depend on a library this. Yocto checks the NEEDED of the dynamic section and automatically includes those libraries as dependencies. Signed-off-by: Doug Goldstein <cardoe@cardoe.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: add xen-devd to packages list.Chris Patterson2016-01-191-0/+1
| | | | | | | | Package was configured, but never added to PACKAGES. Reported-by: Machon Gregory <mbgrego@tycho.nsa.gov> Signed-off-by: Chris Patterson <cjp256@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: package remus-netbuf-setup into xen-remusChris Patterson2016-01-051-1/+5
| | | | | | | | Package remus-netbuf-setup script which does not ship with any existing package (throwing up a QA warning). Signed-off-by: Chris Patterson <cjp256@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: add libnl to DEPENDSChris Patterson2016-01-051-0/+1
| | | | | Signed-off-by: Chris Patterson <cjp256@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: uprev to 4.6.0Chris Patterson2015-12-251-12/+1
| | | | | | | | | - Update LICENSE checksum. - Drop udev package that has been removed (replaced with xl devd / xendriverdomain) Signed-off-by: Chris Patterson <cjp256@gmail.com> Signed-off-by: Bruce Ashfield <bruce@zedd.org>
* xen: add support for files added with Xen 4.6Doug Goldstein2015-12-251-1/+11
| | | | | | | | | | Xen 4.6 dropped udev support and has instead switched to their own 'devd' daemon run by the xl command. There is a SysV init script provided with it but no systemd service file. Signed-off-by: Doug Goldstein <cardoe@cardoe.com> Signed-off-by: Chris Patterson <cjp256@gmail.com> Signed-off-by: Bruce Ashfield <bruce@zedd.org>
* xen: empty out rdepends for xen-dev to lose QA warningChris Patterson2015-12-251-0/+2
| | | | | | | | | It appears that it defaults to rdepend on xen, causing a QA error: WARNING: QA Issue: xen-dev rdepends on xen, but it isn't a build dependency? [build-deps] Signed-off-by: Chris Patterson <cjp256@gmail.com> Signed-off-by: Bruce Ashfield <bruce@zedd.org>
* Enables XSM functionality in builds that contain "xsm" in the PACKAGECONFIG.Machon Gregory2015-12-251-1/+15
| | | | | | | | * Correctly identifies xenpolicy by ${PV} * Adds a check to identify if xsm is specified in PACKAGECONFIG and if so manually sets XSM_ENABLE in Xen's .config Signed-off-by: Machon Gregory <mbgrego@tycho.nsa.gov> Signed-off-by: Bruce Ashfield <bruce@zedd.org>
* Disables OCaml tools.Machon Gregory2015-12-251-0/+1
| | | | | | | There is currently no support for OCaml in OpenEmbedded. Signed-off-by: Machon Gregory <mbgrego@tycho.nsa.gov> Signed-off-by: Bruce Ashfield <bruce@zedd.org>
* xen: drop PR variable from include fileDoug Goldstein2015-12-151-1/+0
| | | | | | | | The PR server has taken care of revision bumps for quite some time, so we can safely drop PR from the xen .inc file. Signed-off-by: Doug Goldstein <cardoe@cardoe.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: resolve issue when using sstate cacheDoug Goldstein2015-12-151-7/+7
| | | | | | | | When using an sstate cache xen/xen.gz was not being installed into the image. Signed-off-by: Doug Goldstein <cardoe@cardoe.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: move udev dependency to package that needs itDoug Goldstein2015-12-151-1/+3
| | | | | | | | xen-base doesn't need udev but the xen-udev package which contains all the udev scripts does. Signed-off-by: Doug Goldstein <cardoe@cardoe.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: use proper variable for /usr/share pathDoug Goldstein2015-12-151-2/+2
| | | | | | | | Don't open code /usr/share but instead use ${datadir} which is more correct. Signed-off-by: Doug Goldstein <cardoe@cardoe.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: add new files to packagesDoug Goldstein2015-08-311-2/+15
| | | | | | | These files are now installed post 4.5.0 and as such they need to be placed into appropriate packages. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: add missing dependencyDoug Goldstein2015-08-311-0/+4
| | | | | | | The xen-fsimage package contains shared libraries which depend on the shared libraries from libext2fs so there needs to be a RDEPEND set. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: avoid parse time errors for non-xen-archsChristopher Larson2015-03-171-0/+5
| | | | | | | | | | | | | | | XEN_TARGET_ARCH, when expanded, would emit a bb.error(). Referencing XEN_TARGET_ARCH in PACKAGECONFIG resulted in its expansion at the up front parse time, rather than at compile time, so non-xen-supported-archs like powerpc would see parse time errors, resulting in non-zero bitbake exit codes. Naturally this isn't ideal, so instead have the mapping function return 'INVALID' in the unsupported case, and in anonymous python, raise SkipPackage if the mapped architecture is invalid, so it's seen as unbuildable in that case. Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: Add 'hvm' PACKAGECONFIG for hvmloader buildingNathan Rossi2015-02-201-1/+4
| | | | | | | | * The 'hvm' PACKAGECONFIG (which is valid for x86 targets, and default enabled for x86-64 targets) enables building the hvmloader with in-built seabios, ipxe and vgabios firmware Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* xen: Add support for systemdNathan Rossi2015-02-201-19/+62
| | | | | | | | | | | | * Refactor volatiles so that it generates sysvinit/populate-volatiles as well as tmpfiles.d configs * Add systemd PACKAGECONFIG for enabling systemd support * Setup SYSTEMD_SERVICE variables * Add FILES values for systemd .service/.mount/etc files * sed patterns to the 4.5.0 recipe to fix some issues with the source around qemu-system-i386 and libsystemd-daemon Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* xen: Add aarch64 as compatible hostNathan Rossi2015-02-201-1/+1
| | | | Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* xen: Fix up architecture specific stepsNathan Rossi2015-02-201-10/+15
| | | | | | | | * Remove version specific sed pattern * Add 'xen' as an output product instead of just 'xen.gz' as some architectures do not generate the 'xen.gz' Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* xen: Move x86/arch specific components into RRECOMMENDSNathan Rossi2015-02-201-2/+7
| | | | | | | | * The xen-base specifies features that are specific to x86 targets, these components include xen-libblktap, xen-flask, xen-hvmloader and xen-xenpaging Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* xen: Add Build and Target architecture mappingNathan Rossi2015-02-201-3/+5
| | | | | | | * Setup the XEN_TARGET_ARCH and XEN_COMPILE_ARCH based on the running environments TARGET_ARCH and BUILD_ARCH Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* xen: Fix and refactor common includeNathan Rossi2015-02-201-5/+64
| | | | | | | | | | * Add missing DEPENDS (dtc, lzo, libaio) * Fix up QA issues around missing rdepends and un-shipped files/directories * Add export for XEN_OS * Add the /var/lib/xen directory as a volatile directory Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* xen: Add RDEPENDS block for xendomains script.Philip Tricca2014-02-111-0/+7
| | | | | | | | | I can't explain the dependency on xen-scripts-block as the xendomains script doesn't invoke any of these scripts directly. Still xendomains hangs indefinitely without them. Signed-off-by: Philip Tricca <flihp@twobit.us> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: Remove dependency on python-setuptools-native.Philip Tricca2014-02-111-1/+1
| | | | | | | | | | | | oe-core fixed some overlap between the python-setuptools-native and python-distribute-native recently. This made python-setuptools obsolite. See: http://patchwork.openembedded.org/patch/66085/ The Xen recipe already DEPENDS on python-distribute-native by inheriting setuptools so we only need to remove the dependency on python-setuptools-native. Signed-off-by: Philip Tricca <flihp@twobit.us> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: Add libgcc as runtime dependency of xen-xl package.Philip Tricca2014-01-271-0/+2
| | | | | | | | | | | Much of xl operates fine without libgcc but some operations complain that pthread_cancel won't work properly without libgcc_s.so.1 installed. The exact text is: libgcc_s.so.1 must be installed for pthread_cancel to work Signed-off-by: Philip Tricca <flihp@twobit.us> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: Add RDEPENDS for xencommons.Philip Tricca2014-01-201-0/+7
| | | | | Signed-off-by: Philip Tricca <flihp@twobit.us> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: Cleanup watchdog FILES declaration.Philip Tricca2014-01-201-2/+1
| | | | | Signed-off-by: Philip Tricca <flihp@twobit.us> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: Move supporting files into xencommons and xendomains packages.Philip Tricca2014-01-201-5/+12
| | | | | Signed-off-by: Philip Tricca <flihp@twobit.us> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: move populate-volatile.sh postinst to -volatiles packageBruce Ashfield2013-12-171-1/+1
| | | | | | | We really only want this to run if the volatiles package is installed, so the postinst belongs with that same package. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: Break volatiles out into separate package.Philip Tricca2013-12-171-1/+7
| | | | | | | | | | | | | | | | | | The Xen scripts for handling block and vif udev events depend on directories created by the Xen volatile directories. In a situation where the 'base' Xen package isn't installed (NDVM etc) these scripts fail silently. The most simple approach I could come up with is just breaking the Xen volatiles config out into it's own package and setting up the logical dependencies. Creating a new package for just a single file seems like overkill to me but it's the most straightforward thing I could come up with. Regards, Philip Signed-off-by: Philip Tricca <flihp@twobit.us> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: add xen_git recipe.Chris Patterson2013-11-071-2/+0
| | | | | | | | | Added recipe for xen unstable from git repository. Moved now empty xen-flask and xen-libblktap packages from required dependencies from xen.inc into xen_4.3.1.bb. Signed-off-by: Chris Patterson <cjp256@gmail.com>
* xen: improve organization with new xen.incChris Patterson2013-11-071-0/+632
| | | | | | Moved common recipe bits from xen_4.3.1.bb to xen.inc. Signed-off-by: Chris Patterson <cjp256@gmail.com>
* xen: remove old xen.inc and xen-python.incChris Patterson2013-11-071-314/+0
| | | | Signed-off-by: Chris Patterson <cjp256@gmail.com>
* xen: Fixed some build problemsMihai Prica2012-11-261-0/+5
| | | | | Signed-off-by: Mihai Prica <mihai.prica@intel.com> Signed-off-by: Raymond Danks <ray.danks@se-eng.com>
* xen: Added target include dirs for python bindingsMihai Prica2012-11-261-0/+3
| | | | | Signed-off-by: Mihai Prica <mihai.prica@intel.com> Signed-off-by: Raymond Danks <ray.danks@se-eng.com>
* xen: Added fix to work on all architecturesMihai Prica2012-11-261-1/+2
| | | | | Signed-off-by: Mihai Prica <mihai.prica@intel.com> Signed-off-by: Raymond Danks <ray.danks@se-eng.com>
* xen: More recent versions of bitbake require double quotes on variable ↵Raymond Danks2012-07-021-1/+1
| | | | | | definitions. Signed-off-by: Raymond Danks <ray.danks@se-eng.com>
* xen: Initial package creation.Raymond Danks2012-06-211-0/+305
Signed-off-by: Raymond Danks <ray.danks@se-eng.com>