libguestfs.git
15 years agoTest the 'command' and 'command_lines' functions thoroughly.
Richard Jones [Tue, 12 May 2009 16:16:59 +0000 (17:16 +0100)]
Test the 'command' and 'command_lines' functions thoroughly.

15 years agoRemove Perl from appliance - fixes large appliance problem on Rawhide builds.
Richard Jones [Tue, 12 May 2009 14:04:43 +0000 (15:04 +0100)]
Remove Perl from appliance - fixes large appliance problem on Rawhide builds.

15 years agoRemove the specfile from the tarball. Include contrib/ dir.
Richard Jones [Tue, 12 May 2009 11:58:45 +0000 (12:58 +0100)]
Remove the specfile from the tarball.  Include contrib/ dir.

15 years agoVersion 1.0.23 1.0.23
Richard Jones [Mon, 11 May 2009 15:44:07 +0000 (16:44 +0100)]
Version 1.0.23

15 years agoDepend on new febootstrap 2.0, and use febootstrap-install.
Richard Jones [Mon, 11 May 2009 14:43:00 +0000 (15:43 +0100)]
Depend on new febootstrap 2.0, and use febootstrap-install.

15 years agoPerl bindings fix: Not enough memory was allocated for array params.
Richard Jones [Mon, 11 May 2009 09:51:21 +0000 (10:51 +0100)]
Perl bindings fix: Not enough memory was allocated for array params.

15 years agoPartial Haskell bindings.
Richard Jones [Sat, 9 May 2009 16:19:24 +0000 (17:19 +0100)]
Partial Haskell bindings.

15 years agoHandle EINTR, EAGAIN in select main loop.
Richard Jones [Sun, 10 May 2009 12:51:51 +0000 (13:51 +0100)]
Handle EINTR, EAGAIN in select main loop.

15 years agoNote about using FUSE / mountlo code.
Richard Jones [Sat, 9 May 2009 14:37:40 +0000 (15:37 +0100)]
Note about using FUSE / mountlo code.

15 years agoVersion 1.0.22 1.0.22
Richard Jones [Sat, 9 May 2009 12:52:24 +0000 (13:52 +0100)]
Version 1.0.22

15 years agoValgrind now implemented - remove from TODO list
Richard Jones [Sat, 9 May 2009 12:43:15 +0000 (13:43 +0100)]
Valgrind now implemented - remove from TODO list

15 years agoAdd 'make valgrind' target to run tests under valgrind.
Richard Jones [Sat, 9 May 2009 12:40:31 +0000 (13:40 +0100)]
Add 'make valgrind' target to run tests under valgrind.

15 years agoFix four memory leaks in guestfs.c revealed by valgrind.
Richard Jones [Sat, 9 May 2009 12:31:08 +0000 (13:31 +0100)]
Fix four memory leaks in guestfs.c revealed by valgrind.

15 years agoFix memory leak in error return path.
Richard Jones [Sat, 9 May 2009 12:30:40 +0000 (13:30 +0100)]
Fix memory leak in error return path.

15 years agoExperimental febootstrap install script.
Richard Jones [Fri, 8 May 2009 19:16:03 +0000 (20:16 +0100)]
Experimental febootstrap install script.

15 years agoTo-do: Use valgrind.
Richard Jones [Fri, 8 May 2009 14:49:42 +0000 (15:49 +0100)]
To-do: Use valgrind.

15 years agoBug: Segfault in Perl bindings.
Richard Jones [Fri, 8 May 2009 14:49:34 +0000 (15:49 +0100)]
Bug: Segfault in Perl bindings.

15 years agoList installed applications (NOT WORKING).
Richard Jones [Fri, 8 May 2009 14:48:02 +0000 (15:48 +0100)]
List installed applications (NOT WORKING).

15 years agoGenerated code to support last 3 commits.
Richard Jones [Fri, 8 May 2009 14:20:36 +0000 (15:20 +0100)]
Generated code to support last 3 commits.

15 years agoAdd test script to test recovery from qemu failure.
Richard Jones [Fri, 8 May 2009 14:20:20 +0000 (15:20 +0100)]
Add test script to test recovery from qemu failure.

15 years agoImplement -command (to ignore errors) in guestfish, and allow recovery from qemu...
Richard Jones [Fri, 8 May 2009 14:19:51 +0000 (15:19 +0100)]
Implement -command (to ignore errors) in guestfish, and allow recovery from qemu process failure.

