Commit Graph

448 Commits

Author SHA1 Message Date
Bruce Ashfield
79654fc6a1 go: add go-cross 1.6
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>
2016-05-02 14:02:41 -04:00
Bruce Ashfield
5dedd395f4 lxc: update configuration to include all required options
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-05-02 14:02:41 -04:00
Bruce Ashfield
38cdaf39bf lxc: update to 2.0.0
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>
2016-04-25 16:26:23 -04:00
Paul Gortmaker
3498e94adf lxc: inherit python native to fix configure error
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>
2016-04-22 12:57:43 -04:00
Paul Gortmaker
7735217d66 go-cross: add relocation fix to 1.4 for new binutils.
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>
2016-04-22 12:51:23 -04:00
Paul Gortmaker
ecd6adcb82 go-cross: uprev 1.4.2 --> 1.4.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>
2016-04-22 12:51:23 -04:00
fli
23459b9b70 meta-virtualization: enable lxc-start support wlan0
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>
2016-04-22 10:27:40 -04:00
He Zhe
3e84107e40 openvswitch: ptest: Fix python path
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>
2016-04-19 15:51:17 -04:00
Zongchun Yu
acbe424171 docker: uprev to 1.9.0
Signed-off-by: Zongchun Yu <zongchun.yu@nxp.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-04-19 15:51:14 -04:00
Zongchun Yu
12c601cd2d go-cross: uprev to 1.5.2
* 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>
2016-04-19 15:51:10 -04:00
Derek Straka
841dc6f3a2 irqbalance: update to 1.1.0
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-04-18 14:16:52 -04:00
Derek Straka
c50d09dd2f dev86: update to version 0.16.20
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>
2016-04-18 14:16:52 -04:00
Derek Straka
6c5b15e21a seabios: update to version 1.9.1
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-04-18 14:16:52 -04:00
Jackie Huang
9536713ef4 python-m2crypto: Fix issue with swig 3.0.5
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>
2016-04-05 11:15:15 -04:00
He Zhe
fc9dd8d0fc openvswitch: Fix ptest for v2.5
- 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>
2016-04-05 11:12:37 -04:00
Mark Asselstine
a715fe0d9f lxc: uprev to latest stable 1.1.4 -> 1.1.5
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>
2016-04-04 20:03:30 -04:00
Chris Patterson
637adee284 xen: deploy efi binary, if present
Signed-off-by: Chris Patterson <pattersonc@ainfosec.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-03-31 09:15:26 -04:00
Yunguo Wei
da65e83a39 libvirt: uprev to 1.3.2
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>
2016-03-31 09:15:25 -04:00
He Zhe
2bb28a781f openvswitch: Uprev to latest version 2.5.0
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>
2016-03-31 09:15:25 -04:00
Bogdan Purcareata
bffe56510c lxc: warning fixes in busybox template
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>
2016-03-29 12:35:41 -04:00
Derek Straka
7fce344fd2 xen: add the extra packages released with xen 4.7
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-03-29 12:32:36 -04:00
Derek Straka
033af14650 xen: add the flask policy to the set of files installed to the deploy directory
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-03-29 12:32:36 -04:00
Derek Straka
80d20f741c xen: add the ability to configure the name of the policy
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>
2016-03-29 12:32:36 -04:00
Derek Straka
e9bf6b81a0 xen: split the flask package into a policy and tools package
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-03-29 12:32:36 -04:00
Chris Patterson
60d87a0ad7 xen: add curl and gnutls to depends
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>
2016-03-24 11:31:53 -04:00
Chris Patterson
af49562964 xen: uprev to 4.6.1
Drop xsm fix backport, no longer required.

