| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
* Fixes a dependency on a nonexistent initscripts-functions package.
Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
|
|
|
| |
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
From eadb837b8467af26a7370427e4cb98ccad63c670 Mon Sep 17 00:00:00 2001
From: Amy Fong <amy.fong@windriver.com>
Date: Wed, 17 Jun 2015 16:40:25 -0400
Subject: [PATCH] seabios fails to build when ccache enabled
HOSTCC needs to be quoted since it may have whitespace values.
(as in the case when ccache is enabled)
Signed-off-by: Amy Fong <amy.fong@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
|
|
|
|
|
| |
OE-core rev 0a3e8eb9f592c3f1edd2c7521855f7406541651a renamed 'image-vmdk' to 'image-vm'. IMAGE_FSTYPES didn't change, so keep those as 'vmdk'.
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
|
|
|
|
|
|
| |
Remove libvirt-Fix-cannot-symlink-cpu_map.xml-error.patch, since
rules for install *.xml are changed, the race issue does not exist.
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
|
|
|
|
|
|
|
|
| |
Fix the following warning by passing correct option to configure script:
WARNING: QA Issue: libvirt: configure was passed unrecognised options:
--with-capnp [unknown-configure-option]
Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
libvirt wants to use pcap-config to locate the exisence and location
of libpcap. oe-core stubs this script and replaces it with pkg-config,
which can lead to the host pcap-config triggering and either breaking
the build or introducing host contamination.
To fix this issue, we patch configure to use 'pkg-config libcap' to
locate the correct libraries.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
|
|
|
|
|
|
|
|
|
| |
In some circumstances where the build tree differs from the source,
libvirt's compile will try to create the symlink for cpu_map.xml before
creating the directory $(abs_builddir)/cpu.
Add a test to create this directory if it hasn't already been created.
Signed-off-by: Amy Fong <amy.fong@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
- use EXTRA_OEMAKE for passing along make flags
- drop PARALLEL_MAKE="" override which is not required.
Signed-off-by: Chris Patterson <cjp256@gmail.com>
|
|
|
|
| |
Signed-off-by: Chris Patterson <cjp256@gmail.com>
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
| |
* Install QEMU from the distro as opposed to a specific xen-qemu setup
Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
| |
* Conditionally add packages to the image depending on whether the
machine supports the respective feature
Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
|
|
|
|
| |
Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Signed-off-by: Olivia Yin <r63875@freescale.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
mutipath-tools package has build time dependency on udev.
Without it, following build error will occur:
| discovery.c:14:21: fatal error: libudev.h: No such file or directory
| compilation terminated.
| make[1]: *** [discovery.o] Error 1
| make[1]: *** Waiting for unfinished jobs....
| config.c:8:21: fatal error: libudev.h: No such file or directory
| compilation terminated.
| make[1]: *** [config.o] Error 1
| structs.c:8:21: fatal error: libudev.h: No such file or directory
| compilation terminated.
| make[1]: *** [structs.o] Error 1
Add udev into DEPENDS to avoid build failures.
Signed-off-by: Zibo Zhao <zibo.zhao@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is required because the build failed at do_install task.
| DEBUG: Executing shell function do_install
| NOTE: make -j 64 LIB=/usr/lib exec_prefix=/usr libdir=/usr/lib DESTDIR=/media/sdd1/fb/ligh/scm/cgl-upstream/build-qemuppc/tmp/work/ppc7400-poky-linux/multipath-tools/0.4.9+gitrAUTOINC+d3683ab18b-r0/image install
| make: *** No rule to make target `install'. Stop.
| ERROR: oe_runmake failed
| WARNING: /media/sdd1/fb/ligh/scm/cgl-upstream/build-qemuppc/tmp/work/ppc7400-poky-linux/multipath-tools/0.4.9+gitrAUTOINC+d3683ab18b-r0/temp/run.do_install.34183:1 exit 1 from
| exit 1
ERROR: Task 2 (poky/meta-virtualization/recipes-extended/multipath-tools/multipath-tools_git.bb, do_install) failed with exit code '1'
Signed-off-by: Liviu Gheorghisan <liviu.gheorghisan@enea.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The libvirt build would fail whenever x11 was in DISTRO_FEATURES and the host
didn't have polkit installed (either no polkit/policykit at all, or just old
policykit).
Ensure that libvirt uses polkit rather than policykit, whether the host has
pkcheck installed or not, and ensure the path is correct per our config.
Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Shrikant Bobade <Shrikant_Bobade@mentor.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
|
|
|
|
|
|
|
|
| |
Libvirt contains the functionality to run hooks when before and after
it performs specific operations. Hooks are useful in order to perform
actions on the host that occur outside of the VM. In order to enable
the hooks scripts must exist in a specific directory. This fix adds
the required directory to the file system.
Signed-off-by: Keith Holman <Keith.Holman@windriver.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix this warning:
WARNING: Function remove_packaging_data_files doesn't exist
The remove_packaging_data_files function is now handled automatically when
"package-management" is not in IMAGE_FEATURES. We should remove the lines,
as they are not needed and might interfere with correct operation of
postinstall scripts.
Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
|
|
|
|
|
|
|
|
| |
libvirt will probe and dynamically add fuse support if detected. This
leads to build inconsistencies and errors due to race conditions.
Explicitly adding fuse as a packageconfig option to ensure that it
is consistently added (or removed).
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
|
|
|
|
|
| |
The default PTEST_DIR only works for 32bit.
Signed-off-by: Mihaela Sendrea <mihaela.sendrea@enea.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
|
|
|
|
|
|
|
|
| |
Updating the version of libvirt to 1.2.4. Only small changes are required
to the ptest and python chnages for this new version, but otherwise, all
packaging and build optinos are the same.
Sanity tests show no regressions from 1.2.2.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Poky commit 69b6eaca3d9b635e8a61a0fdbd814b558e91901d [autotools:
Enable separate builddir by default] enforced separate build
directories, which is supported by automake. Make some minor updates
to the recipes and upstream source to allow builds to work with
separated src and build directories.
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
|
|
| |
This reverts commit df0678b3c9c44aac9703dcf78ceb4fdbe8397f3e.
|
|
|
|
|
|
|
|
|
| |
We add a PACKAGECONFIG[] to deterministically build with
or without libssh2 and add ssh2 to PACKAGECONFIG, so we will
always use it.
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
|
|
|
|
|
|
|
| |
configure will check for numa support by default, resulting
in indeterminate configuration. We add a PACKAGECONFIG[]
to force behavior.
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
|
|
|
| |
Signed-off-by: Mihaela Sendrea <mihaela.sendrea@enea.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
|
|
|
|
|
| |
Install libvirt test suite and run it as ptest.
Signed-off-by: Mihaela Sendrea <mihaela.sendrea@enea.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
By default dnsmaqs binds to all interfaces, and this causes 2
small issues:
* At boot time, dnsmaqs daemon will start first and binds to virbr
interface, then libvirtd spawns a second dnsmaqs binds to virbr
(in dynamic mode) which binds to virbr:53 proto UDP (but not TCP)
* If some how, libvirtd daemon starts first then dnsmaqs daemon
will fail to start as libvirtd daemon already binds to virbr:53.
This patch tells dnsmasq daemon to leave virbr alone and let
libvirt uses it.
Signed-off-by: Vu Tran <vu.tran@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently when libvirt daemon is stared, the libvirt startup
script tries to kill the already running dnsmasq daemons
(e.g. from /etc/init.d/dnsmaqs). Also if
"/etc/init.d/libvirtd start" is invoked more than
one time then this will accidentally kills all the dnsmasq
daemon.
This patch makes sure libvirt startup script to kill only the
dnsmasq that spawned by itself. Also try to avoid killing
dnsmasq if "/etc/init.d/libvirtd start" runs second time.
Signed-off-by: Barton Wensley <Barton.Wensley@windriver.com>
Signed-off-by: Vu Tran <vu.tran@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
|
|
|
|
|
|
|
|
| |
To avoid having the default build of libvirt depend on virtual/x11
through polkit and consolekit, check for x11 in DISTRO_FEATURES before
enabling the polkit support in the default PKG_CONFIG.
Signed-off-by: Jonas Eriksson <jonas.eriksson@enea.com>
Acked-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
|
|
|
|
|
|
|
|
|
| |
The Xen drivers in libvirt is needed when the build file system image
and kernel are running as dom0. The parts of the kernel needed to run as
dom0 are controlled by DISTRO_FEATURES, and thus there is no need for
the Xen drivers if DISTRO_FEATURES does not contain 'xen'.
Signed-off-by: Jonas Eriksson <jonas.eriksson@enea.com>
Acked-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
|
|
|
|
|
|
| |
It seems that a $ was forgotten in the DISTRO_FEATURE check for selinux.
Signed-off-by: Jonas Eriksson <jonas.eriksson@enea.com>
Acked-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|