15 years agoAllow recovery from guest failure.
Richard Jones [Fri, 8 May 2009 14:19:03 +0000 (15:19 +0100)]
Allow recovery from guest failure.

15 years agoGenerated code to support previous 2 commits.
Richard Jones [Fri, 8 May 2009 13:28:03 +0000 (14:28 +0100)]
Generated code to support previous 2 commits.

15 years agoImplement 'strings' and 'hexdump' commands.
Richard Jones [Fri, 8 May 2009 13:27:47 +0000 (14:27 +0100)]
Implement 'strings' and 'hexdump' commands.

15 years agoBug: write_file doesn't work with strings containing ASCII NUL.
Richard Jones [Fri, 8 May 2009 13:27:02 +0000 (14:27 +0100)]
Bug: write_file doesn't work with strings containing ASCII NUL.

15 years agoNote another bug found when testing on Koji.
Richard Jones [Fri, 8 May 2009 10:37:42 +0000 (11:37 +0100)]
Note another bug found when testing on Koji.

15 years agoMissing BRs in spec file.
Richard Jones [Fri, 8 May 2009 08:29:20 +0000 (09:29 +0100)]
Missing BRs in spec file.

15 years agoVersion 1.0.21 1.0.21
Richard Jones [Fri, 8 May 2009 07:50:27 +0000 (08:50 +0100)]
Version 1.0.21

15 years agoChange memory calculation to choose a generous amount of memory.
Richard Jones [Fri, 8 May 2009 07:44:34 +0000 (08:44 +0100)]
Change memory calculation to choose a generous amount of memory.

15 years agoMerge branch 'master' of git+ssh://192.168.122.141/home/rjones/d/libguestfs
Richard Jones [Fri, 8 May 2009 07:40:49 +0000 (08:40 +0100)]
Merge branch 'master' of git+ssh://192.168.122.141/home/rjones/d/libguestfs

15 years agoAdded RHEL/CentOS example spec file.
Richard Jones [Fri, 8 May 2009 07:39:05 +0000 (08:39 +0100)]
Added RHEL/CentOS example spec file.

15 years agoForce qemu quit when kernel panics (Charles Duffy).
Richard Jones [Fri, 8 May 2009 07:32:26 +0000 (08:32 +0100)]
Force qemu quit when kernel panics (Charles Duffy).

15 years agoUpdate date in changelog line. 1.0.20
Richard Jones [Thu, 7 May 2009 20:39:37 +0000 (21:39 +0100)]
Update date in changelog line.

15 years agoUpdate %changelog in the specfile.
Richard Jones [Thu, 7 May 2009 20:34:08 +0000 (21:34 +0100)]
Update %changelog in the specfile.

15 years agoPrepare for version 1.0.20.
Richard Jones [Thu, 7 May 2009 20:29:08 +0000 (21:29 +0100)]
Prepare for version 1.0.20.

15 years agoFix leak in realloc failure (Jim Meyering).
Richard Jones [Thu, 7 May 2009 20:21:32 +0000 (21:21 +0100)]
Fix leak in realloc failure (Jim Meyering).

15 years agoUse unsigned type for lengths.
Richard Jones [Thu, 7 May 2009 20:10:01 +0000 (21:10 +0100)]
Use unsigned type for lengths.

15 years agoHandle EINTR and EAGAIN in reads.
Richard Jones [Thu, 7 May 2009 20:01:02 +0000 (21:01 +0100)]
Handle EINTR and EAGAIN in reads.

15 years agoSpecify prototyping behaviour for Perl XSUBs.
Richard Jones [Thu, 7 May 2009 19:52:33 +0000 (20:52 +0100)]
Specify prototyping behaviour for Perl XSUBs.

15 years agoCreate daemon/m4 subdirectory if it doesn't exist already. 1.0.19
Richard Jones [Thu, 7 May 2009 18:28:21 +0000 (19:28 +0100)]
Create daemon/m4 subdirectory if it doesn't exist already.

15 years agoSet mandir (as in RHEL 5).
Richard Jones [Thu, 7 May 2009 18:19:49 +0000 (19:19 +0100)]
Set mandir (as in RHEL 5).

15 years agoVersion 1.0.19
Richard Jones [Thu, 7 May 2009 17:51:34 +0000 (18:51 +0100)]
Version 1.0.19

15 years agoMisc changes to make tests pass in RHEL 5.
Richard Jones [Thu, 7 May 2009 16:24:02 +0000 (17:24 +0100)]
Misc changes to make tests pass in RHEL 5.

