Commit Graph

297 Commits

Author SHA1 Message Date
Amy Fong
898e1ecc1e Add golang-cross
This package is derived from meta-golang:
https://github.com/digitallumens/meta-golang.git
commit 3fa6c8af6b4762de2f4e6740e327a5a71c29e6e1

In the meta-golang version, golang depends on a gcc-cross that causes
conflicts with our toolchain. So the golang-cross recipe was extracted
and then the following changes were made to work in wrlinux:

- our TARGET_ARCH is x86-64, golang-cross wants amd64

- in the former recipe, compile fails because it can't find header files
  and libraries because --sysroot is dropped. So I redefined the target
  cc and target cxx as cc and cxx at the start of the compile rule since
  cc gets redefined in there somewhere.

Signed-off-by: Amy Fong <amy.fong@windriver.com>
2015-03-17 09:46:32 -04:00
Bogdan Purcareata
055742a99e lxc: Update support for seccomp on PPC architectures
Update the LXC recipe with the upstream-applied version of the patch.

Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-03-17 09:42:07 -04:00
Christopher Larson
8a0ecb59fa xen: avoid parse time errors for non-xen-archs
XEN_TARGET_ARCH, when expanded, would emit a bb.error(). Referencing
XEN_TARGET_ARCH in PACKAGECONFIG resulted in its expansion at the up front
parse time, rather than at compile time, so non-xen-supported-archs like
powerpc would see parse time errors, resulting in non-zero bitbake exit codes.

Naturally this isn't ideal, so instead have the mapping function return
'INVALID' in the unsupported case, and in anonymous python, raise SkipPackage
if the mapped architecture is invalid, so it's seen as unbuildable in that
case.

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-03-17 09:42:00 -04:00
Bogdan Purcareata
e1b0876fa9 lxc: Add support for seccomp on PPC architectures
Add the necessary bits to enable seccomp support for LXC running on PPC
architectures. libseccomp added support for PPC [1], yet to be applied to
Yocto/meta-security.

[1] https://github.com/seccomp/libseccomp/tree/working-ppc64

Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-03-13 14:46:02 -04:00
Bogdan Purcareata
d948b6a21d lxc: Add PACKAGECONFIG for seccomp
Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-03-13 14:46:02 -04:00
Rob Woolley
b64d14ac50 libvirt: Identify CONFFILES
Some package formats explicitly track which files are configuration files
so that they are not overwritten on updates. Explicitly list the
configuration files.

Signed-off by: Rob Woolley <rob.woolley@windriver.com>

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-03-10 13:17:46 -04:00
Bogdan Purcareata
ea1539e965 lxc: fix reboot for Busybox containers
Busybox powered containers rely on a different signal for reboot - SIGTERM,
rather than the default SIGINT.

