Commit Graph

423 Commits

Author SHA1 Message Date
Martin Oberhuber
3830a67150 Fix docker-registry downloads by using https://pypi.python.org
The docker-registry recipe depends on a couple of Python packages
which use a SRC_URI with http:// protocol. In jethro, this leads
to an error message "ERROR 403: SSL is required" when building.

In jethro, the issue is fixed by converting affected http:// URIs
to https. Note that morty or later do not show the build error
although they use http.

Signed-off-by: Martin Oberhuber <mober.at@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-01-29 10:16:11 -05:00
Bogdan Purcareata
042425c1d9 libvirt: Fix bug in assigning virtio-mmio disks with qemu
Patch contains a more detailed description. Basically allows adding virtio-mmio
block device to QEMU guests. Tested on ARM64.

Please apply on jethro branch.

Signed-off-by: Bogdan Purcareata <bogdan.purcareata@nxp.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-04-07 10:53:55 -04:00
Chris Patterson
2e74fb085b 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:14:04 -04:00
Bogdan Purcareata
c29fe5e3d0 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 13:01:41 -04:00
Derek Straka
f52fd7e614 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 13:01:22 -04:00
Derek Straka
9485fd1895 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 13:00:37 -04:00
Derek Straka
441d16f55b 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 13:00:37 -04:00
Derek Straka
5d0c71bf5d 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 13:00:37 -04:00
Chris Patterson
eba073dbdb 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-29 12:57:25 -04:00
Chris Patterson
77ea6548e2 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-29 12:57:14 -04:00
Derek Straka
bd3386b597 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-29 12:57:05 -04:00
Bogdan Purcareata
a4aa3e7852 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-09 00:11:35 -05:00
Chris Patterson
2e752968ea 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:53 -05:00
Machon Gregory
4fe6aa216c 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:34 -05:00
Doug Goldstein
005cdc9fcf 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 15:32:50 -05:00
Doug Goldstein
aa17f68170 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 15:32:43 -05:00
Doug Goldstein
e5406212b4 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 15:32:36 -05:00
Doug Goldstein
946eb1dec0 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 15:32:28 -05:00
Doug Goldstein
0d6b8c533c 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 15:32:15 -05:00
Doug Goldstein
63fefafe31 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 15:32:06 -05:00
Doug Goldstein
470670466f 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 15:31:57 -05:00
Doug Goldstein
b5e2533b74 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 15:31:49 -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
Chris Patterson
99b2937ed4 seabios: drop shipped defconfig and use defaults
Upstream Xen opted to simply use 'make defconfig' to get a
generic seabios config.  Follow suit and remove old config.

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
Chris Patterson
faaa14e113 xen: add libnl to DEPENDS
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
Bruce Ashfield
dbca9a89c0 linux-yocto: remove dangling bbappends
3.14 and 3.19 are gone from oe-core, so we drop our bbappends as well.

Signed-off-by: Bruce Ashfield <bruce@zedd.org>
2015-12-21 12:35:20 -05:00
Chris Patterson
1b354e1f2a xen: uprev to 4.6.0
- Update LICENSE checksum.
- Drop udev package that has been removed
  (replaced with xl devd / xendriverdomain)

Signed-off-by: Chris Patterson <cjp256@gmail.com>
Signed-off-by: Bruce Ashfield <bruce@zedd.org>
2015-12-25 22:51:29 -05:00
Doug Goldstein
3ebf38aaeb xen: drop unnecessary variable modifications
These variable modifications are necessary so that Yocto can supply
--sysroot. The other variables are unmodified so there's no reason to
modify them.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
Signed-off-by: Chris Patterson <cjp256@gmail.com>
Signed-off-by: Bruce Ashfield <bruce@zedd.org>
2015-12-25 22:51:29 -05:00
Doug Goldstein
03b7e818e6 xen: add support for files added with Xen 4.6
Xen 4.6 dropped udev support and has instead switched to their own
'devd' daemon run by the xl command. There is a SysV init script
provided with it but no systemd service file.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
Signed-off-by: Chris Patterson <cjp256@gmail.com>
Signed-off-by: Bruce Ashfield <bruce@zedd.org>
2015-12-25 22:51:29 -05:00
Chris Patterson
591eb3e2ea xen: empty out rdepends for xen-dev to lose QA warning
It appears that it defaults to rdepend on xen, causing a QA error:
  WARNING: QA Issue: xen-dev rdepends on xen,
  but it isn't a build dependency? [build-deps]

Signed-off-by: Chris Patterson <cjp256@gmail.com>
Signed-off-by: Bruce Ashfield <bruce@zedd.org>
2015-12-25 22:51:29 -05:00
Chris Patterson
92e7221ca8 seabios: uprev to 1.9.0
SeaBIOS 1.7.5 fails to compile on newer gcc, so update it! :)

Also removing PR while I'm here.

Signed-off-by: Chris Patterson <cjp256@gmail.com>
Signed-off-by: Bruce Ashfield <bruce@zedd.org>
2015-12-25 22:51:29 -05:00
Chris Patterson
ac7e0529fc xen.cfg: update for linux 4.1
- Drop old kernel options and add some newly available ones.