15 years agoInclude /usr/sbin on the $PATH (for RHEL 5).
Richard Jones [Thu, 7 May 2009 15:58:49 +0000 (16:58 +0100)]
Include /usr/sbin on the $PATH (for RHEL 5).

15 years agoNeed to keep and modprobe dm_mod module for device-mapper support on RHEL 5.
Richard Jones [Thu, 7 May 2009 15:58:31 +0000 (16:58 +0100)]
Need to keep and modprobe dm_mod module for device-mapper support on RHEL 5.

15 years ago/dev/hd* is also a block device on RHEL 5.
Richard Jones [Thu, 7 May 2009 15:57:55 +0000 (16:57 +0100)]
/dev/hd* is also a block device on RHEL 5.

15 years agoAdd BR on ncurses-devel (needed for RHEL 5).
Richard Jones [Thu, 7 May 2009 15:05:50 +0000 (16:05 +0100)]
Add BR on ncurses-devel (needed for RHEL 5).

15 years agoAugeas is now completely optional.
Richard Jones [Thu, 7 May 2009 14:51:02 +0000 (15:51 +0100)]
Augeas is now completely optional.

15 years agoAdded TODO item.
Richard Jones [Wed, 6 May 2009 19:46:17 +0000 (20:46 +0100)]
Added TODO item.

15 years agoMerge branch 'master' of git+ssh://rich@hakodate/home/rich/d/libguestfs
Richard Jones [Wed, 6 May 2009 16:55:46 +0000 (17:55 +0100)]
Merge branch 'master' of git+ssh://rich@hakodate/home/rich/d/libguestfs

15 years agoNote bug about chroot not found.
Richard Jones [Wed, 6 May 2009 16:55:18 +0000 (17:55 +0100)]
Note bug about chroot not found.

15 years agoNote Augeas support should be optional (TODO).
Richard Jones [Wed, 6 May 2009 15:33:26 +0000 (16:33 +0100)]
Note Augeas support should be optional (TODO).

15 years agoFix missing futimens bug.
Richard Jones [Wed, 6 May 2009 14:29:01 +0000 (15:29 +0100)]
Fix missing futimens bug.

15 years agoAC_CHECK_FUNCS for multiple functions.
Richard Jones [Wed, 6 May 2009 14:21:46 +0000 (15:21 +0100)]
AC_CHECK_FUNCS for multiple functions.

15 years agoRARRAY_LEN macro for Ruby < 1.9. Small strictness fix for OCaml < 3.10.
Richard Jones [Wed, 6 May 2009 14:20:15 +0000 (15:20 +0100)]
RARRAY_LEN macro for Ruby < 1.9.  Small strictness fix for OCaml < 3.10.

15 years agoBackport CAMLreturnT for OCaml <= 3.10
Richard Jones [Wed, 6 May 2009 14:11:40 +0000 (15:11 +0100)]
Backport CAMLreturnT for OCaml <= 3.10

15 years agoMissing include <ctype.h>
Richard Jones [Wed, 6 May 2009 14:08:13 +0000 (15:08 +0100)]
Missing include <ctype.h>

15 years agovirt-inspector configure bug.
Richard Jones [Wed, 6 May 2009 13:52:15 +0000 (14:52 +0100)]
virt-inspector configure bug.

15 years agoAdded bugs noted by Charles Duffy.
Richard Jones [Wed, 6 May 2009 12:07:58 +0000 (13:07 +0100)]
Added bugs noted by Charles Duffy.

15 years agoAnother TODO item.
Richard W.M. Jones [Fri, 1 May 2009 18:00:22 +0000 (19:00 +0100)]
Another TODO item.

15 years agoTypo in documentation.
Richard W.M. Jones [Fri, 1 May 2009 17:51:15 +0000 (18:51 +0100)]
Typo in documentation.

15 years agoImplement !local in guestfish.
Richard W.M. Jones [Fri, 1 May 2009 16:41:28 +0000 (17:41 +0100)]
Implement !local in guestfish.

15 years agoVersion 1.0.18 1.0.18
Richard Jones [Fri, 1 May 2009 12:10:47 +0000 (13:10 +0100)]
Version 1.0.18

15 years agoGenerated code for 'equal' command.
Richard W.M. Jones [Fri, 1 May 2009 11:16:08 +0000 (12:16 +0100)]
Generated code for 'equal' command.

15 years agoAdded 'equal' command to compare files.
Richard W.M. Jones [Fri, 1 May 2009 11:15:58 +0000 (12:15 +0100)]
Added 'equal' command to compare files.