Apply the upstream support adding the infrastructure for defining a custom
reboot signal for a container, and default this signal to SIGTERM for Busybox
containers.  The original patches have been applied on the upstream master LXC
branch, and required a minor backport.

Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-03-10 13:14:57 -04:00
Paul Gortmaker
57336a83ac python: drop cross build patch
This is the old 2.7.2 version and it will be found when the
2.7.9 version goes looking for the patch of the same name,
causing do_patch() to fail.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
2015-02-25 12:19:00 -05:00
Bruce Ashfield
2d6decbb36 python: update bbappend to match oe-core master
It is questionable if we need this at all anymore (we probably don't),
but for now, there's no reason to not match the versions.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-02-24 09:35:36 -05:00
Bruce Ashfield
beaa1ea3f7 openvswitch: add bash rdepends
Fix the following QA warning:

  WARNING: QA Issue: openvswitch requires /bin/bash, but no providers in its RDEPENDS [file-rdeps]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-02-22 23:48:09 -05:00
Bruce Ashfield
9dc5fd6367 openvswitch: don't pass kernel source or build artifacts
Like the previous versions of OVS, we rely on the virtual/kernel provider
to build the appropriate modules. Passing the --with-linux and --with-linux-source
breaks builds when the split source/build/build-artifacts are not as
expected (and modules are attempted to be built from the wrong directory).

To fix this, we simply don't enable those options, and all is well.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-02-20 23:33:20 -05:00
Chris Patterson
1402e2a5b9 seabios: minor cleanup
- use EXTRA_OEMAKE for passing along make flags
- drop PARALLEL_MAKE="" override which is not required.

Signed-off-by: Chris Patterson <cjp256@gmail.com>
2015-02-20 21:17:04 -05:00
Chris Patterson
888a5251bf vgabios: DEPENDS on dev86-native
Signed-off-by: Chris Patterson <cjp256@gmail.com>
2015-02-20 21:17:04 -05:00
Nathan Rossi
fd2e7465c8 xen: Add 'hvm' PACKAGECONFIG for hvmloader building
* The 'hvm' PACKAGECONFIG (which is valid for x86 targets, and default
  enabled for x86-64 targets) enables building the hvmloader with
  in-built seabios, ipxe and vgabios firmware

Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
2015-02-20 21:17:04 -05:00
Chris Patterson
31cceea813 xen: break out firmware bits
Added recipes for various xen firmware components:
- ipxe
- seabios
- vgabios

Signed-off-by: Chris Patterson <cjp256@gmail.com>
Signed-off-by: Eric Chanudet <eric.chanudet@gmail.com>
Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
2015-02-20 21:17:04 -05:00
Nathan Rossi
88fb26f654 xen: Add patch to fix build failure on x86
* Add a patch which enables -mfpmath=387 which prevents the warning,
  which is treated as an error

Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
2015-02-20 21:17:04 -05:00
Nathan Rossi
3b1ef55b44 xen: Add support for systemd
* Refactor volatiles so that it generates sysvinit/populate-volatiles as
  well as tmpfiles.d configs
* Add systemd PACKAGECONFIG for enabling systemd support
* Setup SYSTEMD_SERVICE variables
* Add FILES values for systemd .service/.mount/etc files
* sed patterns to the 4.5.0 recipe to  fix some issues with the source
  around qemu-system-i386 and libsystemd-daemon

Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
2015-02-20 21:17:04 -05:00
Nathan Rossi
e01dd91f77 xen-image-minimal: Install qemu instead of xen-qemu
* Install QEMU from the distro as opposed to a specific xen-qemu setup

Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
2015-02-20 21:17:04 -05:00
Nathan Rossi
63d853c8e6 xen: Update recipe to 4.5.0
* Added configure step to fix handling of the CC, AS, etc. variables
  within the xen build scripts.
* Add configure options for handling of system config directories for
  cross building
* Use the qemu provided by oe instead of the xen built version for
  consistency as well as to remove the need to have two seperate flows
  for building qemu
* Disable building of SeaBIOS
* Removed no longer needed patches

Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
2015-02-20 21:17:04 -05:00
Nathan Rossi
06a8cc10d8 xen-*image-minimal: Setup conditional based on MACHINE_FEATURES
* Conditionally add packages to the image depending on whether the
  machine supports the respective feature

Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
2015-02-20 21:17:04 -05:00
Nathan Rossi
46504b1999 xen: Add aarch64 as compatible host
Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
2015-02-20 21:17:04 -05:00
Nathan Rossi
38e0bb2618 xen: Fix up architecture specific steps
* Remove version specific sed pattern
* Add 'xen' as an output product instead of just 'xen.gz' as some
  architectures do not generate the 'xen.gz'

Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
2015-02-20 21:17:04 -05:00
Nathan Rossi
5363c1ea1d xen: Move x86/arch specific components into RRECOMMENDS
* The xen-base specifies features that are specific to x86 targets,
  these components include xen-libblktap, xen-flask, xen-hvmloader and
  xen-xenpaging

Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
2015-02-20 21:17:04 -05:00
Nathan Rossi
2daf821145 xen: Add Build and Target architecture mapping
* Setup the XEN_TARGET_ARCH and XEN_COMPILE_ARCH based on the running
  environments TARGET_ARCH and BUILD_ARCH

Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
2015-02-20 21:17:04 -05:00
Nathan Rossi
6a145bce3a xen: Fix and refactor common include
* Add missing DEPENDS (dtc, lzo, libaio)
* Fix up QA issues around missing rdepends and un-shipped
  files/directories
* Add export for XEN_OS
* Add the /var/lib/xen directory as a volatile directory

Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
2015-02-20 21:17:04 -05:00
Bruce Ashfield
ec58910376 ovs: disable dpdk by default
The dpdk recipes are not commonly available, so we shouldn't have
dpdk in the PACKAGECONFIG by default.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-02-20 21:02:03 -05:00
Bruce Ashfield
8bf314b41b linux-yocto: update bbappends to match oe-core 1.8 kernels
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-02-20 15:08:17 -05:00
Paul Gortmaker
21391597e1 busybox: make append version independent
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-02-19 13:12:16 -05:00
j105rob
2892c53779 dev86: Adjusted the SRC_URI of the source code.
The SRC_URI of the source code was returning a 404. After locating the correct URI
for this version of the source code, updated the SRC_URI & hashes.

Signed-off-by: j105rob <j105.rob@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-02-16 23:38:05 -05:00
Amy Fong
3215875479 openvswitch: restructure recipes
Add openvswitch.inc, removing common parts out of openvswitch*.bb

Signed-off-by: Amy Fong <amy.fong@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-02-03 14:10:55 -05:00
Amy Fong
2905d87e7e Package openvswitch git
This revision corresponds to git rev 1667bb34988358aaf1c92d0d21fad4b1c8698780
(based on 2.3.90)

Signed-off-by: Amy Fong <amy.fong@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-02-03 14:10:55 -05:00
Bruce Ashfield
b327673b51 lxc: add multiple PTYS to the default configuration
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-01-30 00:18:05 -05:00
Bruce Ashfield
9e1c5f6e85 lxc: add bridge setup configuration to -setup package
Now that we have a lxc-setup package, we can start to define networking
and other out of the box configuration details for those that opt to
install it.

These are by no means complete, and won't work for everyone, but they are
a start.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-01-30 00:18:05 -05:00
Bruce Ashfield
3381e4d5ed lxc: install initscripts
lxc comes with sysvinit and systemd initscripts that autostart
containers and check for required services. So we should be installing
and enabling them.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-01-30 00:18:05 -05:00
Bruce Ashfield
d00ef6ceae libvirt: uprev to 1.2.12
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-01-27 12:44:47 -05:00
Bruce Ashfield
83d8f3e0c5 libvirt: correct libvirt-python checksums
The uprev to 1.2.11 had the incorrect libvirt-pthon checksums, we
correct them here.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-01-20 15:11:57 -05:00
Bruce Ashfield
9adfffc345 libvirt: uprev to 1.2.11
Other than updating the checksums, no other significant differences are
present in the 1.2.8 -> 1.2.11 update of libvirt.

Sanity testing passes, so we do the update.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-01-20 14:17:34 -05:00
Bruce Ashfield
4eee3730ff lxc: uprev to 1.0.7
lxc 1.0.7 is available, and integrates two patches that we were carrying
against 1.0.6 .. so we do the update, and drop the two busybox patches.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-01-20 14:16:19 -05:00
Wenzong Fan
c0423005b3 lxc: add PACKAGECONFIG for selinux
Add PACKAGECONFIG for 'selinux', otherwise there would be warnings like
below:

WARN: lxc: lxc rdepends on libselinux, but it isn't a build dependency?

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-12-03 10:19:56 -05:00
Wenzong Fan
48c1f0666b libvirt: add PACKAGECONFIG for audit, libcap-ng
Add PACKAGECONFIG for audit, libcap-ng, otherwise there would be
warnings like below:

WARN: libvirt: libvirt-virsh rdepends on audit, but it isn't a build dependency?
WARN: libvirt: libvirt-virsh rdepends on libcap-ng, but it isn't a build dependency?
WARN: libvirt: libvirt rdepends on audit, but it isn't a build dependency?
WARN: libvirt: libvirt rdepends on libcap-ng, but it isn't a build dependency?
WARN: libvirt: libvirt-libvirtd rdepends on audit, but it isn't a build dependency?
WARN: libvirt: libvirt-libvirtd rdepends on libcap-ng, but it isn't a build dependency?

Both audit and libcap-ng should be enabled/disabled along with selinux
since all of them are from meta-selinux.

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-12-03 10:19:56 -05:00
Mark Asselstine
a9bba2da4f openvswitch: uprev to latest stable update - v2.1.3
v2.1.3 is listed upstream as "contains only bug fixes for the 2.1.2
release". The only update to the recipe is updated checksums.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-12-02 23:38:21 -05:00
David Nyström
8d0a4ff947 Remove david.nystrom from MAINTAINERS
I've been a ghost on the list for ages, I think its long overdue to
remove me from the maintainers list.

Signed-off-by: David Nyström <david.c.nystrom@gmail.com>
Signed-off-by: David Nyström <david.nystrom@enea.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-12-01 10:49:10 -05:00
Josep Puigdemont
fec41fc98e lxc.cfg: remove unnecessary kernel configuraitons.
Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-12-01 10:49:06 -05:00
Bogdan Purcareata
c6b10c569d lxc: add unprivileged Busybox containers support
Integrate 2 upstream patches that enable creating unprivileged Busybox
containers.

Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-11-03 08:04:39 -05:00
Bogdan Purcareata
b0745517d1 lxc: fixup VPATH builds
Rework patch 5b57bf462b [lxc: fixup VPATH builds]
since the new version of LXC refactored one of the files and it no longer
applies. Provide a fix for what's left.

Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-10-02 22:57:10 -04:00
Bogdan Purcareata
246fc0bfaf lxc: Update version to 1.0.6
Also remove patch file that no longer applies.

Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-10-02 22:57:10 -04:00
Josep Puigdemont
7a7254d6d0 lxc: build API docs only when required
Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-10-01 00:58:39 -04:00
Bruce Ashfield
e7c3ee2a60 linux-yocto: update bbappends
Updating the bbappends for the kernel to match the latest oe-core/yocto
1.7 versions. We drop 3.4, since it is no longer supported and add a
3.17 bbappend.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-10-01 00:56:15 -04:00
Olivia Yin
65202ced07 libvirt: uprev to v1.2.8
Signed-off-by: Olivia Yin <r63875@freescale.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-09-29 10:25:59 -04:00
Bruce Ashfield
85f38bd2ec irqbalance: remove old versions
There's no need to carry three versions of irqbalance, so we keep the
latest, and drop the older variants.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-09-29 10:21:16 -04:00