summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* go-sqlite: add SRC_URI checksumsIoan-Adrian Ratiu2015-10-301-0/+3
| | | | | Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: upgrade it to 1.1.4Roy Li2015-10-301-2/+2
| | | | | | | | | | | | V1.1.4 includes a fix for CVE-2015-1335: lxc-start in lxc before 1.0.8 and 1.1.x before 1.1.4 allows local container administrators to escape AppArmor confinement via a symlink attack on a (1) mount target or (2) bind mount source. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-1335 Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* docker: fix paths for cross compileAmy Fong2015-10-131-3/+9
| | | | | | | | Some of the cgo variables were pointing to host paths and not target Fix install rules - binaries can be installed to a subdirectory. Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Enable go-cross 1.3 to coexist with later versionsAmy Fong2015-10-132-6/+9
| | | | | | | | | | | | Since we need go 1.3 to co-exist with later versions (ie 1.4), package go-cross_1.3 as go-cross-1.3_1.3. go 1.3 will be installed to a different path than go-cross, this requires go packages needing go 1.3 to set its PATH to: export PATH=${STAGING_BINDIR_NATIVE}/${HOST_SYS}/go-1.3:$PATH Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Backport go-cross: set alignment for the .rel.plt section on 32-bit ↵Amy Fong2015-10-132-0/+31
| | | | | | | | | | | | | | | | | | | | | | architectures submitted to upstream https://github.com/errordeveloper/oe-meta-go go-cross: set alignment for the .rel.plt section on 32-bit architectures This patch is cherry picked from golang's upstream, and this patch will fix the package of etcd's following build error: ERROR: debugedit failed with exit code 256 (cmd was 'bitbake_build/tmp/sysroots/x86_64-linux/usr/lib/rpm/bin/debugedit' -b 'bitbake_build/tmp/work/cortexa7t2hf-vfp-neon-wrs-linux-gnueabi' -d '/usr/src/debug' -i -l 'bitbake_build/tmp/work/cortexa7t2hf-vfp-neon-wrs-linux-gnueabi/etcd/git-r0/debugsources.list' 'bitbake_build/tmp/work/cortexa7t2hf-vfp-neon-wrs-linux-gnueabi/etcd/git-r0/package/usr/bin/etcd'): bitbake_build/tmp/sysroots/x86_64-linux/usr/lib/rpm/bin/debugedit: elf_update: invalid section alignment ERROR: Function failed: split_and_strip_files ERROR: Logfile of failure stored in: bitbake_build/tmp/work/cortexa7t2hf-vfp-neon-wrs-linux-gnueabi/etcd/git-r0/temp/do_package/log.do_package.109414 ERROR: Task 12 (layers/meta-overc/meta-pod/recipes-connectivity/etcd/etcd_git.bb, do_package) failed with exit code '1' Signed-off-by: fupan li <fupan.li@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Backport go-cross: fix the building failed for quark bspAmy Fong2015-10-131-0/+3
| | | | | | | | | | | | | | | submitted to upstream https://github.com/errordeveloper/oe-meta-go go-cross: fix the building failed for quark bsp Quark used i586 architecture, and golang dealt intel 32bit architecture as 386, so export GOARCH = "386" when the TARGET_ARCH is i586 to support quark bsp. Signed-off-by: fupan li <fupan.li@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Backport go-cross: fix the bug of cross building errorAmy Fong2015-10-131-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | submitted to upstream https://github.com/errordeveloper/oe-meta-go go-cross: fix the bug of cross building error When a package's recipe inherit "cross" bbclass, its CC and CXX are defined as the host native gcc and g++ instead of the host cross toolchain, fot this case, CC_FOR_TARGET and CXX_FOR_TARGET should be defined the same with CC and CXX, instead they are should be define as host cross toolchain's CC and CXX, otherwise, it will build failed for target arm architecture as below: | # Building packages and commands for linux/arm. | + CC='gcc ' | + bitbake_build/tmp/work/x86_64-wrs-linux-gnueabi/go-cross/1.4-r0/go/pkg/tool/linux_amd64/go_bootstrap install -ccflags '' -gcflags '' -ldflags '' -v std | runtime | errors | sync/atomic | unicode | unicode/utf8 | math | sort | encoding | unicode/utf16 | container/list | crypto/subtle | runtime/cgo | container/ring | image/color | runtime/race | # runtime/cgo | gcc: error: unrecognized command line option '-marm' Signed-off-by: fupan li <fupan.li@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* docker: needs go 1.3Amy Fong2015-10-133-0/+249
| | | | | | | | | | The current version of docker (1.6.2) requires go 1.3 See go 1.4 sqlite issue: https://github.com/docker/docker/issues/9649 Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* protobuf-c: Add protobuf's pkgconfig path into PKG_CONFIG_PATHJianchuan Wang2015-10-021-0/+4
| | | | | | | | | Add the protobuf's pkgconfig path into PKG_CONFIG_PATH so that pkg-config can find the protoc from sysroot in the configure process. And don't conflict even if installing the protobuf in the localhost. Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: logs: use base filenames when reporting src filesJim Somerville2015-10-022-0/+73
| | | | | | | | | | | | | | | | | | | | Problem: Logs are nice in that they report the source file, routine, and line number where an issue occurs. But the file is printed as the absolute filename. Users do not need to see a long spew of path directory names where the package just happened to have been built on some host somewhere. It can be confusing to anyone other than the developer. Solution: Introduce a configure option to chop off all leading directories so that just the source filename ie. basename is printed. [ Upstream status: Not needed. These absolute filenames are a consequence of poky/bitbake feeding the absolute filenames to the compiler. If you build lxc outside of poky/bitbake, just the basenames are fed to the compiler. ] Signed-off-by: Jim Somerville <Jim.Somerville@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: Properly shutdown libvirtd.serviceMark Asselstine2015-09-161-0/+5
| | | | | | | | | | | | | | | | We build libvirt without support for sd_notify (dbus) therefor we have to run libvirtd as a 'forking daemon' (per commit 055744cdbc1526d966091158c8fae2d22c905db4 we pass --daemon) We need to update the systemd service file to reflect this such that the libvirtd.service can be properly stopped. If we ever enable sd_notify support in libvirt we can revert back to using the 'notify' systemd type. Without this change libvirtd continue to run even if the stop command is issued, subsequent attempts to start the service will fail. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: upgrade 1.2.17 -> 1.2.19Roy Li2015-09-163-4/+4
| | | | | | | | The release notes is http://libvirt.org/news.html Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* docker: update SRC_URIAmy Fong2015-09-161-1/+2
| | | | | | | | | | | | | | Author: Amy Fong <amy.fong@windriver.com> Date: Wed Sep 16 00:12:10 2015 -0400 docker: update SRC_URI branch=release is no longer valid in the git tree, updating the branch to v1.6.2 Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: pass correct args when start libvirtdMark Asselstine2015-09-111-0/+5
| | | | | | | | | | | When systemd starts libvirtd we want to make sure we pass the correct arguments to run the daemon. If we fail to do so the libvirtd service will restart about once a minute and not allow for VMs to properly be instantiated. libvirtd now runs with the same args as when we use sysvinit. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: get libvirt-guests systemd service runningMark Asselstine2015-09-111-3/+6
| | | | | | | | | | | While testing libvirt with the new systemd init I found that the libvirt-guests service was failing to run since the libvirt-guests.sh script was not where it was expected. If we are building for systemd init system use the default installation location which is used upstream for the libvirt-guests.sh script. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: enable systemd supportMark Asselstine2015-09-102-3/+105
| | | | | | | | | | | | | | | | | | | | | Commit d114a62dd8a2121fa3026b83c5b250eb0ee6f21d [libvirt: kill update-rc.d when not using sysvinit] resulted in libvirt services not starting automatically at boot when using systemd. The upstream libvirt package already has the necessary systemd service files so it is just a matter of activating them via the '--with-init-script' configure option and making the recipe use these. We always set '--with-init-script' to 'systemd' regardless of the systemd vs sysvinit DISTRO_FLAG since our sysvinit scripts are external and thus not affected by this setting when building for sysvinit. Both sysvinit and systemd packages will be libvirt-libvirtd, the bbclasses ensure that only the files for one init system will exist in the package, so this 'overloading' is acceptable. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* dnsmasq: allow for multiple instances (per libvirt)Mark Asselstine2015-09-102-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | We have had a persistent issue of contention with multiple instances of dnsmasq. When libvirtd is started it will attempt and fail to create virbr0 that includes a dnsmasq binding (dnsmasq complains that the port is already in use). The root cause being that the base dnsmasq configuration uses the 'default' binding, meaning it will be greedy and bind to all available interfaces, along with any new interfaces that appear. This prevents any new instances of dnsmasq to fail. By changing the base dnsmasq configuration to use 'bind-dynamic' we will be able to create new interfaces and if we want to attach a new dnsmasq instance for the new interface we can, without contention. Overall this change should not change the default behavior (other then fixing the contention) as the 'bind-dynamic' mode will allow the base config to attach to new interfaces which are not be bound to new dnsmasq instances. Removing dnsmasq_exclude_virbr.conf which was a previous (partial) attempt that was made to resolve this issue. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-yocto: Add bbappend for 4.1 for virtualization configurationHe Zhe2015-09-081-0/+19
| | | | | Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: Uprev 1.1.2 to 1.1.3He Zhe2015-09-081-3/+2
| | | | | | | | | Uprev to 1.1.3 Remove Generate-lxc-restore-net-properly.patch since related code has been removed. Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* protobuf: upgrade 2.5.0 -> 2.6.1Jianchuan Wang2015-09-083-9/+35
| | | | | Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* protobuf-c: upgrade 0.15 -> 1.1.1Jianchuan Wang2015-09-083-22/+70
| | | | | Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* irqbalance: upgrade 1.0.6 -> 1.0.9Jianchuan Wang2015-09-082-17/+15
| | | | | Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* irqbalance: add systemd supportJianchuan Wang2015-09-083-1/+18
| | | | | | | | Add irqbalanced.service file for systemd support. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* irqbalance: add PACKAGECONFIG for libcap-ngJianchuan Wang2015-09-083-0/+26
| | | | | | | | Grasp withval for libcap-ng in configure.ac. Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* criu: upgrade 1.4 -> 1.6Jianchuan Wang2015-09-082-7/+71
| | | | | Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* bbappend: switch to use a wildcard beyond major versionMark Asselstine2015-09-085-0/+0
| | | | | | | | | | | | Using a wildcard will simplify things when using meta-virtualization against different yocto or oe branches and prevent having to make future updates to keep in step with package uprevs. The changes found within these bbappend tend to be generic and non-version specific, thus safe for 'porting' via wildcard. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: correct QA warning for missing build depMark Asselstine2015-09-081-1/+1
| | | | | | | | Fixes the following QA warning: WARNING: QA Issue: libvirt-ptest rdepends on libtasn1, but it isn't a build dependency? [build-deps] Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: DEPEND on libxslt-native to fix build issueMark Asselstine2015-09-081-1/+1
| | | | | | | | | | | | | | | | | Configure searches for and sets XSLTPROC and will not get a proper value unless we have made sure libxslt-native is built prior to libvirt. So we need to add it as a DEPENDS. Failing to do this we could end up with libvirt configuring before libxslt-native has built and installed xlstproc in the -native sysroot, resulting potential host contamination or in a potential build error: cat: acl.html.tmp: No such file or directory Makefile:2215: recipe for target 'acl.html' failed (xsltproc is used in the generation of acl.html.tmp) Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: split networking configuration into separate -networking packageBruce Ashfield2015-09-011-2/+4
| | | | | | | | | | | | The networking configuration that is part of the lxc-setup package is not appropriate for all use cases, or init systems. To avoid having this configuration be pulled in by default, we create an empty -networking package that handles the configuration. Images can enable this step by including lxc-networking in the install package list. 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: drop incorrectly broken out packageDoug Goldstein2015-08-311-5/+0
| | | | | | | | | The xen-mfndump utility was broken out into xen-xen-mfndump which is clearly a typo for xen-mfndump but the xen.inc file which is also used for 4.5.0 places this binary into xen-misc so remove these lines and let it go into xen-misc. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvsitch: set CONFIGUREOPT_DEPTRACK to emptyRoy Li2015-08-261-0/+1
| | | | | | | | | | | | | | | | compilation failed since the needed dirs maybe not created when make ".in" target, fix it by creating the needed dirs before, but mainstream thinks the needed dirs should be created when do configuration. at last, find CONFIGUREOPT_DEPTRACK disable the creation, so empty it http://openvswitch.org/pipermail/dev/2015-August/059189.html set CONFIGUREOPT_DEPTRACK to empty, is lower effective, but harmless, and can fix the parallel building issue; see oe-core 970e0ae6108[autotools: Disable dependency tracking Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* dev86: adjust SRC_URI to author's new siteDoug Goldstein2015-08-131-3/+3
| | | | | | | | Update the SRC_URI to the author's new site where the hosted files match the existing md5sum and sha256sum. Signed-off-by: Doug Goldstein <cardoe@cardoe.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* docker-registry dependency updateAmy Fong2015-08-131-1/+1
| | | | | | | | | | With the recent python-simplejson:upgrade 3.6.2->3.7.3, docker-registry was broken due to unsatisfied dependencies. The docker-registry builds and passes basic testing with 3.7.3 (verified by jason.wessel@windriver.com), updating the dependency requirement to >= 3.6.2 Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: doc: fix broken manpage buildJim Somerville2015-08-132-0/+33
| | | | | | | | | | docbook2man fails to build the man pages in poky due to missing the ancient Davenport 3.0 DTD. Poky meta has the Oasis 3.1 version so upgrade to use that instead. Signed-off-by: Jim Somerville <Jim.Somerville@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* 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>