15 years agoGenerated code for ping-daemon command.
Richard W.M. Jones [Fri, 1 May 2009 10:47:31 +0000 (11:47 +0100)]
Generated code for ping-daemon command.

15 years agoAdded ping-daemon command.
Richard W.M. Jones [Fri, 1 May 2009 10:47:23 +0000 (11:47 +0100)]
Added ping-daemon command.

15 years agoGenerated code for dmesg command.
Richard W.M. Jones [Fri, 1 May 2009 10:27:52 +0000 (11:27 +0100)]
Generated code for dmesg command.

15 years agoAdded dmesg command.
Richard W.M. Jones [Fri, 1 May 2009 10:27:32 +0000 (11:27 +0100)]
Added dmesg command.

15 years agoGenerated code for drop-caches command.
Richard W.M. Jones [Fri, 1 May 2009 10:18:53 +0000 (11:18 +0100)]
Generated code for drop-caches command.

15 years agoAdded drop-caches command.
Richard W.M. Jones [Fri, 1 May 2009 10:18:44 +0000 (11:18 +0100)]
Added drop-caches command.

15 years agoGenerated code for cp, cp-a and mv commands.
Richard W.M. Jones [Fri, 1 May 2009 10:00:46 +0000 (11:00 +0100)]
Generated code for cp, cp-a and mv commands.

15 years agoAdd cp, cp-a and mv commands.
Richard W.M. Jones [Fri, 1 May 2009 10:00:34 +0000 (11:00 +0100)]
Add cp, cp-a and mv commands.

15 years agoAlways look for qemu-kvm, even on non-x86_64 platform.
Richard W.M. Jones [Fri, 1 May 2009 09:59:51 +0000 (10:59 +0100)]
Always look for qemu-kvm, even on non-x86_64 platform.

15 years agoCheck fakechroot >= 2.9
Richard W.M. Jones [Fri, 1 May 2009 09:11:12 +0000 (10:11 +0100)]
Check fakechroot >= 2.9

15 years agoVersion 1.0.17 1.0.17
Richard Jones [Thu, 30 Apr 2009 22:39:31 +0000 (23:39 +0100)]
Version 1.0.17

15 years agoGenerated code for grub-install command.
Richard Jones [Thu, 30 Apr 2009 22:10:22 +0000 (23:10 +0100)]
Generated code for grub-install command.

15 years agoAdd grub-install command.
Richard Jones [Thu, 30 Apr 2009 22:10:15 +0000 (23:10 +0100)]
Add grub-install command.

15 years agoReplace rtl8139 network card with virtio-net.
Richard Jones [Thu, 30 Apr 2009 21:39:36 +0000 (22:39 +0100)]
Replace rtl8139 network card with virtio-net.

15 years agoAdd documentation for the 'edit' and 'echo' commands.
Richard Jones [Thu, 30 Apr 2009 20:29:40 +0000 (21:29 +0100)]
Add documentation for the 'edit' and 'echo' commands.

15 years agoAdded guestfish 'echo' command. 1.0.16
Richard Jones [Thu, 30 Apr 2009 19:11:04 +0000 (20:11 +0100)]
Added guestfish 'echo' command.

