Commit Graph

6427 Commits

Author SHA1 Message Date
Richard W.M. Jones
8df13884df sparsify: Capture any exceptions and display nicer error messages.
This is just code motion, there is no functional change.
2014-03-12 14:21:30 +00:00
Richard W.M. Jones
073f90e681 sparsify: Remove unused variable definition. 2014-03-12 14:21:30 +00:00
Richard W.M. Jones
2b4baf3478 launch: libvirt: Move the is_kvm flag (derived from libvirt capabilities) to backend data struct.
This is just rearranging the data between structs.  There should be no
functional change.
2014-03-12 14:08:22 +00:00
Richard W.M. Jones
5e105e06be daemon: fstrim: Fix fstrim so it trims the correct filesystem.
We didn't call sysroot_path, so it was trimming the appliance instead
of the guest filesystem.
2014-03-12 14:08:22 +00:00
Richard W.M. Jones
46e30c1f7c daemon: fstrim: When debugging, capture and print fstrim -v output. 2014-03-12 14:08:22 +00:00
Pino Toscano
b1cf6246f3 builder: complete architecture handling
Add the possibility to choose which architecture use to build the wanted
image (--arch). Since this implies that running commands on the guest is
usually not possible when the architecture is different than the host
one, virt-builder will nevertheless try to check whether the host is
compatible with the guest, allowing to run commands only in that case.

The caching scheme is adapted to account for the architecture (with
--print-cache showing the architecture as well).
2014-03-12 15:06:55 +01:00
Pino Toscano
cc495247f2 builder: show the architecture in the short --list output
Just like the other --list output formats provide the architecture, show
them also in the short format.
2014-03-12 15:05:24 +01:00
Pino Toscano
7942cbf537 drivers: group drive creation params in an own struct
Group together all the various parameters (except the guestfs handle)
passed to the create_drive_*, to avoid passing all of them at every
function call.

