summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Allow compilation without hivex (RHBZ#723474).Richard W.M. Jones2011-10-213-96/+97
|
* po-docs: Force make update-po on first build from git.Richard W.M. Jones2011-10-212-0/+10
|
* Version 1.13.23.1.13.23Richard W.M. Jones2011-10-2020-525/+840
|
* appliance: udev-174 moves udevd to /lib/udev/udevd (instead of /sbin/udevd)Richard W.M. Jones2011-10-201-0/+5
|
* resize: Add --align-first auto|never|always option.Richard W.M. Jones2011-10-204-34/+138
| | | | | The first partition can now be aligned. We fix the bootloader correctly for Windows by adjusting the "Hidden Sectors" field.
* resize: Add --alignment flag to allow partition alignment to be picked.Richard W.M. Jones2011-10-202-11/+57
|
* resize: Refactor the code for creating target partitions.Richard W.M. Jones2011-10-201-92/+97
| | | | | | | | | | | | | The old code mixed the business of planning the layout of the target partitions with the creation of the target partitions. The replacement code separates these into two tasks: firstly we create a new 'partitions' list with the target layout, secondly this directly drives the creation of the partitions. As part of this change I have *removed* the old code that was supposed to handle extended/logical MBR partitions. It simply didn't work, and didn't have any hope of working, and there is a separate bug open to fix it.
* resize: Remove p_size field from partitions structure.Richard W.M. Jones2011-10-201-12/+13
| | | | | | This field simply contained a duplicate copy of p_part.part_size. There is no functional change in this commit.
* Update RELEASE-NOTES.Richard W.M. Jones2011-10-201-1/+6
|
* Version 1.13.22.1.13.22Richard W.M. Jones2011-10-192-5/+14
|
* Pushed and pulled latest translations from Transifex.Richard W.M. Jones2011-10-1918-21059/+20742
| | | | | | | | | | | | Fixed one bug in the nl PO file: msgid "security: cached appliance %s is not owned by UID %d" msgstr "beveiliging: UID %d is geen eigenaar van toepassing %s in cache" should be: msgid "security: cached appliance %s is not owned by UID %d" msgstr "beveiliging: UID %2$d is geen eigenaar van toepassing %1$s in cache"
* inspection: Return root devices sorted.Richard W.M. Jones2011-10-191-0/+11
|
* inspect: Handle cciss devices in /etc/fstabMatthew Booth2011-10-192-0/+64
|
* inspect: Don't assume number of captures in match functionsMatthew Booth2011-10-191-30/+13
| | | | | | | | | | | | | | | It is possible for the pcre library to return a variable number of captures for a single regular expression. e.g.: ^/dev/(cciss/c\d+d\d+)(?:p(\d+))?$ This will return either 1 or 2 captures depending on whether the device has a partition suffix. The current match wrappers don't allow for this, and require that a predictable number of matches are returned. This change updates match, match1, match2, and match3 to ignore the specific number of matches returned. Instead, any returned captures are assigned to the given arguments, and any remaining arguments are set to NULL.
* inspect: Add drive naming hintsMatthew Booth2011-10-196-24/+84
| | | | | | | | | | | We currently use a heuristic to guess how drive names we find referenced in the guest map to drive names in the appliance. If this heuristic fails it can cause inspection to fail. This change adds a new 'name' option to add_drive_opts, which allows the user to explicitly pass the name of a drive to libguestfs if it is known. This change also updates the fstab-parsing inspection code to use this information if it is available.
* NFC: Remove unnecessary gotoMatthew Booth2011-10-191-7/+5
|
* launch: Store drive information in guestfs_hMatthew Booth2011-10-197-38/+137
| | | | | | | | | | | | | | | | | | This is a NFC on its own, but provides a place-holder for drive metadata which can be used after launch. Fixes by RWMJ: - Fix the tests: this requires a new internal function 'debug-drives' that dumps out the g->drives information so it can be checked in two of the tests. Previously these tests used 'debug-cmdline'. - Test file existence / use_cache_off in the add_drive_opts function, not when launching qemu in the child process. - Call free along error paths. - Add comments.
* inspect: Fix fstab device mapping for >26 disksMatthew Booth2011-10-191-20/+31
| | | | | The regular expression matching disk name assumed that there was only a single letter suffix. This change handles a naming scheme for any number of disks.
* launch: Ensure g->cmdline is allocated before assigning g->cmdline[0].Richard W.M. Jones2011-10-191-7/+14
|
* valgrind: guestfish -i: free strings before exit.Richard W.M. Jones2011-10-191-0/+2
| | | | This isn't really necessary, but it keeps valgrind happy.
* Ubuntu 11.10: Create /run and /run/lock if not already.Richard W.M. Jones2011-10-181-0/+1
| | | | In real machines these directories are a ramdisk.
* virt-sysprep: Fix link in documentation.Richard W.M. Jones2011-10-171-1/+1
|
* Skip guestmount and virt-sysprep tests if no /dev/fuse.Richard W.M. Jones2011-10-172-0/+10
|
* virt-sysprep: Fix test to use guestmount and virt-inspector binaries that ↵Richard W.M. Jones2011-10-152-5/+14
| | | | have been built.
* appliance: Fedora cryptsetup-luks renamed to cryptsetup.Richard W.M. Jones2011-10-141-1/+2
| | | | Therefore we need both names to be listed in the file.
* roadmap: Fix Bugzilla URL.Richard W.M. Jones2011-10-141-1/+1
|
* More TODO items.Richard W.M. Jones2011-10-141-0/+31
|
* Update RELEASE-NOTES file.Richard W.M. Jones2011-10-141-5/+21
|
* Version 1.13.21.1.13.21Richard W.M. Jones2011-10-1421-7849/+8824
|
* Use ArchLinux's new kernel package "linux".Erik Nolte2011-10-141-1/+1
|
* Add basic support for netbsd detection.Michael Scherer2011-10-147-1/+74
|
* Add support for pkgsrc, default NetBSD package manager.Michael Scherer2011-10-144-2/+6
| | | | | | For now, only detect the tool, but support from reading installed package could be added later ( may require either a package of pkgsrc, or a smaller tool to read the db ).
* Add support for mounting ufs from NetBSD, and fix FreeBSD detection on Fedora 16Michael Scherer2011-10-141-2/+9
| | | | | | | | While testing on Fedora 16, I noticed that Linux will mount the disk without trouble by using automatically ufstype=old, and yet do not let us read the directories. So we should start directly with usftype=ufs2, and if it fail, try 44bsd, as used for netbsd and openbsd ( as seen on http://wiki-static.aydogan.net/How_to_mount_FFS_partition_under_Linux ).
* Add the Opensuse logo ( thanks to Vincent Untz )Michael Scherer2011-10-141-0/+14
| | | | Like Ubuntu one, it may not be always present.
* Add Opensuse and zypper detection supportMichael Scherer2011-10-145-1/+24
| | | | This would also erronously detect SLES as Opensuse.
* Add support for Ubuntu logoMichael Scherer2011-10-141-2/+13
| | | | | | Ths logo is present on Lucid Lynx, but may not always be installed, like in case of a minimal installation ( or server ). While Edubuntu and Kubuntu have different logo, I didn't check where it would be placed.
* Detect Mageia distributionMichael Scherer2011-10-146-0/+25
|
* Partially fix --disable-erlangMichael Scherer2011-10-141-4/+6
| | | | | | Without this, configure will always enable erlang, no matter what argument are passed. Now, we can disable it, even if configure still need the erlang compiler for some obscure reason.
* virt-sysprep: Add cron-spool, mail-spool, utmp.Richard W.M. Jones2011-10-143-2/+38
|
* virt-sysprep: Use /dev/urandom instead of /dev/random.Richard W.M. Jones2011-10-131-1/+1
|
* virt-sysprep: More clarifications to the man page.Richard W.M. Jones2011-10-131-7/+5
|
* virt-sysprep: Clarify docs on enabling operations.Richard W.M. Jones2011-10-131-3/+7
|
* virt-sysprep: Add rhn-systemid.Richard W.M. Jones2011-10-133-1/+12
|
* virt-sysprep: Switch to using guestmount, add more features.Richard W.M. Jones2011-10-135-154/+293
| | | | | | | | | | | | | | | | This switches virt-sysprep to use guestmount instead of guestfish. This makes the script a little bit easier to modify for sysadmins. This commit also adds: - dhcp-client-state - dhcp-server-state - logfiles - random-seed - smolt-uuid - yum-uuid SELinux relabelling, and a section on security in the manual page.
* virt-sysprep: Use Augeas for config file manipulation.Richard W.M. Jones2011-10-131-5/+24
|
* virt-sysprep: Add prepend_line utility function.Richard W.M. Jones2011-10-131-4/+17
|
* fish: docs: note how to clean up the remote process properly.Richard W.M. Jones2011-10-132-9/+10
| | | | | | | Killing it is always a bad idea, because the qemu subprocess will be left hanging around. The best thing is to send the exit command. This also makes the change to virt-sysprep.
* fish: Close guestfs handle explicitly before exiting.Richard W.M. Jones2011-10-131-0/+2
| | | | | | NOTE this is just a cleanup. It is NOT necessary for correctness, since libguestfs itself is correctly closing the handle in the exit handler.
* virt-sysprep: Trap ERR as well as EXIT.Richard W.M. Jones2011-10-131-1/+1
|
* guestmount: Add note to man page about 'fuse' group for Debian.Richard W.M. Jones2011-10-131-0/+9
|