summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* seabios: update SRC_URI to: https://www.seabios.org/downloads/...krogothChristopher Clark2018-08-141-1/+1
| | | | | | | | According to the latest seabios download instructions, this is now the preferred source for release downloads. Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* go-fsnotify: switch to new repository on githubYunguo Wei2018-04-121-1/+1
| | | | | | | | fsnotify is changed to new repository on gihub, so adapt this chanage accordingly to avoid fetch failure. Signed-off-by: Yunguo Wei <yunguo.wei@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* docker: override GOROOT at build timeYunguo Wei2018-01-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> (cherry picked from commit 01aa8f18196d76d4554649c47348fb68277574c5)
* python-*: use https for pypi URLsFabio Berton2017-12-016-6/+6
| | | | | | | | | | | | | Several of the recipes here were using http URLs for source hosted on pypi - pypi apparently no longer supports http so switch to https instead. Apply this commit [1] to krogoth branch. [1] https://www.mail-archive.com/meta-virtualization@yoctoproject.org/msg02821.html Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> 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>
* xen: sync packages and fixes from masterDoug Goldstein2017-01-041-1/+19
| | | | | | | | Sync the latest list of packages and installed files from master along with a handful of compilation bug fixes. Signed-off-by: Doug Goldstein <cardoe@cardoe.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: switch to updated download URLDoug Goldstein2017-01-041-1/+1
| | | | | | | | The Xen Project has changed the officially supported download URL to use 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>
* 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>
* docker: drop obselete dependenciesBruce Ashfield2016-06-143-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>
* go-cross: allow tmp directory to already existBruce Ashfield2016-06-142-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>
* go-native: don't use host /var/tmp for temp build artifactsMark Asselstine2016-06-141-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>
* go-cross: don't use host /var/tmp for temporary build artifactsMark Asselstine2016-06-141-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>
* go: add go-cross 1.6Bruce Ashfield2016-06-148-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 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>
* openvswitch: ptest: Fix python pathHe Zhe2016-04-192-0/+31
| | | | | | | Set PYTHON to TARGET_PYTHON for running on target Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* docker: uprev to 1.9.0Zongchun Yu2016-04-193-44/+1863
| | | | | Signed-off-by: Zongchun Yu <zongchun.yu@nxp.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* go-cross: uprev to 1.5.2Zongchun Yu2016-04-1920-286/+487
| | | | | | | | * Add go-native as build bootstrap for go-cross. * Upgrade go-cross to v1.5.2 Signed-off-by: Zongchun Yu <zongchun.yu@nxp.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* irqbalance: update to 1.1.0Derek Straka2016-04-181-3/+3
| | | | | Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* dev86: update to version 0.16.20Derek Straka2016-04-181-2/+3
| | | | | | | Also supress the warnings about executables being already stripped Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* seabios: update to version 1.9.1Derek Straka2016-04-181-2/+2
| | | | | Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-m2crypto: Fix issue with swig 3.0.5Jackie Huang2016-04-052-1/+161
| | | | | | | | | | | | | The version 0.22.3 of python-m2crypto fails to work after swig updated to 3.0.5+: AttributeError: 'module' object has no attribute 'PKCS5_SALT_LEN' It's fixed since 0.22.4 and we could update it to latest version, but docker-registry depends on the version 0.22.3, so backport the patch to fix the issue with swig 3.0.5. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: Fix ptest for v2.5He Zhe2016-04-052-19/+63
| | | | | | | | | | | - Copy certain files from srcdir since it has been different from build directory. - Copy more necessary files for new added test cases. - Modify config files for running on target. - Add necessary RDEPENDS Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: uprev to latest stable 1.1.4 -> 1.1.5Mark Asselstine2016-04-041-2/+2
| | | | | | | | This is the latest stable release and includes many important bug fixes as well as CVE fixes such as CVE-2015-1335. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: deploy efi binary, if presentChris Patterson2016-03-311-0/+7
| | | | | Signed-off-by: Chris Patterson <pattersonc@ainfosec.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: uprev to 1.3.2Yunguo Wei2016-03-317-124/+85
| | | | | | | Release notes here http://libvirt.org/news.html. Signed-off-by: Yunguo Wei <yunguo.wei@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: Uprev to latest version 2.5.0He Zhe2016-03-312-7/+7
| | | | | | | Uprev to git rev bb429e09f7783f1ba23ac0682ed9edf424f0cfbb (based on 2.5.0) Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: warning fixes in busybox templateBogdan Purcareata2016-03-294-0/+125
| | | | | | | | | | Warnings fixes: - optional mounts when dirs not available - busybox dynamically linked - fstab not available in container Signed-off-by: Bogdan Purcareata <bogdan.purcareata@nxp.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: add the extra packages released with xen 4.7Derek Straka2016-03-291-10/+37
| | | | | Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: add the flask policy to the set of files installed to the deploy directoryDerek Straka2016-03-291-0/+5
| | | | | Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: add the ability to configure the name of the policyDerek Straka2016-03-291-1/+3
| | | | | | | When using non-release versions, the policy files may have a different name (xenpolicy-${PV}-unstable). Allow the policy file name to be configured by the xen recipe. Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: split the flask package into a policy and tools packageDerek Straka2016-03-291-1/+5
| | | | | Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: add curl and gnutls to dependsChris Patterson2016-03-241-0/+2
| | | | | | | Addresses QA warnings with regards to rdepends for xen-qemu. Signed-off-by: Chris Patterson <pattersonc@ainfosec.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: uprev to 4.6.1Chris Patterson2016-03-243-133/+10
| | | | | | | Drop xsm fix backport, no longer required. Signed-off-by: Chris Patterson <pattersonc@ainfosec.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* ipxe: add cdr-tools-native to the list of dependsDerek Straka2016-03-241-1/+1
| | | | | | | During the compile phase, ipxe needs to use mkisofs which is part of cdrtools Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: fix build issue - unable to find Python.hMark Asselstine2016-03-211-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to poky commit 3d45853eef1269b455d840a60491802251368378 [python3: fix do_configure check platform triplet error] lxc's configure scripts would fail to find python3 and would therefor configure with python3 support disabled. After poky integrated the above commit lxc can, and does, detect python3 and attempts to configure with python support. Unfortunately it would detect the host's python3 which it would use to run setup.py and therefor get the host's include path etc. and ultimately fail to build. To fix this we make 'python' support configurable via a PACKAGECONFIG and we default to not configuring with this support, to match our previous configuration. We also fix things such that 'python' support can be enabled in the PACKAGECONFIG and the build will complete successfully, using our python3 and not the host's. We might want to eventually enable the python support but since this not only enables python extensions but even goes as far as turning scripts like lxc-ls into python scripts, instead of shell scripts, keeping it disabled for now is the minimally invasive approach. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: upstream fixes for lxc-executeBogdan Purcareata2016-03-074-0/+148
| | | | | | | | | These patches address some warnings that LXC throws when running an application container. They are currently applied in the official repository. Signed-off-by: Bogdan Purcareata <bogdan.purcareata@nxp.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Fix QA Issues when building for aarch64 machinesMachon Gregory2016-03-071-0/+6
| | | | | | | | | | | | | | | | When building for the aarch64 based machines the following QA Issue is produced: ERROR: QA Issue: xen: Files/directories were installed but not shipped in any package: /usr/lib64 /usr/lib64/efi /usr/lib64/efi/xen-4.6.efi /usr/lib64/efi/xen-4.6.0.efi /usr/lib64/efi/xen.efi /usr/lib64/efi/xen-4.efi Signed-off-by: Machon Gregory <mbgrego@tycho.nsa.gov> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen.inc: fix ordering of stubs taskChris Patterson2016-02-241-1/+1
| | | | | | | | | | | | | | | | Placing the stubs function between patch and configure steps breaks because it has dependencies which are not guranteed until the configure step. Build error: "fatal error: gnu/stubs-32.h: No such file or directory" This patch simply moves the step between configure and compile to resolve the dependency issue. Reported-by: Machon Gregory <mbgrego@tycho.nsa.gov> Signed-off-by: Chris Patterson <cjp256@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: fix ptest QA errorsBruce Ashfield2016-02-221-2/+2
| | | | | | | | | | The .la files generated for the ptest libraries have multiple references to the working dir and continue to trigger QA errors. Rather than playing whack-a-mole with the references, we can simply remove the .la files .. since they are not required on the target. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen-arch: add explicit expansion parameterBruce Ashfield2016-02-221-1/+1
| | | | | | | To avoid parse errors with oe-core master, we need to expliictly pass the expansion parameter to getVar. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* docker: remove dependency on explicit go-cross versionBruce Ashfield2016-02-111-1/+1
| | | | | | | | | | go-cross-1.3 is old, and doesn't link properly with the latest 2.26 binutils. To get things building again, and to start the docker uprev, we simply depend on go-cross and line docker up with the rest of the go users. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: fix .la QA errorsBruce Ashfield2016-02-111-0/+10
| | | | | | | | | | | | | | | | oe-core 3739aaf644 [insane: Fix populate_sysroot sanity test path] means that .la files are subject to a QA sanity check that fails if the build paths (workdir) are found. The ptest and main libvirt files have silently had this issue with hosts paths. One fix is to remove the .la files, but this could impact on target test and builds, so our first attempt to fix them is to follow the lead of a similar lttng_tools fix, and modify .la files to have paths and values that are valid on target. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-six: uprev to latestMark Asselstine2016-02-092-8/+6
| | | | | | | The openstack layer requires a version of six >= 1.9.0 Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Allow xsm to be built with GCC 5.1.1 and greaterMachon Gregory2016-02-012-0/+123
| | | | | | | The patch was cherrypicked from upstream Xen. See patch header for more information. Signed-off-by: Machon Gregory <mbgrego@tycho.nsa.gov> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>