This is mostly an internal refatoring with no behaviour change.
2014-03-12 15:03:56 +01:00
Richard W.M. Jones
013ed9f94b appliance: Cosmetic rearrangement of supermin.d/* targets.
No functional change.
2014-03-11 22:40:22 +00:00
Richard W.M. Jones
71dfd73042 appliance: Don't rebuild everything if just the daemon changes. 2014-03-11 22:38:23 +00:00
Pino Toscano
72d1a6335e builder: add languages.ml to POTFILES-ml
Followup of commit 3cffc28834.
2014-03-11 15:57:35 +01:00
Pino Toscano
6379c85d1f builder: output translated notes also in --notes 2014-03-11 14:25:39 +01:00
Pino Toscano
3cffc28834 builder: move some language-related code into a Languages module
Mostly code motion, no behaviour changes.
2014-03-11 14:20:22 +01:00
Pino Toscano
8ba31e69dc builder: use Filename.check_suffix
... instead of manually extracting and checking the suffix by ourselves
2014-03-10 13:42:16 +01:00
Richard W.M. Jones
596955c1b5 Version 1.25.43. 1.25.43 2014-03-08 12:57:23 +00:00
Richard W.M. Jones
29440e2fbc java: Complete test suite. 2014-03-08 12:47:44 +00:00
Richard W.M. Jones
6fa9e5dac7 java: Document how to compile and run Java programs. 2014-03-08 12:29:00 +00:00
Richard W.M. Jones
2b3131cf40 java: Document how to use optional parameters in the guestfs-java(3) man page. 2014-03-08 12:13:46 +00:00
Richard W.M. Jones
1ba2e3e14a java: Add regression test for RStruct/RStructList (RHBZ#1073906). 2014-03-07 15:53:59 +00:00
Richard W.M. Jones
ebf8a3654a bindtests: Fill in all fields in dummy lvm_pv struct.
Used for testing RStruct/RStructList return values, but only
in GObject and Java bindings.
2014-03-07 15:53:59 +00:00
Richard W.M. Jones
dff35285e4 java: Use correct Set*Field JNI accessors to set fields of the appropriate type.
Using the wrong accessors (somehow - I have no idea how) caused other
fields in the struct to contain incorrect values.
2014-03-07 15:53:59 +00:00
Richard W.M. Jones
7a0e71f733 java: Factor out common field code in RStructList.
No functional change.
2014-03-07 15:53:59 +00:00
Richard W.M. Jones
8c219636a2 java: Split long lines in generated output, and add other whitespace.
No functional change.
2014-03-07 15:53:59 +00:00
Richard W.M. Jones
d00840d727 java: Fix bogus construction of all RStructList returned values (RHBZ#1073906).
Thanks Maarten on IRC for spotting the problem.
2014-03-07 15:53:59 +00:00
Richard W.M. Jones
6aa64ee3a3 java: run: Add java/.libs to LD_LIBRARY_PATH so JVM finds the right JNI file. 2014-03-07 15:53:59 +00:00
Hilko Bengen
16954981e2 Allow gnulib tests to be disabled.
RWMJ:

 - Patch taken from Debian downstream package.

 - The default in the original patch was to disable the tests.  I have
   changed this to default to enable them instead.

 - Removed AC_SUBST as the variable was not being used.
2014-03-07 15:53:48 +00:00
Richard W.M. Jones
96f6a8f57c Version 1.25.42. 1.25.42 2014-03-06 15:59:35 +00:00
Hilko Bengen
e1fdc43539 Remove two more files that are generated by configure 2014-03-05 18:31:02 +01:00
Richard W.M. Jones
5213d7b960 tests/md: Remove bogus test skip which tried to appliance hostfiles.
This file no longer exists since supermin >= 5.

Bug identified by Pino Toscano.
2014-03-05 16:13:49 +00:00
Hilko Bengen
bdcc37b888 Debian: Add systemd-related libraries (for guestfsd) to packagelist 2014-03-04 19:17:40 +01:00
Hilko Bengen
7c21e129c9 Do not ship test-qemu-drive-libvirt.xml with tarball as it is generated by configure 2014-03-04 18:56:07 +01:00
Hilko Bengen
b30e2cf122 Fix out-of-tree build: Do not accidentally build mllib components in srcdir 2014-03-04 00:06:09 +01:00
Hilko Bengen
d7e3aea7bc Fixes for various tests in out-of-tree builds 2014-03-04 00:06:09 +01:00
Hilko Bengen
0048b5dc32 Fix out-of-tree appliance build 2014-03-04 00:06:09 +01:00
Hilko Bengen
876983365a More fixes for situations where ocamlopt is not available
- run bindtests.opt only if available
- use ocamlc -custom
- Don't try to install native code if it hasn't been built (Thanks to Olaf Hering)
2014-03-04 00:06:07 +01:00
Richard W.M. Jones
0b285e07a0 Version 1.25.41. 1.25.41 2014-03-03 22:06:58 +00:00
Richard W.M. Jones
e87e377cfb appliance: Ensure that supermin.d directory is installed properly.
Commit 0a966727ab had a missing
backslash in the list of files, so that 'make install' didn't install
all the files.
2014-03-03 21:58:42 +00:00
Richard W.M. Jones
3acb4343ea Version 1.25.40. 1.25.40 2014-03-03 17:22:06 +00:00
Richard W.M. Jones
d37dd9b055 Add new logo to EXTRA_DIST.
This fixes commit d73531a0aa.
2014-03-03 17:22:06 +00:00
Richard W.M. Jones
0a966727ab appliance: Remove conditionals in appliance/Makefile.am.
If appliance is disabled, the whole appliance/ subdirectory is
skipped.

If appliance is enabled, we can assume that the daemon is enabled too
(see previous commit) so we don't need the conditional code.  That
conditional code didn't work since the supermin 5 rewrite.
2014-03-03 17:12:13 +00:00
Richard W.M. Jones
a6d72be984 build: Don't allow --disable-daemon and --enable-appliance together.
This makes no sense, since the daemon is contained in the appliance so
you cannot build a (meaningful) appliance without having a daemon.
2014-03-03 17:12:13 +00:00
Pino Toscano
631c7d9241 builder: install a $sysconfdir/virt-builder -> xdg-virt-builder symlink
This way "virt-builder" appears directly in the sysconfdir.
2014-03-03 16:28:14 +01:00
Pino Toscano
6a5052a409 run: add the builddir of inspector to $PATH 2014-03-03 14:25:12 +01:00
Hilko Bengen
31b16a9dda Debian: Strip Lintian overrides, initramfs-related stuff from appliance 2014-03-03 13:18:17 +00:00
Bastien ROUCARIÈS
7adc60d955 remove last trace of ntfsprogs 2014-03-03 13:18:17 +00:00
Hilko Bengen
2b4e2eb97d Fix for systemd-based Debian systems 2014-03-03 13:18:17 +00:00
Richard W.M. Jones
e0124b9a91 logo: Make the 5 years text larger and more readable for website.
This fixes commit d73531a0aa.
2014-03-03 12:19:06 +00:00
Richard W.M. Jones
d73531a0aa logo: Add fish logo with 5 years star. 2014-03-03 11:55:24 +00:00
Richard W.M. Jones
b88f98849a appliance: Cosmetic change to the order of command line arguments of 'supermin'. 2014-03-03 11:55:24 +00:00
Richard W.M. Jones
49209b3f96 Version 1.25.39. 1.25.39 2014-03-01 16:26:12 +00:00