15 years agoAdded a comment syntax to guestfish (# ...).
Richard Jones [Thu, 30 Apr 2009 18:53:52 +0000 (19:53 +0100)]
Added a comment syntax to guestfish (# ...).

15 years agoPrepare for version 1.0.16.
Richard Jones [Thu, 30 Apr 2009 18:44:28 +0000 (19:44 +0100)]
Prepare for version 1.0.16.

15 years agoAdded notes to the 'fsck' command documentation.
Richard Jones [Thu, 30 Apr 2009 18:32:58 +0000 (19:32 +0100)]
Added notes to the 'fsck' command documentation.

15 years agoAdded 'zero' command to wipe partition tables and superblocks.
Richard Jones [Thu, 30 Apr 2009 18:28:54 +0000 (19:28 +0100)]
Added 'zero' command to wipe partition tables and superblocks.

15 years agoCorrect the path to /sbin/fsck.
Richard Jones [Thu, 30 Apr 2009 18:28:08 +0000 (19:28 +0100)]
Correct the path to /sbin/fsck.

15 years agoEnable parallel builds (Jim Meyering).
Richard Jones [Thu, 30 Apr 2009 17:59:02 +0000 (18:59 +0100)]
Enable parallel builds (Jim Meyering).

15 years agoAdd generated code for 'fsck' command.
Richard Jones [Thu, 30 Apr 2009 17:57:07 +0000 (18:57 +0100)]
Add generated code for 'fsck' command.

15 years agoAdded 'fsck' command.
Richard Jones [Thu, 30 Apr 2009 17:56:55 +0000 (18:56 +0100)]
Added 'fsck' command.

15 years agoBind-mount /dev, /proc and /sys into chroot when running commands.
Richard Jones [Thu, 30 Apr 2009 17:05:13 +0000 (18:05 +0100)]
Bind-mount /dev, /proc and /sys into chroot when running commands.

15 years agoAutosync now runs umount-all; sync
Richard Jones [Thu, 30 Apr 2009 16:34:23 +0000 (17:34 +0100)]
Autosync now runs umount-all; sync

15 years agoFix umount_all command so it unmounts filesystems in the correct order.
Richard Jones [Thu, 30 Apr 2009 16:23:57 +0000 (17:23 +0100)]
Fix umount_all command so it unmounts filesystems in the correct order.

15 years agobuild: don't tell "make clean" to remove my '~' backup files
Jim Meyering [Thu, 30 Apr 2009 13:55:58 +0000 (15:55 +0200)]
build: don't tell "make clean" to remove my '~' backup files

Hi Rich,

automake's policy on what to remove via "make clean" is reasonable:
if running build rules creates it, then "make clean" can and should remove it.
However, even if build rules happen
to create backup files, please remove only the specific ones
they can create, not all of the ones in a directory.  Just in case
someone relies on those and expect them to hang around...

>From 1e8be391ac17b4ddcf9671e8413d2660844e6993 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@redhat.com>
Date: Thu, 30 Apr 2009 15:47:52 +0200
Subject: [PATCH] build: don't tell "make clean" to remove my '~' backup files

* Makefile.am (CLEANFILES): Don't remove '~' backup files.
* daemon/Makefile.am: Ditto.
* examples/Makefile.am: Ditto.
* fish/Makefile.am: Ditto.
* images/Makefile.am: Ditto.
* inspector/Makefile.am: Ditto.
* java/Makefile.am: Ditto.
* ocaml/Makefile.am: Ditto.
* ocaml/examples/Makefile.am: Ditto.
* perl/Makefile.am: Ditto.
* python/Makefile.am: Ditto.
* ruby/Makefile.am: Ditto.
* src/Makefile.am: Ditto.

15 years agoSafer way to copy RPMs in no-net builds (Jim Meyering).
Richard Jones [Thu, 30 Apr 2009 15:09:50 +0000 (16:09 +0100)]
Safer way to copy RPMs in no-net builds (Jim Meyering).

15 years agoUpdated the generator so it only overwrites files if they've changed.
Richard Jones [Thu, 30 Apr 2009 14:43:11 +0000 (15:43 +0100)]
Updated the generator so it only overwrites files if they've changed.

15 years agoCorrection to 366a86fb6097ab0f704443f0a6ae2addbc3745d5:
Richard Jones [Thu, 30 Apr 2009 13:20:07 +0000 (14:20 +0100)]
Correction to 366a86fb6097ab0f704443f0a6ae2addbc3745d5:
  The code in fish/completion.c is generated, so update the generator instead.

15 years ago* fish/completion.c (commands): Declare with a 2nd "const".
Jim Meyering [Thu, 30 Apr 2009 12:34:02 +0000 (14:34 +0200)]
* fish/completion.c (commands): Declare with a 2nd "const".

It's a const array of const strings.

>From 70c53d3169ae53fc4874e00975893d33387c51e6 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@redhat.com>
Date: Thu, 30 Apr 2009 14:33:01 +0200
Subject: [PATCH] * fish/completion.c (commands): Declare with a 2nd "const".

15 years agoUse AC_PROG_CC_STDC because we really need an ISO C compiler (Jim Meyering).
Richard Jones [Thu, 30 Apr 2009 13:15:00 +0000 (14:15 +0100)]
Use AC_PROG_CC_STDC because we really need an ISO C compiler (Jim Meyering).

15 years agoUse safe_malloc and/or check returns from malloc (Jim Meyering).
Richard Jones [Thu, 30 Apr 2009 13:01:53 +0000 (14:01 +0100)]
Use safe_malloc and/or check returns from malloc (Jim Meyering).

15 years agoFix unchecked malloc (Jim Meyering).
Richard Jones [Thu, 30 Apr 2009 12:36:26 +0000 (13:36 +0100)]
Fix unchecked malloc (Jim Meyering).