summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* kvmtool: add lightweight hypervisor native Linux KVM toolStefan Agner2016-09-072-0/+54
| | | | | | | | Add Native Linux KVM tool, a lightweight tool for hosting KVM guests maintained by the Linux kernel community. Signed-off-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* go-distribution-digest: Fix do_package failureJason Wessel2016-09-071-5/+3
| | | | | | | | | | | | | | | | | | | | The rule in the recipe which deletes all but LICENSE and the digest directory is broken depending on what ascii table bash uses by default for matching, specifically: rm -rf ${S}/[A-KM-Za-ce-z]* ${S}/doc* The "A-K" piece will actually match both upper and lower case when the acsii because the ascii value is checked as being between two numbers: 0x41=a, 0x42=A,0x43=b...0x48=D This is contray to what you would typically think should work with the lower and uppers separated into two contiguous spaces. To fix this, instead of using the "rm" logic, we can copy the components we need instead. Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: Add missing test helpers and remove windows 1252He Zhe2016-09-063-0/+59
| | | | | | | | Add missing test helpers We don't support windows encoding so remove that case Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* protobuf: fix source locationVenkateswara Rao Mandela2016-09-063-12/+11
| | | | | | | | | | | The file locations listed in the recipes for protobuf, protobuf-c are not currently available. Updating the recipe to 1. Point URI's to valid locations. 2. Update checksums and increment version numbers. Signed-off-by: Venkateswara Rao Mandela <venkat.mandela@ti.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* custom-licenses: add NewRelic licenseMark Asselstine2016-08-311-0/+33
| | | | | | | | | | | | | | | | | | The python-newrelic package is licensed under several licenses, including the customer NewRelic license. This has been properly captured in the LICENSE string in the recipe but since there is no copy of the license it isn't copied into the package's build license-destdir which results in the following warning: WARNING: core-image-minimal-1.0-r0 do_rootfs: The license listed NewRelic was not in the licenses collected for recipe python-newrelic Add a copy of the license to the layer's custom-licenses folder to resolve this warning. The license text comes verbatim from the upstream LICENSE file. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* cgroup-lite: update to version 1.11Mark Asselstine2016-08-311-3/+3
| | | | | | | | This is a small package so despite the large version jump the changes are minor, mostly bug fixes and some work around systemd. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* docker: update license md5sumMark Asselstine2016-08-311-1/+1
| | | | | | | | | Seems upstream adjusted their LICENSE file. The license is still Apache version 2 so no worries about having to update the LICENSE string for the recipe. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* docker: cgroup-lite is not required with systemdMark Asselstine2016-08-311-1/+3
| | | | | | | | | Systemd takes care of setting up the various cgroup mounts at boot, and likewise the tearing down of these at shutdown. It is therefor a useless dependency when we are using systemd. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: update list of licensesMark Asselstine2016-08-311-2/+2
| | | | | | | | | | | | | | | | | Apparently if a license is listed for a package it must be included in the overall LICENSE variable otherwise you will get WARNINGS such as: WARNING: LICENSE_libvirt-ptest includes licenses (LGPLv2.1 GPLv2+) that are not listed in LICENSE We ensure that the license string is consistent between the LICENSE variable and the subpackage license string to remove this warning. Since '2+' is a superset of '2', ie. "version 2 or later", and actually is more reflective of the text found on the file headers and such we use GPLv2+ and LGPLv2.1+. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: add missing python modules to execute ovs-test programJagadeesh Krishnanjanappa2016-08-161-2/+5
| | | | | | | | | | | | | | | | | | | | | | | ovs-test program requires python-twisted and ovstest python modules to execute successfully. The changes fix below errors: -- snip -- root@qemux86:~# ovs-test Traceback (most recent call last): File "/usr/bin/ovs-test", line 31, in <module> import twisted ImportError: No module named twisted root@qemux86:~# ovs-test Traceback (most recent call last): File "/usr/bin/ovs-test", line 33, in <module> import ovstest.args as args ImportError: No module named ovstest.args root@qemux86:~# -- snip -- Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: fix CVE-2016-5008Kai Kang2016-08-162-0/+82
| | | | | | | | | Backport patch to fix CVE-2016-5008 from: https://libvirt.org/git/?p=libvirt.git;a=commit;h=f32441c Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: fix build error for armKai Kang2016-08-082-0/+41
| | | | | | | | | | | | | | | | | | | | | | When build for architecture that don't use gcc atomic ops but pthread, it fails to build for arm: | ../tools/nss/.libs/libnss_libvirt_impl.a(libvirt_nss_la-virobject.o): In function `virClassNew': | /buildarea2/kkang/builds/qemuarm-Aug03/bitbake_build/tmp/work/armv5e-wrs-linux-gnueabi/libvirt/1.3.5-r0/build/src/../../libvirt-1.3.5/src/util/virobject.c:153: undefined reference to `virAtomicLock' | ../tools/nss/.libs/libnss_libvirt_impl.a(libvirt_nss_la-virobject.o): In function `virObjectNew': | /buildarea2/kkang/builds/qemuarm-Aug03/bitbake_build/tmp/work/armv5e-wrs-linux-gnueabi/libvirt/1.3.5-r0/build/src/../../libvirt-1.3.5/src/util/virobject.c:205: undefined reference to `virAtomicLock' | ../tools/nss/.libs/libnss_libvirt_impl.a(libvirt_nss_la-virobject.o): In function `virObjectUnref': | /buildarea2/kkang/builds/qemuarm-Aug03/bitbake_build/tmp/work/armv5e-wrs-linux-gnueabi/libvirt/1.3.5-r0/build/src/../../libvirt-1.3.5/src/util/virobject.c:277: undefined reference to `virAtomicLock' | ../tools/nss/.libs/libnss_libvirt_impl.a(libvirt_nss_la-virobject.o): In function `virObjectRef': | /buildarea2/kkang/builds/qemuarm-Aug03/bitbake_build/tmp/work/armv5e-wrs-linux-gnueabi/libvirt/1.3.5-r0/build/src/../../libvirt-1.3.5/src/util/virobject.c:298: undefined reference to `virAtomicLock' | collect2: error: ld returned 1 exit status It is similar with: http://libvirt.org/git/?p=libvirt.git;a=commit;h=12dc729 Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: upgrade 1.3.2 -> 1.3.5Kai Kang2016-08-047-87/+47
| | | | | | | | | | | | | | Upgrade libvirt from 1.3.2 to 1.3.5. * update checksums and remove PR * remove trailing whitespace * remove backport patch 0001-fix-crash-in-getAllDomainStats.patch * update context of patches * remove libvirtd.socket from SYSTEMD_SERVICE which doesn't exist anymore * install test data which ptest requires Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Bruce Ashfield <bruce@zedd.org>
* libvirt: fix python install in multilib case.Jeremy Puhlman2016-08-041-2/+2
| | | | | | | Currently libvirt python builds in the multilib case, but fails to install. Switch from PN to BPN, and fix compile to be consistent. Signed-off-by: Bruce Ashfield <bruce@zedd.org>
* xen: uprev to 4.7.0Chris Patterson2016-07-315-15/+92
| | | | | | | | | | | | | - update packages and add additional ones for new binaries (cpuid and livepatch) - update xen_git to point to 4.7, make branch= fully variable, and remove assumed .0 from release version - add patch to fix compilation of xen with gcc 6 on arm/aarch64 Build tested x86_64 and aarch64 targets. Signed-off-by: Chris Patterson <pattersonc@ainfosec.com> Signed-off-by: Bruce Ashfield <bruce@zedd.org>
* libvirt: add missing configuration fileCatalin Enache2016-07-312-0/+45
| | | | | | | openvzutilstest.conf file is needed by openvzutilstest test Signed-off-by: Catalin Enache <catalin.enache@windriver.com> Signed-off-by: Bruce Ashfield <bruce@zedd.org>
* containers: uprev docker (1.12.0), runc (1.0.0-rc) and containerd (0.2.2)Bruce Ashfield2016-07-273-10/+11
| | | | | | | Bumping the version of docker and dependencies. This gets us closer to runc 1.0, which is the foundation for future OCI efforts. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* docker: fix GNU hash QA warningBruce Ashfield2016-07-221-2/+2
| | | | | | | | | | | | | The docker build isn't properly using CFLAGS/LDFLAGS, which triggers the following QA error: ERROR: docker-1.11.1+git5604cbed50d51c4039b1abcb1cf87c4e01bce924-r0 do_package_qa: QA Issue: No GNU_HASH in the elf binary: 'docker/1.11.1+git5604cbed50d51c4039b1abcb1cf87c4e01bce924-r0/packages-split/docker/usr/bin/docker' [ldflags] ERROR: docker-1.11.1+git5604cbed50d51c4039b1abcb1cf87c4e01bce924-r0 do_package_qa: QA run found fatal errors. Please consider fixing them ERROR: docker-1.11.1+git5604cbed50d51c4039b1abcb1cf87c4e01bce924-r0 do_package_qa: Function failed: do_package_qa ERROR: Logfile of failure stored in: tmp/work/core2-64-overc-linux/docker/1.11.1+git5604cbed50d51c4039b1abcb1cf87c4e01bce924-r0/temp/log.do_package_qa.63906 ERROR: Task meta-virtualization/recipes-containers/docker/docker_git.bb:do_package_qa (meta-virtualization/recipes-containers/docker/docker_git.bb:do_package_qa) failed with exit code '1' Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* iasl: Upgrade to 20160527 from 20120215mingli.yu@windriver.com2016-07-154-29/+200
| | | | | | | | | | | | | | | | | * Upgrade iasl from 20120215 to 20160527 * Fix the dependency as it actually depends on bison-native and flex-native * Remove hardcode PR to let PR server handle the version * Add (x86_64.*|i.86.*)-linux to COMPATIBLE_HOST * Add patch Make-CC-definition-conditional.patch to make CC definition conditional as it makes the package unable to cross-compile when hardcode CC's definition previously. * Add iasl command manual file as iasl.1 Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: fixes lxc segment fault issue on arm if it is compiled with GCC 5.2fli2016-07-151-0/+3
| | | | | | | | | | | | | If the lxc is compiled with gcc 5.2 -O2 optimization on arm, lxc-console/lxc-stop command always produce segment fault. The same issue also occurred on systemd: [YOCTO #8291] For lxc, after several testing, it only needs to disable schedule-insns2 to fix the segment fault issue. Signed-off-by: fli <fupan.li@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* base-files: remove bbappend hacking on fstabChris Patterson2016-07-041-5/+0
| | | | | | | | | | | This approach breaks images which have Xen in DISTRO_FEATURES, but are not booting under Xen (and mounting /proc/xen fails). xencommons, xendriverdomain, or proc-xen.mount should take care of mounting /proc/xen. Signed-off-by: Chris Patterson <pattersonc@ainfosec.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* netns: New recipePaul Barker2016-06-211-0/+44
| | | | | | | | | | netns is a runc hook for setting up simple bridge networking within containers. See README.md (or https://github.com/jfrazelle/netns/blob/master/README.md) for instructions on how to use netns. Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* runc: Use go-osarchmap to set GOARCHPaul Barker2016-06-171-8/+3
| | | | | | | | | | | | When building for qemux86 the following error was encountered due to GOARCH being set incorrectly: compile: unknown architecture "i586" This can be fixed by using the go-osarchmap class. Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* runc: Backport fix for building against muslPaul Barker2016-06-172-0/+49
| | | | | Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* docker-registry: Make version dependence compatible with opkgFabio Berton2016-06-171-13/+13
| | | | | | | | | | | | | | | | | | | | | | | Some recipes in RDEPENDS are installing specific version of package, for example: gunicorn (= 19.1.1) If usigin ipk for PACKAGE_CLASSES, opkg prints error: Collected errors: * satisfy_dependencies_for: Cannot satisfy the following dependencies for docker: * gunicorn (= 19.1.1) * * opkg_install: Cannot install package docker. This error is caused because opkg appends package revision to version. In this case: gunicorn_19.1.1-r0.1 If we use comparator >= this error doesn't appear. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* criu: fix build-deps qa warningKai Kang2016-06-062-4/+34
| | | | | | | | | | | | | It shows warning when build crius if libselinux has been built already: WARNING: QA Issue: criu rdepends on libselinux, but it isn't a build dependency? [build-deps] Add a patch to disable selinux support when 'selinux' is not in PACKAGECONF. And update indentation at same time. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* docker: override GOROOT at build timeYunguo Wei2016-05-301-0/+1
| | | | | | | | | | | | | | | | | | Usually $GOROOT is set by go tool, but if sstate is specified, $GOROOT is set to the path in the first project. If docker is built in the another project(with same SSTATE_DIR) later, and the first project is removed, the following error will be seen: | go: cannot find GOROOT directory: /path/to/previous/project/bitbake_build/tmp/sysroots/x86_64-linux/usr/lib/x86_64-wrs-linux/go This commit is overriding $GOROOT stored in the go tool in sstate cache, making sure it is set to the correct path in current project. See more information here: https://golang.org/doc/install#install Signed-off-by: Yunguo Wei <yunguo.wei@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* go-cross: allow tmp directory to already existBruce Ashfield2016-05-252-2/+2
| | | | | | | | | | | | | | | The change [go-native: don't use host /var/tmp for temp build artifacts] fixed builds, but it is possible that the tmp directory already exists, which results in the following failure: | DEBUG: Executing shell function do_compile | mkdir: cannot create directory 'tmp/work/x86_64-linux/go-cross/1.6.2-r0/build-tmp': File exists | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_compile (log file is located at tmp/work/x86_64-linux/go-cross/1.6.2-r0/temp/log.do_compile.29142) By adding a -p to the mkdir calls, we can survive this scenario. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* protobuf: Add RDEPENDS for ptestHe Zhe2016-05-251-0/+1
| | | | | | | | | | | This patch adds bash and python to ptest's RDEPENDS to avoid the following warning: "WARNING: QA Issue: /usr/lib64/protobuf/ptest/run-ptest_protobuf-ptest contained in package protobuf-ptest requires /bin/bash, but no providers found in its RDEPENDS [file-rdeps]" Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt-python: backport a patch to fix crash in getAllDomainStatsRoy Li2016-05-252-0/+58
| | | | | | | | | | Upstream libvirt Commits 1d39dbaf and 827ed9b4 broke the libvirt-python API by removing virDomainRef() and virDomainFree(). virDomainStatsRecordListFree() will free that domain pointer and later when virDomain (python object) call its destructor and tries to free that same pointer again. Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* containerd: replace deprecated base_containsBruce Ashfield2016-05-251-3/+3
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* protobuf: add protobuf-2.5.0 into devtoolZumeng Chen2016-05-206-0/+224
| | | | | | | | | Protocol Buffers(a.k.a., protobuf) are language-neutral, platform-neutral, extensible mechanism for serializing structured data, so it is reasonable to be a part of development tool recipe. Signed-off-by: Zumeng Chen <zumeng.chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* criu: remove protobuf-2.6.1 and the relatedZumeng Chen2016-05-208-306/+0
| | | | | | | | | | Since CRIU does not explicitly nominate the version of protobuf as 2.6.1, which should not be included just here. And it seems protobuf-2.5.0 is doable or this CRIU version based on a basic testing according to criu.org/Simple_loop as well, so remove it from criu. Signed-off-by: Zumeng Chen <zumeng.chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* go-native: don't use host /var/tmp for temp build artifactsMark Asselstine2016-05-201-0/+4
| | | | | | | | | | | | | | | | Similar to a recent change for go-cross we can potentially run in to a build failure: go tool dist: mkdtemp(/var/tmp/go-cbuild-A0rrP5): No such file or directory when the host doesn't have a /var/tmp or when the permissions don't allow for the creation of the temporary directory. Instead of relying on /var/tmp we create and use a temporary directory in the $WORKDIR to work around this issue. This is passed to the build via the TMPDIR environment variable. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* docker: drop obselete dependenciesBruce Ashfield2016-05-183-64/+0
| | | | | | | | | | | We no longer need go-net and go-sqlite for the docker build and runtime. The upstream repos are no longer properly fetching, so we can simply drop the recipes and dependency. If they are ever needed in the future, we can revisit the upstream source for them. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: workaround to ignore deprecatedAnders Roxell2016-05-171-0/+2
| | | | | | | | | | | | | | | | | | | Recent patch did deprecate a standard POSIX function [1]. This is the build error: | ../../../lxc-2.0.0/src/lxc/cgfs.c: In function 'cgroup_rmdir': | ../../../lxc-2.0.0/src/lxc/cgfs.c:172:2: error: 'readdir_r' is deprecated [-Werror=deprecated-declarations] | while (!readdir_r(dir, &dirent, &direntp)) { | ^ | In file included from ../../../lxc-2.0.0/src/lxc/cgfs.c:30:0: | /.../build/tmp-glibc/sysroots/qemux86-64/usr/include/dirent.h:183:12: note: declared here | extern int readdir_r (DIR *__restrict __dirp, | ^ [1] https://www.sourceware.org/ml/libc-alpha/2016-02/msg00093.html Signed-off-by: Anders Roxell <anders.roxell@linaro.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: Fix rootfs creation errorsDai Caiyun2016-05-161-0/+1
| | | | | | | | error: file /var/run from install of openvswitch-2.1.3-r0.x86_64 conflicts with file from package base-files-3.0.14-r89.ubinux_x86_64 Signed-off-by: Dai Caiyun <daicy.fnst@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* go-cross: don't use host /var/tmp for temporary build artifactsMark Asselstine2016-05-161-1/+5
| | | | | | | | | | | | | | | | The default behavior for go-cross build is to use the path specified in TMPDIR for some temporary build artifacts and if no TMPDIR is set in the environment to fallback to use /var/tmp. This causes a build failure on hosts that do not have a /var/tmp or that have restrictive permissions on /var/tmp. The failure is seen as: go tool dist: mkdtemp(/var/tmp/go-cbuild-yhmNbi): No such file or directory By setting TMPDIR and ensuring we create this directory we can avoid the associated issue with using the default. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* globally replace 'base_contains' calls with 'bb.utils.contains'Derek Straka2016-05-037-21/+21
| | | | | | | The 'base_contains' is now deprecated and only kept as a compatibility method. It will be removed in future releases. Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* criu: Fix QA warningYunguo Wei2016-05-031-1/+1
| | | | | | | | | This is fixing: QA Issue: criu rdepends on libbsd, but it isn't a build dependency? [build-deps] Signed-off-by: Yunguo Wei <yunguo.wei@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* docker: uprev to 1.11.1Bruce Ashfield2016-05-024-1904/+6
| | | | | | | | | | | | | | | | | | | | Updating docker to the 1.11.1 release, which uses the open container initiative components. With this udpate, we drop patches that are no longer required, and adjust the install/strip routines to not look for obselete components. There are now 4 binaries required for docker to work: - docker - docker-containerd - docker-containerd-shim - docker-runc The new containerd and runc recipes provide the latter, while docker provides the cli and daemon. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* runc: initial recipeBruce Ashfield2016-05-021-0/+71
| | | | | | | | | | | | | | | | | | | | With the update to docker 1.11.x, we must also introduce runc. From the runc site: runC is a CLI tool for spawning and running containers according to the OCP specification. Containers are started as a child process of runC and can be embedded into various other systems without having to run a Docker daemon. runC is built on libcontainer, the same container technology powering millions of Docker Engine installations. Docker images can be run with runC. So not only is runc required for docker, it is useful for any system that wants to run OCP containers AND docker containers. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* containerd: initial recipeBruce Ashfield2016-05-021-0/+86
| | | | | | | | | | | | With the update to docker 1.11.x+, we need the OCI containerd to control runc: containerd is a daemon to control runC, built for performance and density. containerd leverages runC's advanced features such as seccomp and user namespace support as well as checkpoint and restore for cloning and live migration of containers. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* go: add go-cross 1.6Bruce Ashfield2016-05-028-0/+240
| | | | | | | Introduce the 1.6 go release, and port patches to apply to this version. Existing versions (1.5) are not removed, so this is not a forced update. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: update configuration to include all required optionsBruce Ashfield2016-05-021-0/+25
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: update to 2.0.0Bruce Ashfield2016-04-2514-922/+8
| | | | | | | | | | | | 2.0.0 is released, and contains many of the patches we've been carrying for 1.x. With this updated, we drop upstream backports (and submitted patches), and refresh on patch. Otherwise, everything is the same. Sanity tested on x86-64. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: inherit python native to fix configure errorPaul Gortmaker2016-04-221-1/+1
| | | | | | | | | | | | | | Recently the configure with python enabled has become the default here. However, if the host doesn't have python3, configure fails with: checking for a Python interpreter with version >= 3.2... none configure: error: You must install python3 We have a python3 in the sysroot, but we need to inherit it for it to be available for lxc's configure step. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* go-cross: add relocation fix to 1.4 for new binutils.Paul Gortmaker2016-04-222-0/+224
| | | | | | | | | | | | | | | | | | | | | | | Add relocation fix as documented in contained commit log, so that we can build with newer binutils, as per the ones we get via the self hosted builder and things like build-appliance. Fixes: | go-native/1.4.3-r0/go/pkg/linux_amd64/runtime/cgo.a(_all.o): unknown relocation type 42; compiled without -fpic? | go-native/1.4.3-r0/go/pkg/linux_amd64/runtime/cgo.a(_all.o): unknown relocation type 42; compiled without -fpic? | runtime/cgo(.text): unexpected relocation type 298 | runtime/cgo(.text): unexpected relocation type 298 | # cmd/go | go-native/1.4.3-r0/go/pkg/linux_amd64/runtime/cgo.a(_all.o): unknown relocation type 42; compiled without -fpic? | go-native/1.4.3-r0/go/pkg/linux_amd64/runtime/cgo.a(_all.o): unknown relocation type 42; compiled without -fpic? | runtime/cgo(.text): unexpected relocation type 298 | runtime/cgo(.text): unexpected relocation type 298 | WARNING: go-native/1.4.3-r0/temp/run.do_compile.30243:1 exit 2 from './make.bash --host-only' | ERROR: Function failed: do_compile (log file is located at go-native/1.4.3-r0/temp/log.do_compile.30243) ERROR: Task 6 (meta-virtualization/recipes-devtools/go-cross/go-native_1.4.bb, do_compile) failed with exit code '1' Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
* go-cross: uprev 1.4.2 --> 1.4.3Paul Gortmaker2016-04-221-3/+3
| | | | | | | There is a fix for newer binutils that was aimed at being placed on the 1.4.3 baseline, so update accordingly. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
* meta-virtualization: enable lxc-start support wlan0fli2016-04-222-0/+73
| | | | | | | | | | | Cherry picked patch from lxc upstream commit: f2e206ff47<lxc: let lxc-start support wlan phys> to enable lxc-start command support wlan0 device and make cube-essential support paththrough wlan device from host to lxc containers. Signed-off-by: fli <fupan.li@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>