summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Version 1.16.30.1.16.30Richard W.M. Jones2012-08-3020-16132/+16387
|
* lib: Remove AUGEAS_CFLAGS, AUGEAS_LIBS.Richard W.M. Jones2012-08-301-2/+2
| | | | | | | The library doesn't actually use libaugeas, except indirectly via the libguestfs API. The libguestfs API implements this in the daemon, so there's no need for the library to link to augeas at all. (cherry picked from commit 228d49bb842cda517b414bbfab460e8be429cc5f)
* perl: bindtests: Fix 64 bit integers on input on 32 bit Perl interpreter.Richard W.M. Jones2012-08-303-5/+30
| | | | (cherry picked from commit 15cd9dde5e0e4a7d510de71ef8991750971cf6d1)
* Fix disabling the Perl bindings.Wulf C. Krueger2012-08-301-1/+1
| | | | | | | | --disable-perl isn't currently respected because $PERL correctly points to the perl executable and $missing_perl_modules doesn't prevent the perl parts to be installed either. Thus, a check for $enable_perl is needed. (cherry picked from commit cab48ce73cb19b1aa8784e6c6a3cb8f47b0cbc0e)
* po-docs: Copy all *.1 and *.3 files to the install dir.Richard W.M. Jones2012-08-302-8/+4
| | | | (cherry picked from commit 512f21c965c5d4bf1faf922d6a241c397f703e67)
* po-docs: Fix podwrapper so it works on translated POD files.Richard W.M. Jones2012-08-303-21/+68
| | | | | | | | | | | These don't contain literal strings like "AUTHORS" (they have the translated versions instead) and so checking for these English strings is rather useless. Also we don't usually have the '--license' parameter conveniently around so don't enforce this section. (cherry picked from commit ddc67d94f37ca4e942cb385d4e5ec476766fef12)
* tools: Fix podwrapper errors in tools directory.Richard W.M. Jones2012-08-306-94/+2
| | | | | | | | This also makes the test for license "code" less strict, so it should only match POD, not Perl comments. This fixes commit 2f97bf873b64384835f257f8916bf1ebb2af62b4. (cherry picked from commit 23b7fe09e1589c3c9ca5f52a9588ad1c73649b14)
* Mac OS X: Fixed combination of running autogen.sh on Linux and building on ↵Masami HIRATA2012-08-301-0/+2
| | | | | | | | Mac OS X Signed-off-by: Masami HIRATA <msmhrt@gmail.com> (cherry picked from commit 0a275bd090850963f331a115a4fadfbf1dfb1caf)
* podwrapper: Ignore $parser->html_charset if it fails (thanks Wulf C. Krueger).Richard W.M. Jones2012-08-301-1/+2
| | | | | | This method was added in Pod::Simple 3.16 so earlier versions of Perl won't have it. It's not the end of the world if we don't set it. (cherry picked from commit d555a68ca6475bbb6f7f60ae1bdcdffa99df351f)
* daemon: Call udev_settle after mkswap.Richard W.M. Jones2012-08-301-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | This adds a call to udev_settle after creating the swap device. This is an attempt to workaround the following problem seen in Koji and Rawhide: libguestfs: trace: mkswap_L "swapit" "/dev/sda1" libguestfs: send_to_daemon: 72 bytes: 00 00 00 44 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 83 | 00 00 00 00 | ... guestfsd: main_loop: proc 210 (part_disk) took 2.28 seconds guestfsd: main_loop: new request, len 0x44 mkswap -f -L swapit /dev/sda1 libguestfs: recv_from_daemon: 40 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 83 | 00 00 00 01 | 00 12 37 cf | ... libguestfs: trace: mkswap_L = 0 libguestfs: trace: swapon_label "swapit" libguestfs: send_to_daemon: 56 bytes: 00 00 00 34 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 ae | 00 00 00 00 | ... guestfsd: main_loop: proc 131 (mkswap_L) took 0.77 seconds guestfsd: main_loop: new request, len 0x34 swapon -L swapit swapon: cannot find the device for swapit guestfsd: error: swapit: swapon: cannot find the device for swapit libguestfs: recv_from_daemon: 100 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 ae | 00 00 00 01 | 00 12 37 d0 | ... libguestfs: trace: swapon_label = -1 (error) swapon_label: swapit: swapon: cannot find the device for swapit test_swapon_label_0 FAILED
* docs: Use man page name as default title in HTML output.Richard W.M. Jones2012-08-301-0/+5
| | | | (cherry picked from commit c638e1f03d2700560fe32c0889224ac29bd52334)
* podwrapper: Add --license parameter, which is required.Richard W.M. Jones2012-08-3023-0/+152
| | | | | | | | | | | | This adds standard LICENSE and BUGS sections to all of the man pages that are processed by podwrapper. Modify all the calls to $(PODWRAPPER) to add the right --license parameter according to the content. Note that this relaxes the license on some code example pages, making them effectively BSD-style licensed. (cherry picked from commit 2f97bf873b64384835f257f8916bf1ebb2af62b4)
* man pages: Ensure consistent copyright/author sections, remove licenseRichard W.M. Jones2012-08-3029-484/+15
| | | | | | | | | | | | section. Ensure each man page contains consistent COPYRIGHT and AUTHOR sections. Remove the LICENSE section. We will add that back in podwrapper in a later commit. (cherry picked from commit f1d98bbc79496947210ee0305f80440ed8557ec1)
* podwrapper: Ensure the input file is printed in some error messages.Richard W.M. Jones2012-08-301-3/+3
| | | | (cherry picked from commit e89e180d2b1ee7c3a452a327a336dd3facd2a51f)
* docs: Document null disks.Richard W.M. Jones2012-08-302-0/+64
| | | | | | It's always been possible to use /dev/null as a disk image. Document this formally in the API. (cherry picked from commit e1e8b3a1cfdeee34fbd51f79b8724c5a58f25c10)
* recipes: Update dumping filesystem content to mention that we now support ↵Richard W.M. Jones2012-08-301-1/+1
| | | | | | MD/RAID. (cherry picked from commit 52e38c7bdc293cb2f2531eab3dde6d569a05b5e9)
* recipes: Refer to virt-format, virt-make-fs for creating disk images.Richard W.M. Jones2012-08-301-1/+7
| | | | (cherry picked from commit 1e4c6e36a6d122b4615dc509ef745dde7e37321d)
* recipes: Cloning Windows: plans for virt-sysprep.Richard W.M. Jones2012-08-301-10/+10
| | | | (cherry picked from commit 5f234548ed07b8e41a31462290aae3ea842630c2)
* recipes: For auditing for setuid files, point to virt-ls examples.Richard W.M. Jones2012-08-301-4/+1
| | | | (cherry picked from commit 9fd4d16819ad200814be717732c77664e18132f2)
* recipes: For sparsifying guests, point to virt-sparsify.Richard W.M. Jones2012-08-301-4/+1
| | | | (cherry picked from commit 0d2e70b1c71dba01f71a4375eb10b83059a41bb2)
* recipes: For listing files, point to virt-ls.Richard W.M. Jones2012-08-301-3/+1
| | | | (cherry picked from commit d944a491ac3aa9b9ed1bcdc0ee378519a367276a)
* recipes: Add a section on deleting a file and other common file operations.Richard W.M. Jones2012-08-301-0/+18
| | | | (cherry picked from commit 10d48bef3055e1b7177b4f8df52133c50484a87a)
* run: Disable 'memory optimizations' in glib programs, for valgrind (thanks ↵Richard W.M. Jones2012-08-301-0/+3
| | | | | | Dan Berrange). (cherry picked from commit 5e6727746367ba3f935dccb80109abf8e34fe74d)
* subdir-rules.mk: Remove rules that recursively build src/ and daemon/.Richard W.M. Jones2012-08-301-8/+0
| | | | | These are unnecessary, and slow down the whole build. (cherry picked from commit 856e78a2ce025563de5d9e8c416edf054b0db563)
* test-launch-race: Use /dev/null instead of hand-made zero-length file.Richard W.M. Jones2012-08-301-5/+2
| | | | | | There seems to be no reason why creating a zero-length file is necessary for this test. (cherry picked from commit 7f9f2818651860a15a7142d3761e3168e062c357)
* launch: Add utility function guestfs___lazy_make_tmpdir.Richard W.M. Jones2012-08-302-8/+21
| | | | | | | | This lets us create g->tmpdir lazily earlier if needed. This commit is just code motion. (cherry picked from commit 4b8ac437295d5420d3186a913bc3740b69a8d342)
* lib: Add 'g->unique' to handle, for making unique IDs.Richard W.M. Jones2012-08-301-0/+6
| | | | (cherry picked from commit 22607a97cdf115caabf05c3dc87c5f154a2e914c)
* inspect: Clarify comment about uniqueness of cache.Richard W.M. Jones2012-08-301-1/+3
| | | | (cherry picked from commit 8fd6f1bebef11d1c4eb77ac2b7d95fd5a7e82be9)
* close: Check if g->tmpdir is non-NULL before removing tmpdir.Richard W.M. Jones2012-08-301-1/+2
| | | | | This happens, by chance, to work. (cherry picked from commit ba61236d0d6756f45d8707e96cda00c016cadebe)
* java: Fix bindtests when passing 64 bit integer literals.Richard W.M. Jones2012-08-301-2/+2
| | | | (cherry picked from commit 704e46af9c054fe3571884989c992dfd7d8284e5)
* ocaml: Fix bindtests when passing negative optional arguments.Richard W.M. Jones2012-08-301-2/+2
| | | | (cherry picked from commit 9526f632d80f8d66ecf8a7da5444e1446129fceb)
* python: Fix comment referring to Perl(!)Richard W.M. Jones2012-08-301-1/+1
| | | | (cherry picked from commit 7dd2389359d190e81696f1b2e91e719bdc1822f2)
* generator: Allow permission of output files to be specified.Richard W.M. Jones2012-08-302-3/+3
| | | | (cherry picked from commit 449bd4b50ff8ecd9128439a39a74ca731a17aa1f)
* Even on Debian, the package containing the diff binary it has been diffutils ↵Hilko Bengen2012-08-301-3/+1
| | | | | | | for two years. There had been a virtual package "diff" that depended on diffutils, but that's gone in wheezy/sid, too. (cherry picked from commit 3234a1f903bb77c66252b38425a4c913f8e7bb8c)
* daemon: New utility functions 'join_strings', 'concat_strings'.Richard W.M. Jones2012-08-302-0/+48
| | | | | | Useful functions for concatenating strings together. (cherry picked from commit 637b06ab1384f0c904715ba76fc759dac1b95500)
* bindtests: Space before parens in call.Richard W.M. Jones2012-08-301-1/+1
| | | | (cherry picked from commit 690bdaa3927e56d33e241752eef37f887274d73b)
* ocaml: Use Store_field macro instead of caml_modify.Richard W.M. Jones2012-08-301-1/+1
| | | | | | | | Use the safer, higher level Store_field macro when constructing arrays of structs to return. I don't know if it is strictly necessary in this case, but it's safer. (cherry picked from commit 769a6f24c60e7a4d55560025554796ba4be19d03)
* virt-make-fs: Remove note about vfat and ownership of tarball files.Richard W.M. Jones2012-08-301-5/+0
| | | | | | This problem has been fixed in commit 50780a84f65ec5d76605691cea889392c2730f54. (cherry picked from commit 2295b09f259ece053f1370f7527d01705976732a)
* generator: 'delete' is a reserved word (in C++).Richard W.M. Jones2012-08-301-4/+4
| | | | (cherry picked from commit 7d6f76709e71b38e0bc4f018c4d873a32ffe19da)
* tests/extra: Add workaround for memory leak in libvirt.Richard W.M. Jones2012-08-301-1/+13
| | | | | See: https://bugzilla.redhat.com/show_bug.cgi?id=847429 (cherry picked from commit 04b475b41476b75ef3851fdd093a9868df0c7357)
* Version 1.16.29.1.16.29Richard W.M. Jones2012-08-051-1/+1
|
* fuse: guestmount doesn't let you pass '-- [FUSE options]'.Richard W.M. Jones2012-08-051-1/+1
| | | | | | | I don't think it ever did, so the --help text was always wrong, and definitely didn't match the real behaviour of the program. (cherry picked from commit 87602b09ead198bd84c0dac83fde2d1c3dfe55bd)
* ruby: Mark all VALUEs as volatile.Richard W.M. Jones2012-08-051-15/+26
| | | | (cherry picked from commit 083125f709c8ca6ec56abf99df918e70376a99bd)
* fish: Fix 'copy-out /' (RHBZ#845522).Richard W.M. Jones2012-08-051-0/+16
| | | | (cherry picked from commit 2a87261dfc830cd6bcb44aa1628d955cb6423bd7)
* Document problems copying long filenames from NTFS to Linux filesystems ↵Richard W.M. Jones2012-08-051-0/+22
| | | | | | (RHBZ#845488). (cherry picked from commit 7fa67427c6b2725bdcce52c08511f8813b7bd42e)
* build: On x86 search for qemu-system-i386 not qemu-system-i686.Richard W.M. Jones2012-08-051-1/+2
| | | | | | host_cpu can be set to i686. The qemu binary is called qemu-system-i386. Apply some sed to fix this. (cherry picked from commit f21b866f3141bb85ebf93ccf0c906ab0b73960f9)
* build: Allow building with new glibc headers and -O0.Eric Blake2012-08-051-2/+5
| | | | | | | This is a patch taken from libvirt. See: http://libvirt.org/git/?p=libvirt.git;a=commitdiff;h=2af63b1c349 (cherry picked from commit 06780a92b3e4ea14c09a169cc1d22c1371621fc3)
* appliance: Exclude kernel* packages explicitly.Richard W.M. Jones2012-08-051-4/+9
| | | | | | febootstrap >= 3.19 will no longer exclude the kernel package by default. (cherry picked from commit 77326fa4ad757bb255a3c3a07bef8c3ce050a5ac)
* ruby: Allow optional arguments hash to be really optional.Richard W.M. Jones2012-08-051-38/+59
| | | | | | | | | | | | | | | Allow optargs functions to be called as either: g.mkfs_opts(fs, device) or: g.mkfs_opts(fs, device, { optargs hash }) This also preserves backwards compatibility with once_has_no_optargs functions such as mkfs. (cherry picked from commit 0f837ec068783a6318ba6f7490b567566bce2aa4)
* ruby: In event wrapper, ignore callback functions which have type T_ZOMBIE.Richard W.M. Jones2012-08-051-2/+7
| | | | | Note that in old versions of Ruby, T_ZOMBIE was not defined. (cherry picked from commit 5f30912d74a553399d2bda055560d4340a15088d)