Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | build: Fix inter-directory dependencies | Matthew Booth | 2009-11-19 | 1 | -3/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds an explicit dependency on generator.ml for every file it generates, except java files. Java is left for another time because it's considerably trickier. It also adds a build rule for src/libguestfs.la so it can be rebuilt as required from other directories. It does this by creating a top level make file, subdir-rules.mk, which can be included from sub-directories. sub-directories need to define 'generator_built' to include local files which are built by generator.ml, and they will be updated automatically. This fixes parallel make, and will automatically re-create generated files when make is run from any directory. It also fixes the problem which efad4f53 was targetting. Specifically, src/guestfs_protocol.(c|h) had an erroneous dependency on stamp-generator, and therefore generator.ml, despite not being directly created by it. This caused them to be recreated every time generator.ml ran rather than only when src/guestfs_protocol.x was updated, which cascaded into a daemon and therefore appliance update. This patch also changes the contents of the distribution tarball by including files created by rpcgen. | ||||
* | Remove guestfs_wait_ready (turn it into a no-op). | Richard Jones | 2009-09-21 | 2 | -2/+0 |
| | | | | | | | | | | | | | | This commit changes guestfs_launch so that it both launches the appliance and waits until it is ready (ie. the daemon communicates back to us). Since we removed the pretence that we could implement a low-level asynchronous API, the need to call launch() followed by wait_ready() has looked a bit silly. Now guestfs_wait_ready() is basically a no-op. It is left in the API for backwards compatibility. Any calls to guestfs_wait_ready() can be removed from client code. | ||||
* | build: remove trailing blank lines; enable the syntax-check rule | Jim Meyering | 2009-08-04 | 1 | -1/+0 |
| | | | | | | | | | | | | | | * cfg.mk (disable_temporarily): Remove sc_prohibit_trailing_blank_lines. * appliance/Makefile.am: Remove trailing blank line(s). * appliance/debian/modules/y0_install-guestfsd: Likewise. * appliance/make.sh.in: Likewise. * appliance/packagelist.in: Likewise. * appliance/update.sh.in: Likewise. * haskell/run-bindtests: Likewise. * ocaml/run-bindtests: Likewise. * python/run-python-tests: Likewise. * recipes/squashfs.example: Likewise. * ruby/run-ruby-tests: Likewise. | ||||
* | RHEL 5: $(builddir) did not exist with this old autoconf/automake, so ↵ | Richard Jones | 2009-07-07 | 1 | -0/+3 |
| | | | | workaround. | ||||
* | Make it possible to build in a separate directory | Matthew Booth | 2009-07-03 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | | | | | | | This patch allows you to do: mkdir build cd build ../configure ... make This will output all generated files to the build directory. Given that autogen automatically runs configure, you can also do: BUILDDIR=./build ./autogen.sh which will do the right thing. Also: * Fix a dependency bug which means that guestfs_protocol.h isn't automatically rebuilt. * Re-running autogen.sh with no arguments won't blow away your previous configure arguments. | ||||
* | Remove generated code from git. | Richard W.M. Jones | 2009-07-02 | 3 | -7462/+0 |
| | | | | | | | | Git users now require the OCaml compiler in order to regenerate the generated code after a checkout. Generated code will remain in the tarball, so users of the source tarball will not need the OCaml compiler. | ||||
* | Add 'readdir' call. | Richard W.M. Jones | 2009-07-02 | 2 | -0/+70 |
| | | | | | | | | | | | | This adds a readdir call (mostly intended for programs). The return value is a list of guestfs_dirent structures. This adds the new types 'struct guestfs_dirent' and 'struct guestfs_dirent_list', along with all the code to return these in the different language bindings. Also includes additional tests for OCaml and Perl bindings to test this. | ||||
* | Generated code for the virtio_blk change. | Richard W.M. Jones | 2009-07-01 | 1 | -2/+6 |
| | |||||
* | Generated code for mknod, mkfifo, mknod_b, mknod_c, umask. | Richard W.M. Jones | 2009-06-30 | 2 | -0/+188 |
| | |||||
* | Generated code for 'set_memsize'/'get_memsize' calls. | Richard W.M. Jones | 2009-06-30 | 2 | -0/+77 |
| | |||||
* | Generated code for the 'mkswap*' commands. | Richard W.M. Jones | 2009-06-29 | 2 | -0/+95 |
| | |||||
* | Generated code for mount-loop command. | Richard W.M. Jones | 2009-06-29 | 2 | -0/+34 |
| | |||||
* | Generated code for 'initrd-list'. | Richard W.M. Jones | 2009-06-29 | 2 | -0/+42 |
| | |||||
* | Generated code for 'du' command. | Richard W.M. Jones | 2009-06-29 | 2 | -0/+38 |
| | |||||
* | Generated code for df / df-h. | Richard W.M. Jones | 2009-06-29 | 2 | -0/+70 |
| | |||||
* | Generated code for head/tail commands. | Richard W.M. Jones | 2009-06-29 | 2 | -5/+173 |
| | |||||
* | Generated code for 'wc_*' commands. | Richard W.M. Jones | 2009-06-29 | 2 | -0/+93 |
| | |||||
* | Clarify documentation for mkdtemp. | Richard W.M. Jones | 2009-06-24 | 1 | -4/+8 |
| | |||||
* | Generated code for 'mkdtemp' command. | Richard W.M. Jones | 2009-06-24 | 2 | -0/+45 |
| | |||||
* | Generated code for 'scrub-*' commands. | Richard W.M. Jones | 2009-06-23 | 2 | -1/+116 |
| | |||||
* | Generated code for 'glob-expand'. | Richard Jones | 2009-06-22 | 2 | -0/+42 |
| | |||||
* | Generated code for 'sh' and 'sh-lines' commands. | Richard Jones | 2009-06-22 | 2 | -1/+83 |
| | |||||
* | Generated code for ntfs_3g_probe command. | Richard Jones | 2009-06-08 | 2 | -0/+43 |
| | |||||
* | Generated code for the 'sleep' command. | Richard Jones | 2009-06-04 | 2 | -0/+31 |
| | |||||
* | Generated code for 'add_drive_ro' call. | Richard Jones | 2009-06-02 | 2 | -0/+60 |
| | |||||
* | Add tests for bindings parameters, fix several broken bindings. | Richard W.M. Jones | 2009-05-28 | 4 | -3/+89 |
| | |||||
* | Add the test0* functions, used to test language bindings. | Richard W.M. Jones | 2009-05-28 | 2 | -0/+776 |
| | |||||
* | Move the appliance and build scripts into new appliance/ subdirectory. | Richard W.M. Jones | 2009-05-28 | 1 | -2/+2 |
| | |||||
* | Generated code for e2fsck-f command. | Richard Jones | 2009-05-21 | 2 | -0/+43 |
| | |||||
* | Generated code for 'find' command. | Richard Jones | 2009-05-19 | 2 | -0/+57 |
| | |||||
* | Generated code for lvresize, resize2fs. | Richard Jones | 2009-05-18 | 2 | -0/+66 |
| | |||||
* | Add vg-activate{,-all} commands, and resize recipe. | Richard Jones | 2009-05-18 | 2 | -0/+83 |
| | |||||
* | Add: pvresize, sfdisk-N, sfdisk-l, sfdisk-kernel-geomtry, ↵ | Richard W.M. Jones | 2009-05-15 | 2 | -0/+184 |
| | | | | sfdisk-disk-geometry commands. Pass --no-reread flag to sfdisk. | ||||
* | Add support for zerofree command. | Richard W.M. Jones | 2009-05-14 | 2 | -0/+40 |
| | |||||
* | Don't stash strings in the handle. | Richard W.M. Jones | 2009-05-13 | 1 | -12/+0 |
| | | | | | - makes it impossible to write bindings for set_{path,qemu,append} functions | ||||
* | Add 'append', LIBGUESTFS_APPEND to set additional kernel options. | Richard W.M. Jones | 2009-05-13 | 2 | -0/+74 |
| | |||||
* | Test the 'command' and 'command_lines' functions thoroughly. | Richard Jones | 2009-05-12 | 1 | -0/+15 |
| | |||||
* | Generated code to support last 3 commits. | Richard Jones | 2009-05-08 | 2 | -0/+34 |
| | |||||
* | Generated code to support previous 2 commits. | Richard Jones | 2009-05-08 | 2 | -0/+126 |
| | |||||
* | Typo in documentation. | Richard W.M. Jones | 2009-05-01 | 1 | -1/+1 |
| | |||||
* | Generated code for 'equal' command. | Richard W.M. Jones | 2009-05-01 | 2 | -0/+35 |
| | |||||
* | Generated code for ping-daemon command. | Richard W.M. Jones | 2009-05-01 | 2 | -0/+34 |
| | |||||
* | Generated code for dmesg command. | Richard W.M. Jones | 2009-05-01 | 2 | -0/+37 |
| | |||||
* | Generated code for drop-caches command. | Richard W.M. Jones | 2009-05-01 | 2 | -0/+39 |
| | |||||
* | Generated code for cp, cp-a and mv commands. | Richard W.M. Jones | 2009-05-01 | 2 | -0/+99 |
| | |||||
* | Generated code for grub-install command. | Richard Jones | 2009-04-30 | 2 | -0/+34 |
| | |||||
* | Added notes to the 'fsck' command documentation. | Richard Jones | 2009-04-30 | 1 | -5/+14 |
| | |||||
* | Added 'zero' command to wipe partition tables and superblocks. | Richard Jones | 2009-04-30 | 2 | -0/+37 |
| | |||||
* | Add generated code for 'fsck' command. | Richard Jones | 2009-04-30 | 2 | -0/+40 |
| | |||||
* | Autosync now runs umount-all; sync | Richard Jones | 2009-04-30 | 1 | -3/+6 |
| |