summaryrefslogtreecommitdiffstats
path: root/images
Commit message (Collapse)AuthorAgeFilesLines
* tests: Split images -> tests/data + tests/guestsRichard W.M. Jones2011-12-2235-866/+0
|
* Rename mdadm_ apis to md_Matthew Booth2011-11-241-3/+3
| | | | | | | | | This change renames the following 2 apis: * mdadm_create -> md_create * mdadm_detail -> md_detail This is more consistent with list_md_devices, and removes a reference to an implementation detail from the api.
* build: Create an MD variant of the dummy Fedora imageMatthew Booth2011-11-243-114/+209
| | | | | | This change involves rewriting make-fedora-img.sh in perl. This allows the flexibility to write mdadm.conf containing whichever uuids where randomly generated when the md devices were created.
* Update FSF address.Matthew Booth2011-11-085-5/+5
|
* out-of-tree build: generate ./run from template, fix image checksHilko Bengen2011-08-185-20/+18
| | | | | | | ./run can now be run in a separate build directory. Since some files needed in the image checks are found in the source tree (but not the build tree), the source tree location is passed to make-*-img.sh via an environment variable.
* build: Set TMPDIR for local testing.Richard W.M. Jones2011-08-081-8/+12
| | | | | | This avoids conflicts with the globally installed libguestfs appliance, or lets us build in multiple local directories at the same time without conflicts.
* Rewrite virt-edit in C.Richard W.M. Jones2011-05-091-0/+8
|
* Add images/guestfs-aux/fedora-packages.db{,.txt} to EXTRA_DIST.Richard W.M. Jones2011-04-161-0/+2
| | | | This updates commit d95874db3dc6c415061b86275d03770b4f28ffbb.
* Remove local LIBGUESTFS_PATH detection from guestfish and guestmount.Richard W.M. Jones2011-04-164-5/+5
| | | | | | | | | | | Remove the hack that let you run ./fish/guestfish or ./fuse/guestmount. You now have to do: ./run ./fish/guestfish or ./run ./fuse/guestmount to run these programs without installing.
* Delete file so db_load doesn't run incrementally.Richard W.M. Jones2011-04-141-2/+6
| | | | | | | | It turns out that db_load incrementally updates the database (instead of writing a new one). Remove the old database to force db_load to write a new one. This also ensures that we handle write failure gracefully.
* inspect: Get version and release of RPM packages.Richard W.M. Jones2011-04-143-2/+21
| | | | | | | | | | This commit downloads the Packages RPM database allowing us to find other details about installed RPM packages (via inspect-list-applications). This adds version and release. Epoch cannot yet be found. This commit also updates the Fedora example image so that it contains a dummy RPM Packages database with some data.
* New API: inspect-get-drive-mappingsRichard W.M. Jones2011-04-053-0/+6
| | | | | | | | | | | | This returns the drive mappings from the Windows Registry. virt-inspector displays the drive mappings, giving output similar to this: <drive_mappings> <drive_mapping name="C">/dev/sda2</drive_mapping> <drive_mapping name="E">/dev/sdb1</drive_mapping> </drive_mappings>
* New API: inspect-get-windows-current-control-setRichard W.M. Jones2011-04-051-0/+6
| | | | | | | | | | | | | | This returns the actual registry key corresponding to CurrentControlSet (eg. it might be "ControlSet001"). Previously the inspection code was hard-coding ControlSet001. Now we use the correct control set, and also make it available to callers through the API. This commit also updates the virt-dhcp-address example so it uses this new API. virt-inspector displays the current control set when available.
* mkisofs is obsolete. Require genisoimage everywhere instead.Nikita A Menkovich2011-04-021-1/+1
|
* inspect: Detect 32 bit applications running on WOW64 emulator (RHBZ#692545).Richard W.M. Jones2011-03-312-0/+16
| | | | | | | These applications are located along a different Registry path. See http://support.microsoft.com/kb/896459 for all the details. Thanks Jinxin Zheng for finding the bug and the solution.
* tests: Don't fail when compiled without support for NTFS.Richard W.M. Jones2011-03-291-1/+15
|
* New API: guestfs_inspect_get_product_variantRichard W.M. Jones2011-03-232-0/+1
| | | | | | | | | | This returns a product variant for inspected operating systems. In practice this is a useful way to distinguish between consumer and enterprise/server versions of Windows that otherwise have the same version number. Notes: Labels: feature
* New API: mkfs_opts, mkfs with optional arguments.Richard W.M. Jones2010-12-023-12/+12
| | | | | | This is an extensible version of 'mkfs' which supports optional arguments. There is now no need for 'mkfs_b' since you should use 'mkfs_opts' with the optional 'blocksize' argument instead.
* inspect: Detect if db_dump and db_load programs are available.Richard W.M. Jones2010-11-241-1/+1
| | | | | | If db_dump is not available then disable RPM application detection. Note these utilities have odd names on Debian.
* images: Make phony Windows image for testing.Richard W.M. Jones2010-11-167-2/+123
|
* images: Make phony Ubuntu image for testing.Richard W.M. Jones2010-11-162-2/+90
|
* images: Make a phony Debian image for testing.Richard W.M. Jones2010-11-163-2/+150
|
* images: Make a better phony Fedora image.Richard W.M. Jones2010-11-163-7/+37
| | | | | This now includes a product string, major and minor version, hostname and even some applications.
* Generate a dummy 'Fedora' fedora.img in images directory for use by tests.Richard W.M. Jones2010-11-112-3/+103
| | | | | | | | We were generating this dummy 'Fedora' image already in the tools directory. It contains just enough Fedora-like files to fool our inspection code and thus to test the tools. This is general enough that we can use it everywhere.
* daemon: Fix for commands working on absolute symbolic links (RHBZ#579608).Richard Jones2010-05-071-0/+4
| | | | | | | | | | | | | | | | The original idea (suggested by Al Viro) was to fork and chroot into the sysroot and read the file from there. Because of the separate process being chrooted, absolute links would be resolved correctly. The slightly modified idea is to open the file in the daemon process (but temporarily chrooted, so symlinks resolve correctly), fork, and have the subprocess just be responsible for copying the file. (Strictly speaking we don't need to fork, but this implementation is simpler). This commit just includes the changes needed to the command*() functions in daemon/guestfsd.c and adds an absolute symlink to the test ISO for testing it. Later commits will fix the broken daemon commands themselves.
* New APIs: base64-in and base64-out for uploading/downloading base64 content.Richard Jones2010-04-191-0/+4
|
* New API calls to upload/download txz files (RHBZ#580556).Richard Jones2010-04-082-0/+2
|
* build: Fix inter-directory dependenciesMatthew Booth2009-11-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* tests: Use ISO instead of squashfs.Richard Jones2009-08-191-7/+9
| | | | | The squashfs format changes too much. Use an ISO file for the tests instead.
* tests: Use squashfs for static data where possible.Richard Jones2009-07-291-3/+6
| | | | | | | | | Instead of creating a new InitBasicFS for just about every test, where a test doesn't need to write to the filesystem it is far faster to use prepared data on an InitSquashFS instead. This commit changes as many tests as possible to make this so, making the tests much faster.
* tests: Fix read_file test.Richard Jones2009-07-293-1/+8
| | | | | | | | | The test ignored the fact that this function returns a (char *, size_t) pair, and just treated the char * as a string. This of course would fail if the string didn't happen to be nul-terminated. The tests are updated to add a new TestOutputBuffer type which should be used with functions that return RBufferOut.
* Implement '*grep*' family of commands.Richard Jones2009-07-292-4/+18
|
* Lib.pm: Add file_architecture command.Richard Jones2009-07-2912-3/+54
| | | | | This command detects the architecture of some types of binaries, libraries, kernel modules and initrd images.
* Whitespace: indent some names in images/Makefile.am correctly.Richard Jones2009-07-281-12/+12
|
* RHEL 5: $(builddir) did not exist with this old autoconf/automake, so ↵Richard Jones2009-07-071-6/+9
| | | | workaround.
* Make it possible to build in a separate directoryMatthew Booth2009-07-031-3/+17
| | | | | | | | | | | | | | | | | | | | | | 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 files in make clean.Richard W.M. Jones2009-06-291-2/+5
|
* Add 'initrd-list' command to list contents of initrd images.Richard W.M. Jones2009-06-291-1/+7
| | | | | | Add 'initrd-list' command to list the files inside (new-style) initrd images. Update virt-inspector to use this instead of the less efficient download/unpack locally method.
* Generated code for head/tail commands.Richard W.M. Jones2009-06-291-1/+1
|
* Add large test files with standard content for the C API test.Richard W.M. Jones2009-06-291-1/+31
| | | | | Large test files with standard content for the C API test, and add a regression test for previous hexdump failure on large files.
* Use a squashfs attached as /dev/sdd during the C API tests.Richard W.M. Jones2009-05-295-1/+41
|
* build: don't tell "make clean" to remove my '~' backup filesJim Meyering2009-04-301-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Added tar-in, tar-out, tgz-in, tgz-out commands.Richard Jones2009-04-203-1/+4
|
* Remove *~ files when doing 'make clean'.Richard Jones2009-04-091-0/+2
|
* Added framework for the language bindings.Richard Jones2009-04-071-0/+18
|
* Added images/ directory for test images, and one image.Richard Jones2009-04-031-0/+0