| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Also document 'local*' files.
|
|
|
|
|
| |
Specifically tests which involve btrfs, because btrfs is
currently broken upstream (RHBZ#863978).
|
|
|
|
|
|
| |
This just makes it simpler to add extra fields to each struct.
This is code motion.
|
|
|
|
|
|
| |
This is currently done implicitly because of the linker script.
However in order to do symbol versioning, we will have to do
this explicitly at each definition instead.
|
|
|
|
| |
This is just code motion.
|
|
|
|
| |
No change.
|
|
|
|
|
|
| |
Remove the cache files generated by man-db.
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
|
|
|
|
|
|
| |
Remove the cache files generated by fontconfig.
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
|
|
|
|
|
|
|
| |
(RHBZ#859885).
Note that because of RHBZ#859949, this will return two identical
entries for RPMs which differ only by arch.
|
|
|
|
|
| |
We've not distributed binaries for quite a long time, and possibly
this is not advisable.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
See the comment in the change.
This "fixes" commit f7a67914c03db6d4c75671793964954640af7892.
|
| |
|
|
|
|
|
|
|
|
|
| |
Use <cpu mode="host-model"> (not model=... which was a typo).
Also set fallback=allow so that libvirt knows it can use another
CPU model if it wants.
This fixes commit 890a4fbc8740b9b2019885a866aa06bc82566a41.
|
| |
|
|
|
|
|
|
| |
Commit 2e90f4312928f332f8997b52be3fe54f20920242 added a debug message
which isn't filtered out by the set of grep -v's in this test.
Therefore this test would fail when run with LIBGUESTFS_DEBUG=1.
|
|
|
|
|
|
|
|
|
| |
Commit a0722c7ad846960be54978a31ebe73b76e119203 introduced a
dependency on the Unix module. This was not listed in the list of
'-package's, but as long as you had ocaml-gettext installed it would
still work because that pulled in Unix implicitly.
Thanks Olaf Hering.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
(RHBZ#713678)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a wrapper or mini-library for running external command,
loosely based on libvirt's virCommand interface.
Amongst the advantages are:
- Can redirect errors into the error log (RHBZ#713678).
- Can redirect output into a callback function.
- Handles shell quoting properly.
- Safely resets signal handlers, closes file descriptors, etc.
- Single place where we can implement other improvements in future.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Used to create temporary directory or file with an optional suffix.
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
RWMJ:
- Split this out into a new file (daemon/mktemp.c).
- I don't see a reason to deprecate the mkdtemp function which
works fine. Instead remove complex dir-making code from the
new function.
- Test and fix the patch (missing close(fd)).
|
| |
|
|
|
|
|
|
|
|
| |
The cleanup of package managers cache is already implemented
by sprep_operation_package_manager_cache.ml, so remove this
TODO item.
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In languages like Python where we release a global lock around
long-running libguestfs functions, it is also useful to *not* release
this lock for small, non-blocking functions.
Therefore mark all functions with a 'blocking' boolean flag. It
defaults to true, and is true by definition for all daemon functions.
For non-daemon functions, I have classified them manually.
Only when the blocking flag is set do we generate the code to release
and reacquire the lock around libguestfs calls.
|
|
|
|
| |
It's wrong to use it, and in any case it doesn't do anything on Linux.
|
| |
|
|
|
|
| |
This updates commit 9466060201600db47016133d80af22eb38091a49.
|
|
|
|
| |
This fixes commit 9466060201600db47016133d80af22eb38091a49.
|
| |
|
|
|
|
| |
This fixes commit 91b2238fc8e462c02f697f0c053043a55f43c13d.
|
|
|
|
| |
This updates commit d83d17e9dbfb24496a0841fc2aed436181ca0341.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
guestfs_parse_environment_list.
Add a new function for creating a handle:
guestfs_h *guestfs_create_flags (unsigned flags [, ...]);
This variant lets you supply flags and extra arguments, although extra
arguments are not used at the moment.
Of particular interest is the ability to separate the creation of the
handle from the parsing of environment variables like
LIBGUESTFS_DEBUG. guestfs_create does both together, which prevents
us from propagating errors from parsing environment variables back to
the caller (guestfs_create has always printed any errors on stderr and
then just ignored them).
If you are interested in these errors, you can now write:
g = guestfs_create_flags (GUESTFS_CREATE_NO_ENVIRONMENT);
if (!g)
exit (EXIT_FAILURE);
r = guestfs_parse_environment (g);
if (!r)
exit (EXIT_FAILURE);
Also you can *omit* the call to guestfs_parse_environment, which
creates a handle unaffected by the environment (which was not possible
before).
This commit also includes new (backwards compatible) changes to the
OCaml, Perl, Python, Ruby and Java constructors that let you use the
flags.
|
| |
|
| |
|
|
|
|
| |
Also run 'make update-po'.
|