| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
The first parameter (not used) is a unit, so declare it properly.
(cherry picked from commit 1bdfc88eba7f932b2581d55ecf4455d0e70335c2)
|
|
|
|
| |
(cherry picked from commit 450493cf6b563389bd11f02284bd22d7ed90b5da)
|
| |
|
|
|
|
| |
(cherry picked from commit 3893dc0b9436ebb4dd620c6ca9b1d038eacf83a6)
|
|
|
|
| |
(cherry picked from commit 148e8068267bcf9ce8ff3a5062747998f960619d)
|
|
|
|
| |
(cherry picked from commit a7868dd3c940b6cee0894e6033ba611f01a423dd)
|
|
|
|
|
| |
This should be just code motion.
(cherry picked from commit a7e4a6c692554e4207b3bdff65946427e66e9fce)
|
|
|
|
|
|
|
| |
types (RHBZ#823887).
Thanks Laszlo Ersek.
(cherry picked from commit 8e8a5764293d1b6bc3dbfb9409722e4c13384aec)
|
|
|
|
|
|
| |
(RHBZ#823887).
(cherry picked from commit 6445bc5952efd47fb1aa0880d9038040551d72ed)
|
|
|
|
|
|
|
|
| |
Previously the code would drop the first character in any sequence of
non-printing characters that occurred within a string.
Fix for commit e6f18c59d577dd0b443bc6a1d76f699c4e0dde9f.
(cherry picked from commit 73071b3163774ff9a514a05bc8e6fb35fa910787)
|
|
|
|
|
| |
Fix for commit e6f18c59d577dd0b443bc6a1d76f699c4e0dde9f.
(cherry picked from commit fba81add94cde015afe8a65245cb4e60a1d3e6bf)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(RHBZ#823821).
Change guestfs___first_line_of_file so that if the file is empty this
returns an empty string instead of an error. This is consistent with
the behaviour of this function in the case where the file starts with
a \n character, where it would previously have returned an empty
string.
Change all callers so that they handle this case.
Then change the hostname parsing code so that it doesn't give up when
/etc/HOSTNAME is empty, but falls through to the next alternative, and
similarly for /etc/hostname.
Thanks Todd Mummert for finding and diagnosing this bug.
(cherry picked from commit f00066d22b11bf40d0272f68565a2a27fea15627)
|
|
|
|
|
|
|
|
|
|
| |
parse_release_file should be used to set fs->product_name, instead of
calling guestfs___first_line_of_file directory, although currently the
two are equivalent.
This is code motion and fixes
commit b648b1813fc8e55db790435b5414d9be3ec765d2.
(cherry picked from commit cffb7fefc88a317f957785f6448fb24183c8c629)
|
|
|
|
| |
(cherry picked from commit ee9ab52bc3e087f63dcc51d3b6ac5c79277425e1)
|
|
|
|
| |
(cherry picked from commit 216a6d16abdfbc36a5514df34f59507ef825e33e)
|
|
|
|
| |
(cherry picked from commit d5d9ceee8b56a10761e207ad9970ebf704fc46e8)
|
|
|
|
| |
(cherry picked from commit 975a41db20eff2b5edf510f8a65005c915b21f27)
|
|
|
|
|
|
|
|
|
| |
Missing package caused this error in compress-device-out:
libguestfs: error: compress_device_out: compression type bzip2 is not supported
Thanks Mohua Li.
(cherry picked from commit f904fa822316ff793e71d4d4ff7dc79e608dcb25)
|
|
|
|
| |
(cherry picked from commit b8b5ed65c26dd19a0bc9f8282a50c6dff90c456a)
|
|
|
|
|
|
| |
This is a common search term on the main website, and there is no good
information provided by Google at present.
(cherry picked from commit 144d7cd98811472a5541d2c53c487e670657051b)
|
|
|
|
| |
(cherry picked from commit c7d3aa9cd6c065158d43b3c7fe553e814c642d6b)
|
|
|
|
| |
(cherry picked from commit 54028b9b669cfe495089a7652bb8cd06115f4907)
|
| |
|
|
|
|
| |
Red Hat Bugzilla is broken: RHBZ#823510.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Remove the generated kerberos data in the guest.
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
|
|
|
|
|
|
| |
Remove the ca certificates.
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Add the new API btrfs-fsck to check the btrfs filesystem.
Btrfs is currently under heavy development, and not suitable for
any uses other than benchmarking and review. But it'll be useful
in the near future.
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
|
|
|
|
|
|
| |
Change the return value from "r" to "0".
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
|
|
|
|
|
|
| |
also remove guestfs-gobject.c
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
|
| |
|
|
|
|
| |
Consequently this file was also missing from the tarball.
|
|
|
|
|
|
|
|
|
| |
I used scsi_debug to create a 4k sector virtual disk:
modprobe scsi_debug dev_size_mb=128 sector_size=4096
I then used 'gdisk' to create lots of partitions, and used 'hexdump'
to examine what was written to disk.
|
| |
|
|
|
|
|
|
|
| |
Add the new API btrfs-set-seeding to support the seeding-device
feature for btrfs.
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
|
|
|
|
|
|
| |
Add the note about compatible in TODO for libblkid.
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
|
|
|
|
|
|
|
| |
* Set PS1 prompt properly for bash shells.
* Touch a file into the root directory of the new filesystem.
This fixes commit 46b6766156ace142443b36e20e55074c544ae6cc.
|
|
|
|
|
|
|
|
|
| |
* Move MOUNT_OPTIONS to #define at top.
* Move SIZE_MB to #define at top.
* Set PS1 in subshell (doesn't work - why?).
* Hide libguestfs errors from guestfs_mount_local_run.
This fixes commit 46b6766156ace142443b36e20e55074c544ae6cc.
|
|
|
|
|
|
| |
This affected Debian 6.
This fixes commit 46b6766156ace142443b36e20e55074c544ae6cc.
|
| |
|
|
|
|
| |
This fixes commit 46b6766156ace142443b36e20e55074c544ae6cc.
|
| |
|
| |
|