summaryrefslogtreecommitdiffstats
path: root/recipes
Commit message (Collapse)AuthorAgeFilesLines
* recipes: Refresh guestfish recipes.Richard W.M. Jones2010-12-2134-159/+170
|
* New API: write for creating files with fixed content (RHBZ#501889).Richard Jones2010-05-201-2/+2
| | | | | | | | | | | | | The guestfs_write call can be used to create small files with arbitrary 8 bit content, including \0 bytes. This replaces and deprecates write-file, which cannot be modified to use BufferIn because of an unfortunate choice in the ABI: the size parameter to write-file, if zero, means that the daemon tries to calculate the length of the buffer using strlen. However this fails if we pass a zero-length buffer using BufferIn because then the daemon tries to do strlen on a (really) zero length buffer, not even containing a terminating \0 character, thus segfaulting.
* fish: Add 'man' command which opens the manual.Richard Jones2010-04-241-1/+2
|
* Generic partition creation interface.Richard Jones2009-11-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit introduces a generic partition creation interface which should be future-proof and extensible, and partially replaces the old sfdisk-based interface. The implementation is based on parted but is hopefully not too dependent on the particulars of parted. The following new calls are introduced: guestfs_part_init: Initialize a disk with a partition table. Unlike the sfdisk- based interface, we also support GPT and other partition types, which is essential to scale to devices larger than 2TB. guestfs_part_add: Add a partition to an existing disk. guestfs_part_disk: Convenience function which combines part_init & part_add, creating a single partition that covers the whole disk. guestfs_part_set_bootable: guestfs_part_set_name: Set various aspects of existing partitions. guestfs_part_list: List partitions on a device. This returns a programming-friendly list of partition structs (in contrast to sfdisk-l which cannot be parsed). guestfs_part_get_parttype: Return the partition table type, eg. "msdos" or "gpt". The following calls are planned, but not added currently: guestfs_part_get_bootable guestfs_part_get_name guestfs_part_set_type guestfs_part_get_type
* build: remove trailing blank lines; enable the syntax-check ruleJim Meyering2009-08-041-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.
* Convert all TABs-as-indentation to spaces.Jim Meyering2009-08-031-7/+7
| | | | | | | | | | | Do it by running this command: [exempted files are matched via .x-sc_TAB_in_indentation] git ls-files \ | pcregrep -vf .x-sc_TAB_in_indentation \ | xargs pcregrep -l '^ *\t' \ | xargs perl -MText::Tabs -ni -le \ '$m=/^( *\t[ \t]*)(.*)/; print $m ? expand($1) . $2 : $_'
* remove trailing blanksJim Meyering2009-07-033-4/+4
|
* New website, change et.redhat.com references to libguestfs.org1.0.43Richard Jones2009-06-091-1/+1
|
* Squashfs recipe.Richard W.M. Jones2009-05-296-2/+72
|
* Move the appliance and build scripts into new appliance/ subdirectory.Richard W.M. Jones2009-05-281-1/+1
|
* Add vg-activate{,-all} commands, and resize recipe.Richard Jones2009-05-183-0/+55
|
* Added the --ro option (readonly) to guestfish.Richard Jones2009-04-263-8/+3
|
* Don't echo output in scripts.Richard Jones2009-04-264-22/+6
|
* Added rpmqa example.Richard Jones2009-04-264-0/+42
|
* Documentation fix.Richard Jones2009-04-251-1/+1
|
* New recipe: iso2tar.Richard Jones2009-04-254-0/+31
|
* Better generation of recipes page.Richard Jones2009-04-2510-10/+5
|
* export2tar recipeRichard Jones2009-04-253-0/+33
|
* Added guestfish recipes.Richard Jones2009-04-2513-0/+175