summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* fix inittab install when Xen not in DISTRO_FEATURESRiku Voipio2013-11-131-2/+1
| | | | | | | | | | | | | With the latest patch, OE builds may file like: https://ci.linaro.org/jenkins/job/openembedded-armv7ab-rootfs/gcc_version=4.8,label=oe_persistent_cloud,rootfs=minimal/127/consoleText By having the "failing" grep within the if block, set -e in shell code will not bite configurations where meta-virtualization is included but xen is not in DISTRO_FEATURES. Signed-off-by: Riku Voipio <riku.voipio@linaro.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: add xen_git recipe.Chris Patterson2013-11-073-2/+23
| | | | | | | | | 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-072-633/+635
| | | | | | Moved common recipe bits from xen_4.3.1.bb to xen.inc. Signed-off-by: Chris Patterson <cjp256@gmail.com>
* xen: upgrade to 4.3.1Chris Patterson2013-11-071-4/+4
| | | | | | | Changelog available at: http://xenproject.org/downloads/xen-archives/supported-xen-43-series/xen-431.html Signed-off-by: Chris Patterson <cjp256@gmail.com>
* xen: rename xen patches directory from xen-4.3.0 to files.Chris Patterson2013-11-071-0/+0
| | | | Signed-off-by: Chris Patterson <cjp256@gmail.com>
* xen: remove old patchesChris Patterson2013-11-074-467/+0
| | | | Signed-off-by: Chris Patterson <cjp256@gmail.com>
* xen: remove old xen.inc and xen-python.incChris Patterson2013-11-072-363/+0
| | | | Signed-off-by: Chris Patterson <cjp256@gmail.com>
* xen: remove xen-rt recipe and patchesChris Patterson2013-11-072-6810/+0
| | | | Signed-off-by: Chris Patterson <cjp256@gmail.com>
* xen: remove xen-hg recipe and patchesChris Patterson2013-11-073-106/+0
| | | | Signed-off-by: Chris Patterson <cjp256@gmail.com>
* xen: remove 4.1.2 recipe and patchesChris Patterson2013-11-072-99/+0
| | | | Signed-off-by: Chris Patterson <cjp256@gmail.com>
* xen: remove xsm from default PACKAGECONFIG options.Chris Patterson2013-11-071-1/+0
| | | | | | | The 'xsm' option adds a dependency for checkpolicy, which requires an additional layer (meta-selinux). Signed-off-by: Chris Patterson <cjp256@gmail.com>
* xen: use PACKAGECONFIG for SDL and a bit of dependency cleanupPhilip Tricca2013-11-071-2/+4
| | | | | | | | | | | This patch moves the optional SDL dependency to a PACKAGECONFIG entry. It also cleans up dependencies on both the virtual libsdl and libsdl. The dependency on libgl is also removed. libGL support should be enabled with the 'opengl' distro feature instead. The dependency on glib-2.0 is now explicit as well. Signed-off-by: Philip Tricca <flihp@twobit.us> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: Add getty to inittab for login on Xen serial console.Philip Tricca2013-11-071-0/+7
| | | | | | | | | It's not pretty but the mechanisms in sysvinit-inittab assume the console device name is tty*. The Xen console device doesn't meet this criteria. Signed-off-by: Philip Tricca <flihp@twobit.us> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* initscripts: fix do_install_append rule.Paul Barrette2013-11-041-1/+1
| | | | | | | | | Fix commit ID: cafc94c4a2b599d553712dcbb1b01eefd1ef3941 The above commit missed a redirect for the final closing bracket. Signed-off-by: Paul Barrette <paul.barrette@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openflow: remove recipe in favour of meta-networking versionBruce Ashfield2013-11-031-29/+0
| | | | | | | | | | | An updated version of the openflow recipe has been added to meta-openembedded in the meta-networking layer. commit: 37660c [openflow: import and tweak] in git://git.openembedded.org/meta-openembedded So we can safely remove the meta-virt variant of this recipe. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: add PACKAGECONFIG for saslMark Asselstine2013-10-311-0/+1
| | | | | | | | | | | | We don't want to leave build order dictating whether or not we get sasl support in libvirt so add a PACKAGECONFIG for sasl. I have not added sasl as a default PACKAGECONFIG since out of the box you would not normally get sasl being built so this mimics this behavior. I have listed a RDEPENDS in the PACKAGECONFIG as older Yocto builds for some reason are not picking up the required runtime dependency. Signed-off-by: Mark Asselstine <asselsm@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* initscripts: add warning and begin functions to lsb_log_messagePaul Barrette2013-10-291-0/+6
| | | | | | | | | | | Some init scripts call a "begin" or "warning" function to log early init phase messages, e.g. openvswitch-controller. These functions are not part of the default /etc/init.d/functions script, which is provided by oe-core's lsb pkg. Append these two missing commands to /etc/init.d/functions during the install phase. Signed-off-by: Paul Barrette <paul.barrette@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: Use PACKAGECONFIG to deal with XSM policy.Philip Tricca2013-10-291-2/+6
| | | | | Signed-off-by: Philip Tricca <flihp@twobit.us> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: convert direct call to ./configure with oe_runconf and EXTRA_OECONFPhilip Tricca2013-10-291-1/+12
| | | | | | | | enable/disable stuff will eventually be replaced with appropriate use of PACKAGECONFIG. Signed-off-by: Philip Tricca <flihp@twobit.us> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: fix RDEPENDS issue for installers.Paul Barrette2013-10-261-1/+5
| | | | | | | | | | | Make sure openvswitch has all the runtime dependencies defined. Without e.g. sed, an installer may calculate dependencies and order packages based on the deps, which may install openvswitch before sed. This would result in an install failure, when the post install step calls ovs-pki, which uses sed. Signed-off-by: Paul Barrette <paul.barrette@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: fixed URL for tarballJonatan Pålsson2013-10-211-1/+1
| | | | Signed-off-by: Jonatan Pålsson <jonatan.palsson@pelagicore.com>
* libvirt: cleanup: remove old RRECOMMENDSBruce Ashfield2013-10-181-4/+1
| | | | | | | | All of the old RRECOMMENDS are confirmed to be handled via PACKAGECONFIG, so we can clean up the recipe and remove commented out reference to the old values. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: Add note about dependency on meta-selinux to README.Philip Tricca2013-10-181-0/+6
| | | | | Signed-off-by: Philip Tricca <flihp@twobit.us> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: build xsm policy when 'xsm' DISTRO_FEATURE is presentPhilip Tricca2013-10-181-2/+2
| | | | | | | | | This pulls in a dependency on the checkpolicy compiler (native) and adds --enable-xsmpolicy in do_configure when 'xsm' DISTRO_FEATURE is present. Signed-off-by: Philip Tricca <flihp@twobit.us> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: avoid installing flask policy file as '/boot'Philip Tricca2013-10-182-1/+30
| | | | | | | | | | Upstream patch to fix race condition between creating /boot and installing the XSM policy. Race would cause policy to be written to /boot instead of into the /boot directory if it didn't already exist. Signed-off-by: Philip Tricca <flihp@twobit.us> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: Fix wrong depend for libxlYang Shi2013-10-181-1/+1
| | | | | | | | xen is not the right dependency for --with-libxl/--without-libxl, replace it to libxl. Signed-off-by: Yang Shi <yang.shi@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* conf/layer.conf: add LAYERVERSION and LAYERDEPENDSRobert Yang2013-10-181-0/+6
| | | | | | | | Add LAYERVERSION and LAYERDEPENDS, it needs depend on oe-core and meta-networking layer. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* conf/layer.conf: fix "No newline at end of file"Robert Yang2013-10-181-1/+1
| | | | | | | | | | | | | | | | The last line lacked a newline (usually '\n', aka CR or CRLF) in the end, so there was a warning from git diff: \ No newline at end of file The last byte of the file should be a newline. Note: It seems that nothing is changed in this commit, but it does change the end of the last line. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen-guest-image-minimal: add minimal xen guest image.Chris Patterson2013-10-101-0/+16
| | | | | Signed-off-by: Chris Patterson <cjp256@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen-image-minimal: update image installed modules to reflect xen fragment ↵Chris Patterson2013-10-101-6/+0
| | | | | | | changes. Signed-off-by: Chris Patterson <cjp256@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-yocto/xen: update fragment to support both dom0 and typical xen guests.Chris Patterson2013-10-105-12/+11
| | | | | | | | | | | Updated linux kernel fragment to match defaults as defined in the 3.10 kernel's Kconfig files. If defaults were not specified, modules were were used unless required by another built-in option. As such, The core frontend drivers are included by default and the backend drivers are built as modules. This allows privileged, PV, HVM, and PVHVM guests to work properly without additional kernel configuration or modules required in initramfs (from a Xen support perspective). This also removes CONFIG_KVM_GUEST which was erroneously included previously. Signed-off-by: Chris Patterson <cjp256@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen-image-minimal: break out arguments for xen and linux kernel as variables ↵Chris Patterson2013-10-101-1/+4
| | | | | | | SYSLINUX_XEN_ARGS and SYSLINUX_KERNEL_ARGS to allow modification/overwriting. Signed-off-by: Chris Patterson <cjp256@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: Add sdl support by including dependency for libsdl.Chris Patterson2013-10-101-2/+2
| | | | | Signed-off-by: Chris Patterson <cjp256@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: add INSANE_SKIP flag 'already-stripped' to silence QA warnings about ↵Chris Patterson2013-10-101-0/+1
| | | | | | | stripped qemu binaries. Signed-off-by: Chris Patterson <cjp256@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: Try to fix selinux/securityfs mount handling in LXCBogdan Purcareata2013-10-107-0/+622
| | | | | | | | | | | | | | | | | | The current behavior for libvirt containers is to configure a set of "basic" mounts in the new container environment by default. Some of these mounts, such as securityfs or selinux, might not have kernel support on all running platforms. The added patchset implements proper handling for this case and makes some additional cleanups and refactoring. The patchset is taken from the upstream libvirt mailing list. Please refer to: https://www.redhat.com/archives/libvir-list/2013-October/msg00270.html Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: Put the XSM policy in the flask package.Philip Tricca2013-10-031-0/+1
| | | | | | | | | It make make sense to break this out into its own package in the future for those that want to ship a monolithic policy without the tools but for now we should at least get it in the flask package. Signed-off-by: Philip Tricca <flihp@twobit.us> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: don't mount securityfs or selinux if userns enabledMark Asselstine2013-10-034-0/+250
| | | | | | | | | | | | | | | | | | | | | | commit 6807238d87fd [Ensure securityfs is mounted readonly in container] from upstream libvirt requires securityfs to be mounted, always. Failing to use a kernel without SECURITYFS support results in the following error when you attempt to start a lxc guest: error : lxcContainerMountBasicFS:807 : Failed to mkdir securityfs: No such file or directory Input/output error Here we apply an upstream fix for this which allows you to use userns support instead of SECURITYFS, by using <idmap> in your guest config. A similar situation exists for SELINUX so here we are bringing in 2 more upstream commits, the first for context and the second, which like the securityfs patch, doesn't force selinux to be mounted if userns is used. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Cc: Bogdan Purcareata <bogdan.purcareata@freescale.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: Put the xend daemon in the xen-xend package.Philip Tricca2013-10-031-2/+4
| | | | | | | | Just a bit of clean up. I know xend is deprecated and hopefully no one will use it but it should end up in the right package. Signed-off-by: Philip Tricca <flihp@twobit.us> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* busybox: Add getopt since lxc templates require itDavid Nyström2013-10-032-0/+3
| | | | | Signed-off-by: David Nyström <david.nystrom@enea.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen-image-minimal: update image to support xen 4.3.0 base with xl toolstack.Chris Patterson2013-09-241-6/+46
| | | | Signed-off-by: Chris Patterson <cjp256@gmail.com>
* xen: add 4.3.0 recipe.Chris Patterson2013-09-241-0/+626
| | | | Signed-off-by: Chris Patterson <cjp256@gmail.com>
* linux-yocto: add optional support for aufs and xen using DISTRO_FEATURES.Chris Patterson2013-09-243-0/+15
| | | | Signed-off-by: Chris Patterson <cjp256@gmail.com>
* linux-yocto: add kernel fragment and scc to support xen on linux 3.4, 3.8, ↵Chris Patterson2013-09-242-0/+59
| | | | | | and 3.10. Signed-off-by: Chris Patterson <cjp256@gmail.com>
* libvirt: uprev to 1.1.2Bruce Ashfield2013-09-062-183/+2
| | | | | | | | | | | 1.1.2 is available and fixes a number of issues with 1.1.1 (segfaults and more). Since 1.1.1 has been available for a while, with no significant issues reported, I'm also removing the fallback 1.0.3 and 1.1.1 recipes with this update. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* busybox: migrate from defconfig to config fragments.Chris Patterson2013-09-067-1010/+20
| | | | | Signed-off-by: Chris Patterson <cjp256@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-yocto: add linux-yocto 3.10 bbappendBruce Ashfield2013-09-011-0/+13
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* irqbalance: Uprev to 1.0.6Yang Shi2013-08-292-0/+70
| | | | | | | | Add recipe for 1.0.6 version. And, add status and reload commands into init script. Signed-off-by: Yang Shi <yang.shi@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Fixed Q&A error for OpenFlow recipeDavid Nyström2013-08-251-2/+7
| | | | Signed-off-by: David Nyström <david.nystrom@enea.com>
* Add kernel config fragment to allow OVS QoS serviceDavid Nyström2013-08-251-1/+1
| | | | Signed-off-by: David Nyström <david.nystrom@enea.com>
* python: replace FILESPATH with FILESEXTRAPATHS_prependBruce Ashfield2013-08-211-2/+1
| | | | | | | | | | redefining THISDIR and using FILESPATH is no longer required in a "modern" bbappend, and in fact breaks other layers that also patch python. Removing THISDIR and using FILESEXTRAPATHS_prepend fixes both issues. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>