summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* go-cross: depend on virtual/${TARGET_PREFIX}gccMark Asselstine2017-02-011-1/+1
| | | | | | | | | | | | | This fixes the compile time error #runtime/cgo exec: "x86_64-overc-linux-gcc": executable file not found in $PATH Since we set CC_FOR_TARGET to ${TARGET_PREFIX}gcc we need to ensure this is present by adding it to the recipe DEPENDS. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* containered|runc: override GOROOT at build timeLans Zhang2017-01-212-0/+2
| | | | | | | | Similar to commit 01aa8f1, runc and containered also need to set GOROOT explicitly. Signed-off-by: Lans Zhang <jia.zhang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* docker: fixup builds broken by uprev to 1.13Mark Asselstine2017-01-202-1/+117
| | | | | | | | | | | | | | | | | | This new version of docker starts to assume that go 1.7 is used. Specifically in go 1.7 golang.org/x/net/context has been merged so the include is starting to be shortened to simply "context" which does not work when using go 1.6. We can continue to use go 1.6 by using the full pkg path. Additionally the docker-proxy is not built when using the hacks build mechanism, as we do to build docker (ie. we don't build docker in a docker container). We could probably find a way to build docker-proxy using the build hacks, but for now we will simply drop docker-proxy from the package. In an embedded env. using the proxy doesn't make a lot of sense anyways. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-sqlalchemy: uprev to latest in 1.0.x seriesMark Asselstine2017-01-201-4/+4
| | | | | | | | | | | | | | According to the changelog at (http://docs.sqlalchemy.org/en/latest/changelog/changelog_10.html) this is mostly bug fixes. We need a version >= 1.0.10 to properly support the python-oslo.db uprev to stable/newton in meta-cloud-services. NOTE the license checksum has changed do to content change, not because the package license has changed, it is still MIT. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-sqlalchemy: Add 1.1.5Huang Qiyu2017-01-201-0/+16
| | | | | | | | | 1) Copy the v1.0.9 bb to create python-sqlalchemy v1.1.5. 2) License checksum changed,since the copyright years were updated. Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* docker: update to 1.13.0 releaseFathi Boudra2017-01-201-2/+2
| | | | | | | Adjust SRCREV and DOCKER_VERSION to match docker 1.13.0 release. Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-sqlalchemy: 1.0.8 -> 1.0.9Huang Qiyu2017-01-171-2/+2
| | | | | | | Upgrade python-sqlalchemy from 1.0.8 to 1.0.9. Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* containers/oci: introduce riddler packageBruce Ashfield2017-01-161-0/+48
| | | | | | riddler is useful for converting docker container to runc OCI spec json. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-sphinx: 1.3.1 -> 1.4.1Huang Qiyu2017-01-141-3/+3
| | | | | | | | 1) Upgrade python-sphinx from 1.3.1 to 1.4.1 2) License checksum changed,since the copyright years were updated. Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-webob 1.4.1 -> 1.6.0Huang Qiyu2017-01-141-2/+2
| | | | | | | Upgrade python-webob from 1.4.1 to 1.6.0. Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: fix build host contaminationMark Asselstine2017-01-144-5/+61
| | | | | | | | | | | | | | | | | | | | | | There is only a single PYTHON variable for configure and yet python is used for the build as well as scripts installed on the target. If we set a path in PYTHON as we had we end up using this same path during the build and since it isn't to the sysroot we end up with host contamination (as demonstrated by python failing to import 'six' on build hosts without python-six installed. The best approach is to set PYTHON to "python" when calling configure, ie. without a path. This will use 'python' from the path during build time and by ensuring all the installed scripts use '/usr/bin/env' we can ensure python will be found on the target when the scripts are run. Since 'six' is used as part of the build we have to ensure it is -native'ly buildable and we set all the required build and runtime dependencies. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: uprev to 2.6.1Mark Asselstine2017-01-125-199/+17
| | | | | | | | | | | | | | | Pick up the latest features, including compatability with the latest DPDK as well as bug fixes. The patches for TARGET_PYTHON and TARGET_PERL can be dropped as configure now lets us pass these in the env (which we set). The systemd service files have been shuffled some upstream and we make adjustments in the recipe to accomodate these. The sysvinit scripts remain functional as they are. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Revert "openvswitch: update licence checksum"Bruce Ashfield2017-01-111-1/+1
| | | | This reverts commit 67185ef0f8e1ebedd080ddaeb18d1e56f5034d45.
* xen: add a README to provide info for usersDoug Goldstein2017-01-061-0/+24
| | | | | | Provided some basic documentation on how to use the xen recipe properly. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: remove unused patchDoug Goldstein2017-01-061-58/+0
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: update license checksumDoug Goldstein2017-01-061-1/+1
| | | | | | The checksum of the license changed with the 4.8.0 release. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: add rdepends to initscriptsfli2017-01-041-0/+1
| | | | | | | | | lxc's postinst will run populate-volatile.sh scripts, which is provided by initscripts package, thus it's better to add this rdepends. Signed-off-by: fli <fupan.li@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: update licence checksumMark Asselstine2017-01-041-1/+1
| | | | | | | | | | Upstream commit a489b16854b5 [conntrack: New userspace connection tracker.] classified new files under existing licenses in COPYING, resulting in no change to the overall licenses but requires a new checksum. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: ensure we build release buildsDoug Goldstein2017-01-041-0/+4
| | | | | | | | | Don't build with asserts on. This is the default for release tarballs but if someone bbappends patches in we should ensure they don't shoot themselves. Signed-off-by: Doug Goldstein <cardoe@cardoe.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: make it easy to override hypervisor configDoug Goldstein2017-01-041-0/+8
| | | | | | | | | The hypervisor is now configured with Kconfig like busybox and the kernel. This makes Xen behave like the busybox recipe by taking a defconfig if the user has one provided with a bbappend. Signed-off-by: Doug Goldstein <cardoe@cardoe.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: add gnu-efi to DEPENDSDoug Goldstein2017-01-041-0/+1
| | | | | | | Allow Xen to build the EFI loader by including the required dependency. Signed-off-by: Doug Goldstein <cardoe@cardoe.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* docker: cosmetic - fix indentationFathi Boudra2017-01-031-4/+5
| | | | | | | | | cosmetic only, no changes in behavior: * align all the DEPENDS, better readability * fix indentation in do_install(): space -> tab Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* docker: use a switch to set GOARCH based on TARGET_ARCH valueFathi Boudra2017-01-031-8/+23
| | | | | | | | | It allows to: * easily extend future architecture added/supported * tune arm architecture and set GOARM as appropriate Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* docker: update descriptionFathi Boudra2017-01-031-4/+4
| | | | | | | | * reword docker officially supported hosts section * bump minimal required kernel from 3.8 to 3.10 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* docker: update to docker 1.12.5 releaseFathi Boudra2017-01-031-2/+2
| | | | | Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Remove True option to getVar callsPaul Barker2017-01-035-17/+17
| | | | | | | getVar() now defaults to expanding by default. Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* go-osarchmap: Skip golang recipes for unsupported architecturesPaul Barker2017-01-031-1/+6
| | | | | | | | | | Building any recipe for a mips-based machine like arduino-yun currently leads to errors in go_map_arch(). Instead, errors should only be raised if a recipe which uses golang is built. This is achieved using the same error handling seen in recipes-extended/xen. Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen-image-minimal: if DISTRO_FEATURES is missing xen errorDoug Goldstein2016-12-181-0/+8
| | | | | | | | | It can be confusing to users why things are failing with missing kernel dependencies when you don't have 'xen' in your DISTRO_FEATURES. This should provide them with some better info. Signed-off-by: Doug Goldstein <cardoe@cardoe.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* README: make it easier to copy and paste send commandDoug Goldstein2016-12-181-1/+1
| | | | | | | | | | | The git send-email command on most shells requires the subject-prefix to be quoted and with the trailing quote I always think it is from the README and then realize after the fact I have to edit it. I used $ to imply the shell prompt since that seems pretty common across the internet. Signed-off-by: Doug Goldstein <cardoe@cardoe.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: bump to version 4.8.0Doug Goldstein2016-12-182-11/+10
| | | | | | Version bump to the latest release. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: switch to updated download URLDoug Goldstein2016-12-181-1/+1
| | | | | | | | The Xen Project has changed the officially supported download URL to be from xenproject.org. This changes to the officially supported URLs. Signed-off-by: Doug Goldstein <cardoe@cardoe.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: add extra generated file to packageDoug Goldstein2016-12-181-0/+1
| | | | | | | | | xenstore is no longer launched by xencommons directly. Instead its launched indirectly via the launch-xenstore script to allow users to switch between xenstore running in a stubdom or within dom0 easily. Signed-off-by: Doug Goldstein <cardoe@cardoe.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* protobuf: uprev 3.1.0 from 3.0.0Wenzong Fan2016-11-222-6/+6
| | | | | Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* oci: introduce runtime toolsBruce Ashfield2016-11-211-0/+35
| | | | | | | | | | The oci runtime uses config.json to configure and control containers. Most of that file can be generated via the oci runtime tools. With this package we can generate container configurations dynamically on the target. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* runc: introduce oci-systemd-hookBruce Ashfield2016-11-213-0/+100
| | | | | | | | | | To support running "OS containers" aka systemd as the entry point under runc, we provide the oci-systemd-hook. By adding this to the pre-start and stop hook points, coupled with the proper config.json, you can start systemd controlled containers via runc. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: add 'wireshark' packageconfigMark Asselstine2016-11-171-0/+1
| | | | | | | | | | | | | | | | | | | | libvirt by default has '--with-wireshark-dissector' set to 'check'. Therefor if wireshark is built before vs after libvirt this will result in a potentially unexpected difference in how libvirt is configured. Additionally the build of libvirt with wireshark capabilities enabled is currently broken and thus if attempted will result in the error: fatal error: ws_symbol_export.h: No such file or directory To prevent the random configuration of libvirt with respect to wireshark we add a new packageconfig for wireshark. NOTE that the wireshark recipe is currently incomplete so this new packageconfig will result in a build failure if used, until wireshark is updated to build libwsutil. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
* lxc: move .debug directory to debug packageIgor Socec2016-11-111-1/+1
| | | | | | | | Bitbake reports a [debug-files] QA Issue for the following path: packages-split/lxc/usr/lib/lxc/lxc/hooks/.debug/unmount-namespace Signed-off-by: Igor Socec <igor.socec@pelagicore.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* docker: install script config-check.shStefan Lengfeld2016-11-031-0/+6
| | | | | | | | | | | The script /usr/share/docker/config-check.sh is very useful to test all kernel requirements for docker. A lot of embedded boards will use a custom kernel config that does not have all kernel features enabled by default. Install the script so kernel developer can easily enable the missing features. Signed-off-by: Stefan Lengfeld <s.lengfeld@phytec.de> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* kernel: add linux-yocto-4.8 bbappendBruce Ashfield2016-10-271-0/+19
| | | | | | | We want our options and features to apply to the 4.8 kernel as well as the older ones. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* protobuf: ptest: Fix QA file-rdep warningHe Zhe2016-10-211-0/+1
| | | | | | | | | | | Add bash to ptest's RDEPENDS "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>
* protobuf: Fix QA error for GNU_HASHHe Zhe2016-10-211-1/+1
| | | | | | | | | | | Add LDFLAGS to examples makefile to pass default ld flags. "ERROR: protobuf-3.0.0-r0 do_package_qa: QA Issue: No GNU_HASH in the elf binary: '.../protobuf/3.0.0-r0/packages-split/protobuf-ptest/usr/ lib/protobuf/ptest/add_person_cpp'" Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* go-cross: Fix failure if building go-cross firstJason Wessel2016-10-191-1/+2
| | | | | | | | If go-cross is built as the first package it will fail creating the target libraries used for cross-compilation because it requires libgcc. Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* go-native: Add work around for binutils >= 2.27Jason Wessel2016-10-191-1/+1
| | | | | | | | | | | | | | | We only use go-native to bootstrap go-cross and according to a post in the go-lang git it is possible to work around by disabling CGO: https://github.com/golang/go/issues/16906 This patch fixes the compile failure with binutils 2.27 which has the message: cannot load DWARF output from $WORK/net/_obj//_cgo_.o: decoding dwarf section info at offset 0x4: unsupported version 0 Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* containerd: use the target toolchain to build cgo componentsMark Asselstine2016-10-121-0/+2
| | | | | | | | | We need to ensure we are using the target toolchain and sysroot to avoid possible host contamination, and in the case of non x86-64 target builds, allow the build to complete successfully. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* go-cross: Fix host contamination for x86_64 host to x86_64 targetJason Wessel2016-10-121-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | The go-cross package is explicitly for compiling target libraries on the host system. When the target architecture matches the host architecture it will actually use the host's linker and compiler however which can result in the generation of the cgo.a library having linker symbols which might not work properly when compiling other packages. A typical error looks like this when building consul-migrate: /opt/build-intel-x86/tmp/sysroots/x86_64-linux/usr/lib/x86_64-linux/go/pkg/tool/linux_amd64/link: running x86_64-yocto-linux-gcc failed: exit status 1 /opt/build-intel-x86/tmp/sysroots/x86_64-linux/usr/libexec/x86_64-yocto-linux/gcc/x86_64-yocto-linux/5.2.0/ld: /opt/build-intel-x86/tmp/work/core2-64-yocto-linux/consul-migrate/git-r0/build-tmp/go-link-956548052/000002.o: unrecognized relocation (0x2a) in section `.text' /opt/build-intel-x86/tmp/sysroots/x86_64-linux/usr/libexec/x86_64-yocto-linux/gcc/x86_64-yocto-linux/5.2.0/ld: final link failed: Bad value collect2: error: ld returned 1 exit status The fix is to use the make.bash --target-only option to properly build the libraries with the target toolchain. The "go" binaries are thrown away but the cross compilation libraries are preserved. The sysroot strip also has to be disabled because it will run the host strip on the target binaries. Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: add glibc-utils to rdependWenlin Kang2016-10-121-0/+1
| | | | | | | | getent is needed by lxc-net of lxc, but current system misses it, so add glibc-utils to lxc's rdepend, fix this issue. Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Revert "go-cross: Fix host contamination for x86_64 host to x86_64 target"Bruce Ashfield2016-09-231-9/+1
| | | | | | | | | | | | | | | | | | | | | | | This is breaking the build of go-cross on some machines: Log data follows: | DEBUG: Executing shell function do_compile | NOTE: make -j 20 static | ERROR: oe_runmake failed | /home/bruce/poky/build/tmp/work/core2-64-poky-linux/containerd/0.2.2+git0ac3cd1be170d180b2baed755e8f0da547ceb267-r0/git | cd ctr && go build -ldflags "-w -extldflags -static -X github.com/docker/containerd.GitCommit=0ac3cd1be170d180b2baed755e8f0da547ceb267 " -tags "" -o ../bin/ctr | cd containerd && go build -ldflags "-w -extldflags -static -X github.com/docker/containerd.GitCommit=0ac3cd1be170d180b2baed755e8f0da547ceb267 " -tags "" -o ../bin/containerd | cd containerd-shim && go build -ldflags "-w -extldflags -static -X github.com/docker/containerd.GitCommit=0ac3cd1be170d180b2baed755e8f0da547ceb267 " -tags "" -o ../bin/containerd-shim | # github.com/docker/docker/pkg/term | cannot load DWARF output from $WORK/github.com/docker/docker/pkg/term/_obj//_cgo_.o: decoding dwarf section info at offset 0x4: unsupported version 0 | make: *** [shim-static] Error 2 | make: *** Waiting for unfinished jobs.... | # github.com/docker/docker/pkg/term | cannot load DWARF output from $WORK/github.com/docker/docker/pkg/term/_obj//_cgo_.o: decoding dwarf section info at offset 0x4: unsupported version 0 | # github.com/opencontainers/runc/libcontainer/system | cannot load DWARF output from $WORK/github.com/opencontainers/runc/libcontainer/system/_obj//_cgo_ This reverts commit 7ff08e542d15b8e0104185768debf360044af7d1.
* libvirt: remove .o files for ptestKai Kang2016-09-221-1/+1
| | | | | | | | | When do split_and_strip_files, it may calls debugedit to deal elf files. For ptest sub-package, it fails to run debugedit with .o files. So remove the .o files which are redundant to run ptest cases. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* go-cross: Fix host contamination for x86_64 host to x86_64 targetJason Wessel2016-09-221-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | The go-cross package is explicitly for compiling target libraries on the host system. When the target architecture matches the host architecture it will actually use the host's linker and compiler however which can result in the generation of the cgo.a library having linker symbols which might not work properly when compiling other packages. A typical error looks like this when building consul-migrate: /opt/build-intel-x86/tmp/sysroots/x86_64-linux/usr/lib/x86_64-linux/go/pkg/tool/linux_amd64/link: running x86_64-yocto-linux-gcc failed: exit status 1 /opt/build-intel-x86/tmp/sysroots/x86_64-linux/usr/libexec/x86_64-yocto-linux/gcc/x86_64-yocto-linux/5.2.0/ld: /opt/build-intel-x86/tmp/work/core2-64-yocto-linux/consul-migrate/git-r0/build-tmp/go-link-956548052/000002.o: unrecognized relocation (0x2a) in section `.text' /opt/build-intel-x86/tmp/sysroots/x86_64-linux/usr/libexec/x86_64-yocto-linux/gcc/x86_64-yocto-linux/5.2.0/ld: final link failed: Bad value collect2: error: ld returned 1 exit status The fix is to use the make.bash --target-only option to properly build the libraries with the target toolchain. When the host architecture does not match the target architecture we must also force build the target libraries or they get dynamically populated into the sysroot in an uncontrolled manner by the first package that uses go-cross to compile code. Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* multipath-tools: Drop recipeAdrian Dudau2016-09-221-46/+0
| | | | | | | | A newer version of the recipe is maintained in meta-openembedded/meta-oe. No reason to keep an older version here. Signed-off-by: Adrian Dudau <adrian.dudau@enea.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>