summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* libvirt: kill update-rc.d when not using sysvinitNoor2015-08-131-0/+5
| | | | | | | * Fixes a dependency on a nonexistent initscripts-functions package. Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* README: don't advertise obsolete layer URLsDoug Goldstein2015-08-101-2/+2
| | | | | | | | This layer depends on openembedded-core and meta-openembedded so recommend the actual URLs and not the obsolete ones. Signed-off-by: Doug Goldstein <cardoe@cardoe.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* oe-meta-go: fix dependency descriptionAmy Fong2015-08-051-1/+4
| | | | | | | Fix oe-meta-go dependency entry in README file Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: upgrade 1.2.15 -> 1.2.17Lei Maohui2015-08-053-4/+49
| | | | | Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-sqlalchemy upgrade 0.9.7->1.0.8Lei Maohui2015-08-051-3/+3
| | | | | Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-sphinx: upgrade 1.2b1 -> 1.3.1Lei Maohui2015-08-051-3/+3
| | | | | Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-simplejson: upgrade 3.6.2->3.7.3Lei Maohui2015-07-311-2/+2
| | | | | Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-webob: upgrade 1.2.3 -> 1.4.1Lei Maohui2015-07-311-2/+2
| | | | | Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-werkzeug: upgrade 0.9.4->0.10.4Lei Maohui2015-07-311-3/+3
| | | | | Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* golang: use oe-meta-goAmy Fong2015-07-297-254/+2
| | | | | | | | | | | | | From b101a0c7ce6ef1eb41bef786831e58fa4d1b069f Mon Sep 17 00:00:00 2001 From: Amy Fong <amy.fong@windriver.com> Date: Mon, 27 Jul 2015 14:10:20 -0400 Subject: [PATCH] golang: use oe-meta-go Update meta-virtualization to use go package from oe-meta-go. The package golang-cross is go-cross in the oe-meta-go. Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* docker-registry invalid path on startupAmy Fong2015-07-221-0/+1
| | | | | | | | | | | | Systemd throws the following warning at boot: systemd[1]: [/lib/systemd/system/docker-registry.service:10] Not an absolute path, ignoring: #WORKDIR# Fix WORKDIR in docker-registry's systemd from #WORKDIR# to ${PYTHON_SITEPACKAGES_DIR}/docker_registry Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: upgrade to version 1.1.2Jim Somerville2015-07-144-154/+125
| | | | | | | | | | | | This version has better support for unprivileged containers. Two patches are deleted as they are now included. One new patch is introduced to fix a file not found error at the install build step. Signed-off-by: Jim Somerville <Jim.Somerville@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* docker: add dependencies for out of box experienceBruce Ashfield2015-06-221-1/+2
| | | | | | | | | | Docker searching and launch looks for iptables, so we add it to the rdepends. To actually launch a container, netfilter nat and dm-think are often required, so we make those modules rrecommends. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* golang-cross: add ccache supportAmy Fong2015-06-194-8/+148
| | | | | | | | | | | | | | golang doesn't work with ccache. In the current state, a lot of parsing happens where it'll grab the first string in CC or LD and uses that for its builds. When ccache is enabled, it results in trying to do builds with just ccache. The brokeness is seen when building with apps that uses cgo, like docker. To enable ccache to work, some string comparisons and changes to parsing had to be made. Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* golang-cross: do_compile fails on warnings treated as errorAmy Fong2015-06-192-1/+42
| | | | | | | | | | | | On glibc 2.20+, the _BSD_SOURCE and _SVID_SOURCE feature test macros are deprecated as of glibc 2.19.90 (2.20 devel), we define _DEFAULT_SOURCE instead. (fixed upstream) https://groups.google.com/forum/#!topic/golang-codereviews/S4TARFCxu2k Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* seabios fails to build when ccache enabledAmy Fong2015-06-191-1/+1
| | | | | | | | | | | | | From eadb837b8467af26a7370427e4cb98ccad63c670 Mon Sep 17 00:00:00 2001 From: Amy Fong <amy.fong@windriver.com> Date: Wed, 17 Jun 2015 16:40:25 -0400 Subject: [PATCH] seabios fails to build when ccache enabled HOSTCC needs to be quoted since it may have whitespace values. (as in the case when ccache is enabled) Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-gevent: Fix cross compile for ARMJason Wessel2015-06-171-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | The lack of a proper ability to regenerate configure causes the cross compile detect logic to fail (shown below). It is easiest to just force the cross compile option at configure time. | configure: error: in `/opt/buildtmp/work/cortexa7t2hf-vfp-neon-wrs-linux-gnueabi/python-gevent/1.0.1-r0/gevent-1.0.1/build/temp.linux-x86_64-2.7/libev': | configure: error: cannot run C compiled programs. | If you meant to cross compile, use `--host'. | See `config.log' for more details | Running '/bin/sh /opt/buildtmp/work/cortexa7t2hf-vfp-neon-wrs-linux-gnueabi/python-gevent/1.0.1-r0/gevent-1.0.1/libev/configure > configure-output.txt' in /opt/buildtmp/work/cortexa7t2hf-vfp-neon-wrs-linux-gnueabi/python-gevent/1.0.1-r0/gevent-1.0.1/build/temp.linux-x86_64-2.7/libev | building 'gevent.core' extension | creating build/temp.linux-x86_64-2.7/gevent | ccache arm-wrs-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -marm -mthumb-interwork -mtune=cortex-a7 --sysroot=/opt/buildtmp/sysroots/fsl-ls10xx -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -fPIC -DLIBEV_EMBED=1 -DEV_COMMON= -DEV_CLEANUP_ENABLE=0 -DEV_EMBED_ENABLE=0 -DEV_PERIODIC_ENABLE=0 -Ibuild/temp.linux-x86_64-2.7/libev -Ilibev -I/opt/buildtmp/sysroots/fsl-ls10xx/usr/include/python2.7 -c gevent/gevent.core.c -o build/temp.linux-x86_64-2.7/gevent/gevent.core.o | In file included from gevent/libev.h:2:0, | from gevent/gevent.core.c:313: | libev/ev.c:45:22: fatal error: config.h: No such file or directory | # include "config.h" | ^ | compilation terminated. Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* docker uprev 1.6.2Amy Fong2015-06-1416-29/+51
| | | | | | | | | | | | | | | | Uprev docker to 1.6.2 go-capability is upreved to a later git commit go-dbus is upreved to version 2 go-distribution-digest is added as a new dependency. Only the digest part of go-distribution is needed/kept here, hence go-distribution-digest go-logrus is upreved to 0.7.1 Remove PR since it's no longer used Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* cloud-image-*: catch up with OE-core class renameKoen Kooi2015-06-142-2/+2
| | | | | | | OE-core rev 0a3e8eb9f592c3f1edd2c7521855f7406541651a renamed 'image-vmdk' to 'image-vm'. IMAGE_FSTYPES didn't change, so keep those as 'vmdk'. Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: allow multiple init systems in DISTRO_FEATURESErik Botö2015-06-101-1/+3
| | | | | | | | Add handling for distros with both systemd and sysvinit by passing multiple init systems to configure with --with-init-script= Signed-off-by: Erik Botö <erik.boto@pelagicore.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: upgrade to 1.2.15Roy Li2015-05-203-40/+5
| | | | | | | | Remove libvirt-Fix-cannot-symlink-cpu_map.xml-error.patch, since rules for install *.xml are changed, the race issue does not exist. Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-simplejson: inherit setuptools instead of distutilsfidoJackie Huang2015-05-131-1/+1
| | | | | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: Add OpenSSH support for Busybox containersBogdan Purcareata2015-05-073-0/+297
| | | | | | | | | Add command line parameter to create Busybox containers with OpenSSH support. As a prerequisite, OpenSSH needs to be installed on the host system. Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* conf: override SECURITY_CFLAGS for a set of recipesDmitry Eremin-Solenikov2015-04-212-0/+8
| | | | | | | | | Some of recipes produce errors if the distro has enabled usage of security_flags.inc file. Fix those errors (and QA warnings) by providing an additional include file that is require'd from conf/layer.conf. Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* docker engine not runningAmy Fong2015-04-112-0/+58
| | | | | | | | | | | | | | | In yocto builds, preprocessing of binaries can happen after the install phase. Some of these can modify the size/sha1sum of the binaries. e.g. A new .gnu_debuglink can happen docker will not start because of these modifications. Docker initially does a sha1sum of dockerinit to identify the dockerinit that it was built with, this is done for security and for compatibility reasons. Since this checking is disabled, we should rely on rpm tests for validation of the binary instead. Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: fix building when B != SDmitry Eremin-Solenikov2015-04-112-0/+18
| | | | | | | | If lxc is built not in the source dir, upstart files will fail to be installed, because of Makefile error. Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: correct libcap-ng optionsDmitry Eremin-Solenikov2015-04-111-1/+1
| | | | | | | | | | Fix the following warning by passing correct option to configure script: WARNING: QA Issue: libvirt: configure was passed unrecognised options: --with-capnp [unknown-configure-option] Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: fix systemd init issuesBruce Ashfield2015-04-112-5/+43
| | | | | | | | | | | | | | | | | | To generate a proper systemd.service file we should use lxc's builtin configuration option for the initscript type. To support both sysvinit and systemd, we trigger off the DISTRO var and enable the proper init system accordingly. When properly configured, lxc will create helper scripts and install the service file, so we can delete the explicit copy of the service file and let the default rules trigger and install what is needed. The helper files installed by lxc require a lsb function that is not commonly available in the 'functions' library: "action". To ensure that the helper scripts operate, we create a local action() routine with the expected semantics. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* docker: add sysvinit scriptBruce Ashfield2015-04-082-1/+135
| | | | | | | Adding a basic sysvinit script to docker .. for those that still use sysvinit! Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: use pkg-config to locate libcapBruce Ashfield2015-04-082-0/+46
| | | | | | | | | | | | libvirt wants to use pcap-config to locate the exisence and location of libpcap. oe-core stubs this script and replaces it with pkg-config, which can lead to the host pcap-config triggering and either breaking the build or introducing host contamination. To fix this issue, we patch configure to use 'pkg-config libcap' to locate the correct libraries. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* criu: upgrade from version from 1.2 to 1.4Nam Ninh2015-03-307-104/+82
| | | | | | | | | Upgrade criu from version from 1.2 to 1.4. criu is the only user of protobuf and only supported on x86 and arm, so limit protobuf support on x86 and arm too. Signed-off-by: Nam Ninh <nam.ninh@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* golang-cross: disable CCACHE support for golang-crossJason Wessel2015-03-301-0/+4
| | | | | | | | | | | | | | | | The ccache on some hosts will cause the golang-cross package to fail with the error: | cmd/fix | cmd/yacc | runtime/cgo | go build runtime/cgo: no buildable Go source files in /proj/bitbake_build/tmp/work/x86_64-wrs-linux/golang-cross/1.3-r0/go/src/pkg/runtime/cgo | WARNING: /proj/bitbake_build/tmp/work/x86_64-wrs-linux/golang-cross/1.3-r0/temp/do_compile/run.do_compile.14152:1 exit 1 from | sh -x ./make.bash | ERROR: Function failed: do_compile Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* docker: Disable CCACHE because golang will fail on some hostsJason Wessel2015-03-301-0/+5
| | | | | | | | | | | | | The following is the type of error you see when CCACHE is enabled. | ---> Making bundle: dynbinary (in bundles/1.5.0-dev/dynbinary) | go build runtime/cgo: no buildable Go source files in /opt/proj/tmp/sysroots/x86_64-linux/usr/lib/x86_64-wrs-linux/go/src/pkg/runtime/cgo | WARNING: /opt/proj/tmp/work/core2-64-wrs-linux/docker/1.5.0+git2243e32cbbf1c9809c262a7376d34ca43a7a36dc-r0/temp/do_compile/run.do_compile.19967:1 exit 1 from | DOCKER_GITCOMMIT="2243e32cbbf1c9809c262a7376d34ca43a7a36dc" ./hack/make.sh dynbinary | ERROR: Function failed: do_compile (log file is located at /opt/proj/tmp/work/core2-64-wrs-linux/docker/1.5.0+git2243e32cbbf1c9809c262a7376d34ca43a7a36dc-r0/temp/do_compile/log.do_compile.19967) Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* README: add missing meta-python dependencyMark Asselstine2015-03-301-0/+1
| | | | | | | | meta-networking requires meta-python so reflect this in the layer README. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* docker-registry: relax python-requests version specificationBruce Ashfield2015-03-301-1/+1
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* gevent: allow ssl v2 or v3 certificatesBruce Ashfield2015-03-302-0/+30
| | | | | | | Work around an issue with python 2.7 not always having SSLv3 available by allowing v2 or v3 certificates. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* layer: bump priority to 8Bruce Ashfield2015-03-301-1/+1
| | | | | | | To ensure that meta-virt versions are chosen over meta-oe equivalents we bump the priority to 8. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: do_compile fails 'src/cpu/cpu_map.xml': No such file or directory'Amy Fong2015-03-242-0/+35
| | | | | | | | | | | In some circumstances where the build tree differs from the source, libvirt's compile will try to create the symlink for cpu_map.xml before creating the directory $(abs_builddir)/cpu. Add a test to create this directory if it hasn't already been created. Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* docker: avoid fetching dependenciesAmy Fong2015-03-1714-17/+415
| | | | | | | | | | | | | | | | | | | | | Docker's build process will clone missing dependencies which circumvents the bitbake fetcher. This is a bad thing in many ways, for example this will not respect BB_NO_NETWORK and DL_DIR settings. To work around this we are able to provide recipes for each of the missing dependencies. The dependencies are all in GO and are required to be added to the sysroot such that the docker build can find them via GOPATH at build time. The docker recipe was updated to add these new packages as dependencies and the explicit clone of go-cli was removed. After these change we are able to complete the build with networking disabled after completing a fetchall. Docker functionality was tested on an image built with these changes and it functions as it did before. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* docker: Add dependencies for docker and docker-registryAmy Fong2015-03-177-0/+147
| | | | | | | | | | | | | | | | | | These are a set of dependencies required to build and run docker and docker-registry which had previously existed in meta-cloud-services. By moving these from meta-cloud-services to meta-virtualization we can build and use docker without needing to include meta-cloud-services. Since meta-cloud-services depends on meta-virtualization these recipes will still be available for use with packages/images in meta-cloud-services. There is a concern that meta-cloud-services contains many python packages as there exists tight dependency for specific package versions, this move does not prevent this tight binding from continuing using various mechanisms made available to layers. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Add python packages needed for docker-registryAmy Fong2015-03-1716-0/+428
| | | | Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Add cgroup-liteAmy Fong2015-03-172-0/+49
| | | | | | Light-weight package to set up cgroups at system boot Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Package docker-registryAmy Fong2015-03-175-0/+367
| | | | | | Provides repositories of docker images Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Package dockerAmy Fong2015-03-173-0/+144
| | | | | | Adding docker (Linux container runtime) Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Add golang-crossAmy Fong2015-03-173-0/+63
| | | | | | | | | | | | | | | | | | | This package is derived from meta-golang: https://github.com/digitallumens/meta-golang.git commit 3fa6c8af6b4762de2f4e6740e327a5a71c29e6e1 In the meta-golang version, golang depends on a gcc-cross that causes conflicts with our toolchain. So the golang-cross recipe was extracted and then the following changes were made to work in wrlinux: - our TARGET_ARCH is x86-64, golang-cross wants amd64 - in the former recipe, compile fails because it can't find header files and libraries because --sysroot is dropped. So I redefined the target cc and target cxx as cc and cxx at the start of the compile rule since cc gets redefined in there somewhere. Signed-off-by: Amy Fong <amy.fong@windriver.com>
* lxc: Update support for seccomp on PPC architecturesBogdan Purcareata2015-03-171-9/+20
| | | | | | | Update the LXC recipe with the upstream-applied version of the patch. Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: avoid parse time errors for non-xen-archsChristopher Larson2015-03-172-1/+6
| | | | | | | | | | | | | | | 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>
* lxc: Add support for seccomp on PPC architecturesBogdan Purcareata2015-03-132-0/+101
| | | | | | | | | | | Add the necessary bits to enable seccomp support for LXC running on PPC architectures. libseccomp added support for PPC [1], yet to be applied to Yocto/meta-security. [1] https://github.com/seccomp/libseccomp/tree/working-ppc64 Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: Add PACKAGECONFIG for seccompBogdan Purcareata2015-03-131-0/+1
| | | | | Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: Identify CONFFILESRob Woolley2015-03-101-0/+12
| | | | | | | | | | Some package formats explicitly track which files are configuration files so that they are not overwritten on updates. Explicitly list the configuration files. Signed-off by: Rob Woolley <rob.woolley@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>