summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* xen: separate the extra steps into their own tasksDoug Goldstein2016-02-012-13/+20
| | | | | | | | | 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>
* xen: fix up typo in XSM commentsDoug Goldstein2016-02-011-2/+2
| | | | | Signed-off-by: Doug Goldstein <cardoe@cardoe.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: drop explicit DEPEND on libgccDoug Goldstein2016-02-011-1/+1
| | | | | | | | | '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>
* xen: update git version to 4.6.xDoug Goldstein2016-02-011-3/+5
| | | | | | | | 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>
* go-cross-1.3: Fix missing dependency for cross compileJason Wessel2016-01-261-1/+1
| | | | | | | | | | | | | 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>
* xen: clone 4.1 config to 4.4Bruce Ashfield2016-01-191-0/+19
| | | | | | | | | | | 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>
* xen: add xen-devd to packages list.Chris Patterson2016-01-191-0/+1
| | | | | | | | 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>
* xen.cfg: enable CONFIG_HYPERVISOR_GUEST by defaultChris Patterson2016-01-141-0/+1
| | | | | | | Required dependency for CONFIG_XEN. Signed-off-by: Chris Patterson <cjp256@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: package remus-netbuf-setup into xen-remusChris Patterson2016-01-051-1/+5
| | | | | | | | 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>
* seabios: drop shipped defconfig and use defaultsChris Patterson2016-01-052-105/+1
| | | | | | | | 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>
* xen: add libnl to DEPENDSChris Patterson2016-01-051-0/+1
| | | | | Signed-off-by: Chris Patterson <cjp256@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-yocto: remove dangling bbappendsBruce Ashfield2015-12-212-38/+0
| | | | | | 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>
* xen: uprev to 4.6.0Chris Patterson2015-12-252-14/+3
| | | | | | | | | - 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>
* xen: drop unnecessary variable modificationsDoug Goldstein2015-12-251-1/+1
| | | | | | | | | | 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>
* xen: add support for files added with Xen 4.6Doug Goldstein2015-12-251-1/+11
| | | | | | | | | | 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>
* xen: empty out rdepends for xen-dev to lose QA warningChris Patterson2015-12-251-0/+2
| | | | | | | | | 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>
* seabios: uprev to 1.9.0Chris Patterson2015-12-251-4/+2
| | | | | | | | | 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>
* xen.cfg: update for linux 4.1Chris Patterson2015-12-251-12/+7
| | | | | | | - 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>
* Enables XSM functionality in builds that contain "xsm" in the PACKAGECONFIG.Machon Gregory2015-12-251-1/+15
| | | | | | | | * 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>
* Disables OCaml tools.Machon Gregory2015-12-251-0/+1
| | | | | | | 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>
* xen: drop PR variable from include fileDoug Goldstein2015-12-151-1/+0
| | | | | | | | 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>
* xen: resolve issue when using sstate cacheDoug Goldstein2015-12-151-7/+7
| | | | | | | | 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>
* xen: move udev dependency to package that needs itDoug Goldstein2015-12-151-1/+3
| | | | | | | | 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>
* xen: use proper variable for /usr/share pathDoug Goldstein2015-12-151-2/+2
| | | | | | | | 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>
* openvswitch: enable systemd supportMark Asselstine2015-12-151-2/+14
| | | | | | | | | | | | | | 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>
* openvswitch: rename openvswitch-controllerMark Asselstine2015-12-153-31/+31
| | | | | | | | | | | | | | | | | | | | | 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>
* openvswitch: drop version 1.10.0 and 2.1.3Mark Asselstine2015-12-152-45/+0
| | | | | | | | | | | 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>
* protobuf-c: Inherit pkgconfigJianchuan Wang2015-12-021-1/+1
| | | | | | | 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>
* openvswitch: Uprev to latest stable version 2.4.0Jianchuan Wang2015-11-033-24/+5
| | | | | | | | | 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>
* go-net: add SRC_URI checksumsIoan-Adrian Ratiu2015-10-301-0/+3
| | | | | Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* go-sqlite: add SRC_URI checksumsIoan-Adrian Ratiu2015-10-301-0/+3
| | | | | Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: upgrade it to 1.1.4Roy Li2015-10-301-2/+2
| | | | | | | | | | | | 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>
* docker: fix paths for cross compileAmy Fong2015-10-131-3/+9
| | | | | | | | 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>
* Enable go-cross 1.3 to coexist with later versionsAmy Fong2015-10-132-6/+9
| | | | | | | | | | | | 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>
* Backport go-cross: set alignment for the .rel.plt section on 32-bit ↵Amy Fong2015-10-132-0/+31
| | | | | | | | | | | | | | | | | | | | | | architectures submitted to upstream https://github.com/errordeveloper/oe-meta-go go-cross: set alignment for the .rel.plt section on 32-bit architectures This patch is cherry picked from golang's upstream, and this patch will fix the package of etcd's following build error: ERROR: debugedit failed with exit code 256 (cmd was 'bitbake_build/tmp/sysroots/x86_64-linux/usr/lib/rpm/bin/debugedit' -b 'bitbake_build/tmp/work/cortexa7t2hf-vfp-neon-wrs-linux-gnueabi' -d '/usr/src/debug' -i -l 'bitbake_build/tmp/work/cortexa7t2hf-vfp-neon-wrs-linux-gnueabi/etcd/git-r0/debugsources.list' 'bitbake_build/tmp/work/cortexa7t2hf-vfp-neon-wrs-linux-gnueabi/etcd/git-r0/package/usr/bin/etcd'): bitbake_build/tmp/sysroots/x86_64-linux/usr/lib/rpm/bin/debugedit: elf_update: invalid section alignment ERROR: Function failed: split_and_strip_files ERROR: Logfile of failure stored in: bitbake_build/tmp/work/cortexa7t2hf-vfp-neon-wrs-linux-gnueabi/etcd/git-r0/temp/do_package/log.do_package.109414 ERROR: Task 12 (layers/meta-overc/meta-pod/recipes-connectivity/etcd/etcd_git.bb, do_package) failed with exit code '1' Signed-off-by: fupan li <fupan.li@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Backport go-cross: fix the building failed for quark bspAmy Fong2015-10-131-0/+3
| | | | | | | | | | | | | | | submitted to upstream https://github.com/errordeveloper/oe-meta-go go-cross: fix the building failed for quark bsp Quark used i586 architecture, and golang dealt intel 32bit architecture as 386, so export GOARCH = "386" when the TARGET_ARCH is i586 to support quark bsp. Signed-off-by: fupan li <fupan.li@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Backport go-cross: fix the bug of cross building errorAmy Fong2015-10-131-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | submitted to upstream https://github.com/errordeveloper/oe-meta-go go-cross: fix the bug of cross building error When a package's recipe inherit "cross" bbclass, its CC and CXX are defined as the host native gcc and g++ instead of the host cross toolchain, fot this case, CC_FOR_TARGET and CXX_FOR_TARGET should be defined the same with CC and CXX, instead they are should be define as host cross toolchain's CC and CXX, otherwise, it will build failed for target arm architecture as below: | # Building packages and commands for linux/arm. | + CC='gcc ' | + bitbake_build/tmp/work/x86_64-wrs-linux-gnueabi/go-cross/1.4-r0/go/pkg/tool/linux_amd64/go_bootstrap install -ccflags '' -gcflags '' -ldflags '' -v std | runtime | errors | sync/atomic | unicode | unicode/utf8 | math | sort | encoding | unicode/utf16 | container/list | crypto/subtle | runtime/cgo | container/ring | image/color | runtime/race | # runtime/cgo | gcc: error: unrecognized command line option '-marm' Signed-off-by: fupan li <fupan.li@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* docker: needs go 1.3Amy Fong2015-10-133-0/+249
| | | | | | | | | | The current version of docker (1.6.2) requires go 1.3 See go 1.4 sqlite issue: https://github.com/docker/docker/issues/9649 Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* protobuf-c: Add protobuf's pkgconfig path into PKG_CONFIG_PATHJianchuan Wang2015-10-021-0/+4
| | | | | | | | | Add the protobuf's pkgconfig path into PKG_CONFIG_PATH so that pkg-config can find the protoc from sysroot in the configure process. And don't conflict even if installing the protobuf in the localhost. Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: logs: use base filenames when reporting src filesJim Somerville2015-10-022-0/+73
| | | | | | | | | | | | | | | | | | | | Problem: Logs are nice in that they report the source file, routine, and line number where an issue occurs. But the file is printed as the absolute filename. Users do not need to see a long spew of path directory names where the package just happened to have been built on some host somewhere. It can be confusing to anyone other than the developer. Solution: Introduce a configure option to chop off all leading directories so that just the source filename ie. basename is printed. [ Upstream status: Not needed. These absolute filenames are a consequence of poky/bitbake feeding the absolute filenames to the compiler. If you build lxc outside of poky/bitbake, just the basenames are fed to the compiler. ] Signed-off-by: Jim Somerville <Jim.Somerville@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: Properly shutdown libvirtd.serviceMark Asselstine2015-09-161-0/+5
| | | | | | | | | | | | | | | | We build libvirt without support for sd_notify (dbus) therefor we have to run libvirtd as a 'forking daemon' (per commit 055744cdbc1526d966091158c8fae2d22c905db4 we pass --daemon) We need to update the systemd service file to reflect this such that the libvirtd.service can be properly stopped. If we ever enable sd_notify support in libvirt we can revert back to using the 'notify' systemd type. Without this change libvirtd continue to run even if the stop command is issued, subsequent attempts to start the service will fail. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: upgrade 1.2.17 -> 1.2.19Roy Li2015-09-163-4/+4
| | | | | | | | The release notes is http://libvirt.org/news.html Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* docker: update SRC_URIAmy Fong2015-09-161-1/+2
| | | | | | | | | | | | | | Author: Amy Fong <amy.fong@windriver.com> Date: Wed Sep 16 00:12:10 2015 -0400 docker: update SRC_URI branch=release is no longer valid in the git tree, updating the branch to v1.6.2 Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: pass correct args when start libvirtdMark Asselstine2015-09-111-0/+5
| | | | | | | | | | | When systemd starts libvirtd we want to make sure we pass the correct arguments to run the daemon. If we fail to do so the libvirtd service will restart about once a minute and not allow for VMs to properly be instantiated. libvirtd now runs with the same args as when we use sysvinit. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: get libvirt-guests systemd service runningMark Asselstine2015-09-111-3/+6
| | | | | | | | | | | While testing libvirt with the new systemd init I found that the libvirt-guests service was failing to run since the libvirt-guests.sh script was not where it was expected. If we are building for systemd init system use the default installation location which is used upstream for the libvirt-guests.sh script. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: enable systemd supportMark Asselstine2015-09-102-3/+105
| | | | | | | | | | | | | | | | | | | | | Commit d114a62dd8a2121fa3026b83c5b250eb0ee6f21d [libvirt: kill update-rc.d when not using sysvinit] resulted in libvirt services not starting automatically at boot when using systemd. The upstream libvirt package already has the necessary systemd service files so it is just a matter of activating them via the '--with-init-script' configure option and making the recipe use these. We always set '--with-init-script' to 'systemd' regardless of the systemd vs sysvinit DISTRO_FLAG since our sysvinit scripts are external and thus not affected by this setting when building for sysvinit. Both sysvinit and systemd packages will be libvirt-libvirtd, the bbclasses ensure that only the files for one init system will exist in the package, so this 'overloading' is acceptable. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* dnsmasq: allow for multiple instances (per libvirt)Mark Asselstine2015-09-102-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | We have had a persistent issue of contention with multiple instances of dnsmasq. When libvirtd is started it will attempt and fail to create virbr0 that includes a dnsmasq binding (dnsmasq complains that the port is already in use). The root cause being that the base dnsmasq configuration uses the 'default' binding, meaning it will be greedy and bind to all available interfaces, along with any new interfaces that appear. This prevents any new instances of dnsmasq to fail. By changing the base dnsmasq configuration to use 'bind-dynamic' we will be able to create new interfaces and if we want to attach a new dnsmasq instance for the new interface we can, without contention. Overall this change should not change the default behavior (other then fixing the contention) as the 'bind-dynamic' mode will allow the base config to attach to new interfaces which are not be bound to new dnsmasq instances. Removing dnsmasq_exclude_virbr.conf which was a previous (partial) attempt that was made to resolve this issue. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-yocto: Add bbappend for 4.1 for virtualization configurationHe Zhe2015-09-081-0/+19
| | | | | Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: Uprev 1.1.2 to 1.1.3He Zhe2015-09-081-3/+2
| | | | | | | | | Uprev to 1.1.3 Remove Generate-lxc-restore-net-properly.patch since related code has been removed. Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* protobuf: upgrade 2.5.0 -> 2.6.1Jianchuan Wang2015-09-083-9/+35
| | | | | Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>