Signed-off-by: Chris Patterson <cjp256@gmail.com>
Signed-off-by: Bruce Ashfield <bruce@zedd.org>
2015-12-25 22:50:52 -05:00
Machon Gregory
7115b25f96 Enables XSM functionality in builds that contain "xsm" in the PACKAGECONFIG.
* Correctly identifies xenpolicy by ${PV}
* Adds a check to identify if xsm is specified in PACKAGECONFIG and if so manually sets XSM_ENABLE in Xen's .config

Signed-off-by: Machon Gregory <mbgrego@tycho.nsa.gov>
Signed-off-by: Bruce Ashfield <bruce@zedd.org>
2015-12-25 22:49:51 -05:00
Machon Gregory
ac6ab1b406 Disables OCaml tools.
There is currently no support for OCaml in OpenEmbedded.

Signed-off-by: Machon Gregory <mbgrego@tycho.nsa.gov>
Signed-off-by: Bruce Ashfield <bruce@zedd.org>
2015-12-25 22:48:59 -05:00
Doug Goldstein
48c9261487 xen: drop PR variable from include file
The PR server has taken care of revision bumps for quite some time, so
we can safely drop PR from the xen .inc file.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-12-15 09:14:10 -05:00
Doug Goldstein
1dd907acd3 xen: resolve issue when using sstate cache
When using an sstate cache xen/xen.gz was not being installed into the
image.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-12-15 09:13:18 -05:00
Doug Goldstein
60c4033238 xen: move udev dependency to package that needs it
xen-base doesn't need udev but the xen-udev package which contains all
the udev scripts does.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-12-15 09:13:18 -05:00
Doug Goldstein
78be9e97a5 xen: use proper variable for /usr/share path
Don't open code /usr/share but instead use ${datadir} which is more
correct.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-12-15 09:13:17 -05:00
Mark Asselstine
f7dcf5bce9 openvswitch: enable systemd support
Make the necessary updates to get openvswitch to be compatible with
systemd. Up to now if you built a systemd supported image openvswitch
was using the systemd sysvinit wrappers, by making these changes we
now support systemd natively.

Note that there is no equivalent systemd support for
openvswitch-testcontroller. Following the lead of upstream this
is not something that should be run by the init system.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-12-15 08:47:25 -05:00
Mark Asselstine
5181ec2259 openvswitch: rename openvswitch-controller
As of version 2.4.0 openvswitch-controller has been renamed to
openvswitch-testcontroller. This was documented in the upstream 'NEWS':

   - test-controller has been renamed ovs-testcontroller at request of users
     who find it useful for testing basic OpenFlow setups.  It is still not
     a necessary or desirable part of most Open vSwitch deployments.

Our initscripts and such have continued to reference the old name
despite the application name name changing and so
openvswitch-controller packaging has been broken for some time now.

We rename the openvswitch-controller package to reflect the upstream
name change and apply  this name change throughout. We also drop the
RDEPENDS as the upstream comments also indicate that this package is
not needed for a normal openvswitch deployment.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-12-15 08:47:25 -05:00
Mark Asselstine
9772ddbec3 openvswitch: drop version 1.10.0 and 2.1.3
There are some changes that we need to make in the .inc file to
properly support more recent releases of openvswitch. These changes
are not compatible with these older versions of openvswitch, so rather
than make accommodations in the .inc file to continue to support this
version we will simply drop them.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-12-15 08:47:25 -05:00
Jianchuan Wang
26a3e2c0d8 protobuf-c: Inherit pkgconfig
Finding the libprotobuf.* incorrectly if the host have pkgconfig

Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-12-02 16:28:12 -05:00
Jianchuan Wang
2f4211f3e9 openvswitch: Uprev to latest stable version 2.4.0
Uprev to git rev bb429e09f7783f1ba23ac0682ed9edf424f0cfbb (based on 2.4.0)
- Remove non_reproducible_builds_cleanup.patch since it
  have been in the version 2.4.0.

Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-11-03 04:51:05 -05:00
Ioan-Adrian Ratiu
33ff94aadc go-net: add SRC_URI checksums
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-10-30 08:40:12 -04:00
Ioan-Adrian Ratiu
4ebff3b02e go-sqlite: add SRC_URI checksums
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-10-30 08:40:12 -04:00
Roy Li
adf21981ca lxc: upgrade it to 1.1.4
V1.1.4 includes a fix for CVE-2015-1335:

lxc-start in lxc before 1.0.8 and 1.1.x before 1.1.4 allows local container
administrators to escape AppArmor confinement via a symlink attack on a (1)
mount target or (2) bind mount source.
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-1335

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-10-30 08:38:06 -04:00
Amy Fong
c861012e9c docker: fix paths for cross compile
Some of the cgo variables were pointing to host paths and not target
Fix install rules - binaries can be installed to a subdirectory.

Signed-off-by: Amy Fong <amy.fong@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-10-13 11:29:57 -04:00
Amy Fong
d0ef47396d Enable go-cross 1.3 to coexist with later versions
Since we need go 1.3 to co-exist with later versions (ie 1.4),
package go-cross_1.3 as go-cross-1.3_1.3.

go 1.3 will be installed to a different path than go-cross, this requires
go packages needing go 1.3 to set its PATH to:
        export PATH=${STAGING_BINDIR_NATIVE}/${HOST_SYS}/go-1.3:$PATH

Signed-off-by: Amy Fong <amy.fong@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-10-13 11:29:57 -04:00