Signed-off-by: Chris Patterson <pattersonc@ainfosec.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-03-24 11:31:53 -04:00
Derek Straka
9128134535 ipxe: add cdr-tools-native to the list of depends
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>
2016-03-24 11:31:47 -04:00
Mark Asselstine
5fcc6d24c3 lxc: fix build issue - unable to find Python.h
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>
2016-03-21 10:26:01 -04:00
Bogdan Purcareata
f3e5987296 lxc: upstream fixes for lxc-execute
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>
2016-03-07 11:30:37 -05:00
Machon Gregory
5ea2664dc0 Fix QA Issues when building for aarch64 machines
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>
2016-03-07 11:30:36 -05:00
Chris Patterson
813499d93f xen.inc: fix ordering of stubs task
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>
2016-02-24 21:27:18 -05:00
Bruce Ashfield
d724892afa libvirt: fix ptest QA errors
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>
2016-02-22 22:07:46 -05:00
Bruce Ashfield
f529090d7f xen-arch: add explicit expansion parameter
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>
2016-02-22 12:11:12 -05:00
Bruce Ashfield
2da5cb4bfc docker: remove dependency on explicit go-cross version
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>
2016-02-11 09:41:07 -05:00
Bruce Ashfield
2cec3442c6 libvirt: fix .la QA errors
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>
2016-02-11 09:41:07 -05:00
Mark Asselstine
0d2f0e570b python-six: uprev to latest
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>
2016-02-09 14:28:41 -05:00
Machon Gregory
47260c0059 Allow xsm to be built with GCC 5.1.1 and greater
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>
2016-02-01 15:33:30 -05:00
Doug Goldstein
f564975386 xen: don't inject -mfpmath=sse which causes build issues
Don't inject -mfpmath=sse into the build which causes issues with the
hypervisor build.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-02-01 00:11:36 -05:00
Doug Goldstein
3915d59fdf xen: don't allow the build system to fetch
All dependencies should be reflected in the Yocto dependency and the Xen
build system should not go off fetching things on its own.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-02-01 00:11:35 -05:00
Doug Goldstein
663463da0c xen: merge do_install_append to do_install
The do_install_append is necessary for the git build as well so just
merge that into the main include.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-02-01 00:11:35 -05:00
Doug Goldstein
5817c4a29b xen: move bits common to all Xen versions to xen.inc
These items are common for all Xen versions since at least 4.5 and newer
so these should just go in the common include file.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-02-01 00:11:35 -05:00
Doug Goldstein
a19e5567dc xen: separate the extra steps into their own tasks
do_configure() was overloaded with a lot of behaviors that really were
source code patching so instead make them as extra tasks that happen
after do_patch() and before do_configure().

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-02-01 00:11:35 -05:00
Doug Goldstein
12a7d544f4 xen: fix up typo in XSM comments
Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-02-01 00:11:35 -05:00
Doug Goldstein
ec4b409bd6 xen: drop explicit DEPEND on libgcc
'xen-base' is a meta package and itself should not depend on a library
this. Yocto checks the NEEDED of the dynamic section and automatically
includes those libraries as dependencies.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-02-01 00:11:35 -05:00
Doug Goldstein
45de52d11c xen: update git version to 4.6.x
Since xen.inc has been updated to support only Xen 4.6.x, the xen_git.bb
should be updated to a revision in the 4.6.x stable series.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-02-01 00:11:35 -05:00
Jason Wessel
ae6c7fb2d3 go-cross-1.3: Fix missing dependency for cross compile
The go-cross-1.3 package depends on the libgcc to be installed for the
cross compiler else you will receive an error if this package builds
first like:

runtime/cgo
/opt/tmp/sysroots/x86_64-linux/usr/bin/arm-wrs-linux-gnueabi/../../libexec/arm-wrs-linux-gnueabi/gcc/arm-wrs-linux-gnueabi/4.9.1/ld: cannot find crtbeginS.o: No such file or directory
collect2: error: ld returned 1 exit status

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-01-26 15:16:28 -05:00
Bruce Ashfield
9377e68bcd xen: clone 4.1 config to 4.4
4.4 is available in oe-core, and will be built by default in many
configurations. That leaves us either needing to force the preferred
version or copy our config to 4.4.

This is a direct clone of the 4.1 config to 4.4, and is currently
untested, but forms a baseline for more updates.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-01-19 09:53:11 -05:00
Chris Patterson
d62fe6dbd1 xen: add xen-devd to packages list.
Package was configured, but never added to PACKAGES.

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>
2016-01-19 08:49:32 -05:00
Chris Patterson
6ec960100f xen.cfg: enable CONFIG_HYPERVISOR_GUEST by default
Required dependency for CONFIG_XEN.

Signed-off-by: Chris Patterson <cjp256@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-01-14 15:37:46 -05:00
Chris Patterson
9d9372c0f9 xen: package remus-netbuf-setup into xen-remus
Package remus-netbuf-setup script which does not ship with
any existing package (throwing up a QA warning).

Signed-off-by: Chris Patterson <cjp256@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-01-05 11:47:17 -05:00