summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Version 1.18.6.1.18.6Richard 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)
* libguestfs-make-fixed-appliance: Don't reference obsolete development version.Richard W.M. Jones2012-08-051-1/+1
| | | | (cherry picked from commit 7b2f6bd665bac3890b64eccc77e010e6bf84bda7)
* sysprep: Describe more directly how to use qemu-img for snapshotting.Richard W.M. Jones2012-08-051-14/+24
| | | | (cherry picked from commit b61a8a50bc8d481df32f929046abf09383c8380e)
* build: Use $(top_builddir)/run in Makefile.am's.Richard W.M. Jones2012-08-054-9/+9
| | | | | | | Not necessary, but this makes all invocations of 'run' consistent. There is no functional change. (cherry picked from commit 590774ed9e005dc85ca6851939e76d02da6624c8)
* 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)
* sparsify: Change code that generates qemu-img -o argument.Richard W.M. Jones2012-08-051-7/+9
| | | | | This is just code motion. (cherry picked from commit 0b3b5f984c2011632c6d56e5f0ae1194d2c5074b)
* fish: Use minimal permissions when initially creating history fileMatthew Booth2012-08-051-1/+1
| | | | (cherry picked from commit 1fb95e65661f19c050b928694f750f2406eff2ac)
* sysprep: Tidy up the Makefile.Richard W.M. Jones2012-08-051-54/+12
| | | | | | This is just code motion. (cherry picked from commit b7ff02354d6db6b322629ad1d065d56d5ffca3c3)
* Mac OS X: Use u_int64_t/uint64_t instead of unsigned hyper in .x fileMasami HIRATA2012-08-054-12/+53
| | | | | | | | Signed-off-by: Masami HIRATA <msmhrt@gmail.com> RWMJ: Fixed whitespace in generator_xdr.ml (cherry picked from commit d74e7fad28ae7a2f894a12d30807f4b36078bf13)
* Mac OS X: Use libtool --mode=execute instead of LD_LIBRARY_PATHMasami HIRATA2012-08-051-8/+8
| | | | | | | because Mac OS X doesn't support LD_LIBRARY_PATH Signed-off-by: Masami HIRATA <msmhrt@gmail.com> (cherry picked from commit 61c9ea496e0579bb7d1bcf496595d66c3f08cfec)
* Mac OS X: Use gnulib stat-time module explicitly.Masami HIRATA2012-08-051-0/+1
| | | | | Signed-off-by: Masami HIRATA <msmhrt@gmail.com> (cherry picked from commit 7d3f190d90140aa15b1326bdf7756c39559ae3c2)
* Mac OS X: don't check glibc-style extended printf formatters unless ↵Masami HIRATA2012-08-051-16/+16
| | | | | | | | | | | --enable-daemon Signed-off-by: Masami HIRATA <msmhrt@gmail.com> RWMJ: - Test was in the wrong place (before --enable-daemon had been detected) so I moved it later. (cherry picked from commit 9519c60ce565437c91ce23ceb380f3bfe49ec224)
* Mac OS X: #define UNIX_PATH_MAX 104Masami HIRATA2012-08-051-0/+4
| | | | | | | See http://developer.apple.com/library/mac/documentation/Darwin/Reference/Manpages/man4/unix.4.html Signed-off-by: Masami HIRATA <msmhrt@gmail.com> (cherry picked from commit 7dab20876530a7ac954b4fe809755ac12a8d8c4d)
* Mac OS X: Added check of #include <endian.h>Masami HIRATA2012-08-057-0/+21
| | | | | | | Mac OS X doesn't have endian.h Signed-off-by: Masami HIRATA <msmhrt@gmail.com> (cherry picked from commit 6e3f8d2511a63bdcfa7c7d0e5414d5643c4ff599)
* Mac OS X: Use gnulib fstatat module explicitly.Masami HIRATA2012-08-052-0/+2
| | | | | Signed-off-by: Masami HIRATA <msmhrt@gmail.com> (cherry picked from commit a47fa7a65e89d80ba1362b39cb9686e5022b7dce)
* Mac OS X: Use gnulib memmem module explicitly.Masami HIRATA2012-08-052-0/+2
| | | | | | | m4/.gitignore: Update. Signed-off-by: Masami HIRATA <msmhrt@gmail.com> (cherry picked from commit d6ef91d7c4b6cfbd9e4d49317dc7ed414900c4d2)
* configure: Use $(PERL) instead of perlMasami HIRATA2012-08-051-10/+10
| | | | | Signed-off-by: Masami HIRATA <msmhrt@gmail.com> (cherry picked from commit ef1a8446a659fe3647d755334703a1020a0f88dc)
* tests: Skip regression test for 790721 if attach-method is not 'appliance'.Richard W.M. Jones2012-08-051-0/+25
| | | | (cherry picked from commit 2b059535b19125ca082f4354a7ff73f4f5a33822)
* lib: Initialize libvirt and libxml2 once when the library loads.Richard W.M. Jones2012-08-053-15/+36
| | | | (cherry picked from commit 941ec968b8a1d6f891d30631a8ddb1e23e427b99)
* python: Set file encoding to utf-8.Richard W.M. Jones2012-08-051-0/+5
| | | | (cherry picked from commit a6366f5dae0e8332cfdad0894aa6e5c7fc3faa2c)
* tests/protocol: Skip these tests if default attach-method is not 'appliance'.Richard W.M. Jones2012-08-053-0/+15
| | | | (cherry picked from commit bc917a0efc03b8c28966c9ab474f525752ebe440)
* java: Set '-encoding utf8' for javac and javadoc commands.Richard W.M. Jones2012-08-052-2/+3
| | | | (cherry picked from commit 7a691e6665ed5079e6baa000c9c475f32ca78475)
* java: JAVAC_FLAGS -> EXTRA_JAVAC_FLAGS.Richard W.M. Jones2012-08-053-5/+9
| | | | | This is just a rename. (cherry picked from commit 7f519bdc06de978c2460112a88e8bfac5f292dee)
* fuse:remove the unused macro when fuse is not availableWanlong Gao2012-08-051-1/+1
| | | | | | | Just make gcc happy when fuse is not available. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> (cherry picked from commit a58368b3db4f02b9fd907cec82621be11884d256)
* ocaml: Skip mount-local test if /dev/fuse is not writable.Richard W.M. Jones2012-08-051-0/+8
| | | | (cherry picked from commit 184b9d7c11f771a74c981f739c28fa0713f3e3e7)
* lib: Use safe_asprintf when constructing attach_method.Richard W.M. Jones2012-08-052-6/+2
| | | | | Just a small code cleanup / simplification. (cherry picked from commit eca544d87d9335123077e30b7547270b6bfe0f2b)
* build: Rename most C files that contain underscore with dash.Richard W.M. Jones2012-08-0534-16710/+21822
| | | | | | | | | | | | | | This is just code motion. Some files cannot be renamed. Notably rpcgen input and output files must not contain dash characters, else rpcgen breaks. Cherry picked from commit 2e4089f30007e79bc157c775cfd3b326d22f2992 and modified so that conflicts in the following files: po-docs/ja.po po-docs/libguestfs-docs.pot po-docs/uk.po were resolved by simply copying the files from the master branch.
* fish: Rename fish/virt.c to fish/domain.cRichard W.M. Jones2012-08-0511-19/+19
| | | | | | This file handles the -d option for guestfish and other C command line utilities. Renaming this file makes it less confusing. (cherry picked from commit 6054051a9d8a5eee4141ca4b12aa5b7d1f36f56d)
* build: Rename src/virt.c to src/libvirtdomain.cRichard W.M. Jones2012-08-053-2/+2
| | | | | | This file contains the code implementing guestfs_add_domain (for adding a libvirt domain) so this name is less confusing. (cherry picked from commit d1d29ab488002dda9e9a1b25fc2dbe4cb844f5ef)
* build: Arrange libguestfs_la_SOURCES in order.Richard W.M. Jones2012-08-051-1/+1
| | | | (cherry picked from commit d88f4ca634685f9aefab1a283f03646e32ba4a25)
* Remove references to long-obsolete Ocaml_inspector module from .gitignore.Richard W.M. Jones2012-08-051-2/+0
| | | | (cherry picked from commit a8b4ea1f0c173ab5662a4d0d084f0affb972c94e)
* podwrapper: Fix setting of GIT_DIR in git subcommand.Richard W.M. Jones2012-08-051-1/+2
| | | | | This fixes commit 1e17a32060feb937b3972f61b37f9116ad7d8d9a. (cherry picked from commit f514d462cda5395c8614577930ee69eebafc969d)
* license: Use latest license files from gnu.org.Richard W.M. Jones2012-08-052-105/+125
| | | | | | | | COPYING from https://www.gnu.org/licenses/gpl-2.0.txt COPYING.LIB from https://www.gnu.org/licenses/lgpl-2.1.txt (Note this change shouldn't alter the licensing of libguestfs) (cherry picked from commit 805d6425655abe1450567786ee4b887b23022a3c)
* gnulib: Don't include or run getlogin_r test (thanks Jim Meyering).Richard W.M. Jones2012-08-051-1/+5
| | | | | | See: https://lists.gnu.org/archive/html/bug-gnulib/2012-07/msg00194.html (cherry picked from commit 6e1b5f0feac50a498cb7319e5051a251877fe682)
* build: Return 77 from skipped tests.Richard W.M. Jones2012-08-0520-29/+29
| | | | (cherry picked from commit fc86db3b3bcd884ee37cef79e22b0324df9fcae6)
* ocaml: Test mount-local, without parallel test.Richard W.M. Jones2012-08-055-115/+22
| | | | | | | | | | | Unfortunately the parallel test keeps hitting this bug: https://bugzilla.redhat.com/show_bug.cgi?id=838081 which could be a bug in the OCaml runtime. Just test simple mount-local. We will write a parallel test in C to replace this. (cherry picked from commit eef11f33f9f14d3706b681bd4e23e334fcc9b791)
* tar-in: Add --no-same-owner flag to tar command when target filesystem ↵Richard W.M. Jones2012-08-051-3/+54
| | | | | | | | | | | | | | | | | doesn't support chown (RHBZ#840572). When using tar-in or tools built around it such as virt-make-fs, if the target filesystem is vfat then unpacking the tarball would fail because tar tries to chown(2) files and fails. You would see errors such as: tar: <file>: Cannot change ownership to uid 500, gid 500: Operation not permitted This change detects whether the target filesystem supports chown(2). If not, it adds the --no-same-owner flag to tar to stop it from trying to change the ownership of newly created files. (cherry picked from commit 50780a84f65ec5d76605691cea889392c2730f54)
* daemon: Make 'random_name' into a utility function.Richard W.M. Jones2012-08-053-30/+51
| | | | | | This is mostly code motion, although the precise contract of this function changes slightly to make it more generally useful (cherry picked from commit 781857a86b3bc8238995a9212ea09aa368fc2fc9)
* virt-make-fs: Suggest guestfish for complex layouts in man page.Richard W.M. Jones2012-08-051-1/+2
| | | | (cherry picked from commit 9c2b9c2df6c3c10b090d71bc808d755dbf625cbe)
* build: Change how make.sh, packagelist, excludelist are updated.Richard W.M. Jones2012-08-051-6/+9
| | | | | | | Add proper dependencies for these files, but also use 'cmp' to ensure they only get overwritten if the new files have actually changed, so we don't rebuild the appliance unnecessarily. (cherry picked from commit b25aea33fa314857c8094e09af9654f925fb935f)
* augeas: make functions as noreturnWanlong Gao2012-08-051-14/+14
| | | | | | | Just make gcc happy. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> (cherry picked from commit 2f89f584c0203023f8a829ff9796dc2c14ddeb68)
* podwrapper: Use UTF8 in output, send errors to stderr.Richard W.M. Jones2012-08-051-1/+2
| | | | | This fixes commit 1e17a32060feb937b3972f61b37f9116ad7d8d9a. (cherry picked from commit 8e75e21b23f18ec0b0fa4f07f96c31dd56a50f25)