<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libguestfs.git/appliance, branch master</title>
<subtitle>[MIRROR] library for accessing and modifying guest disk images</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/'/>
<entry>
<title>lib: Rework temporary and cache directory code.</title>
<updated>2012-11-09T13:11:53+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-11-08T11:36:35+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=1efed122c07792f4c66a4083159cfacfb1893212'/>
<id>1efed122c07792f4c66a4083159cfacfb1893212</id>
<content type='text'>
New APIs: set-tmpdir, get-tmpdir, set-cachedir, get-cachedir.

The current code has evolved over time and has a number of problems:

(a) A single environment variable ($TMPDIR) controls the
location of several directories.

(b) It's hard for the library user to predict which directory
libguestfs will use, unless the user simulates the same internal steps
that libguestfs performs.

This commit fixes these issues.

(a) Now three environment variables control the location of all small
temporary files, and the appliance cache:

  For temporary files: $LIBGUESTFS_TMPDIR or $TMPDIR or /tmp.

  For the appliance cache: $LIBGUESTFS_CACHEDIR or $TMPDIR or /var/tmp.

The user can also set these directories explicitly through API calls
(guestfs_set_tmpdir and guestfs_set_cachedir).

(b) The user can also retrieve the actual directories that libguestfs
will use, by calling guestfs_get_tmpdir and guestfs_get_cachedir.
These functions are also used internally.

This commit also:

 - reworks the internal tmpdir code

 - removes the internal (undocumented) guestfs_tmpdir call (replacing
   it with calls to the documented guestfs_get_tmpdir API instead)

 - changes the ./run script to set LIBGUESTFS_TMPDIR and
   LIBGUESTFS_CACHEDIR

 - adds a test

 - fixes a few places like libguestfs-make-fixed-appliance which
   depended on $TMPDIR
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
New APIs: set-tmpdir, get-tmpdir, set-cachedir, get-cachedir.

The current code has evolved over time and has a number of problems:

(a) A single environment variable ($TMPDIR) controls the
location of several directories.

(b) It's hard for the library user to predict which directory
libguestfs will use, unless the user simulates the same internal steps
that libguestfs performs.

This commit fixes these issues.

(a) Now three environment variables control the location of all small
temporary files, and the appliance cache:

  For temporary files: $LIBGUESTFS_TMPDIR or $TMPDIR or /tmp.

  For the appliance cache: $LIBGUESTFS_CACHEDIR or $TMPDIR or /var/tmp.

The user can also set these directories explicitly through API calls
(guestfs_set_tmpdir and guestfs_set_cachedir).

(b) The user can also retrieve the actual directories that libguestfs
will use, by calling guestfs_get_tmpdir and guestfs_get_cachedir.
These functions are also used internally.

This commit also:

 - reworks the internal tmpdir code

 - removes the internal (undocumented) guestfs_tmpdir call (replacing
   it with calls to the documented guestfs_get_tmpdir API instead)

 - changes the ./run script to set LIBGUESTFS_TMPDIR and
   LIBGUESTFS_CACHEDIR

 - adds a test

 - fixes a few places like libguestfs-make-fixed-appliance which
   depended on $TMPDIR
</pre>
</div>
</content>
</entry>
<entry>
<title>appliance: Add 99-guestfs-serial.rules to EXTRA_DIST.</title>
<updated>2012-10-09T11:06:03+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-10-09T11:06:03+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=e10647e3349db040cbb9b0956155e12447eefb72'/>
<id>e10647e3349db040cbb9b0956155e12447eefb72</id>
<content type='text'>
This fixes commit 7786d56db8c22413949f98ef6b15fe0ea367d195.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes commit 7786d56db8c22413949f98ef6b15fe0ea367d195.
</pre>
</div>
</content>
</entry>
<entry>
<title>launch: Add add_drive 'label' option.</title>
<updated>2012-10-08T19:04:47+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-10-03T09:50:51+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=7786d56db8c22413949f98ef6b15fe0ea367d195'/>
<id>7786d56db8c22413949f98ef6b15fe0ea367d195</id>
<content type='text'>
New API: list-disk-labels

Allow the user to pass an optional disk label when adding a drive.

This is passed through to qemu / libvirt using the disk serial field,
and from there to the appliance which exposes it through udev,
creating a special alias of the device /dev/disk/guestfs/&lt;label&gt;.
Partitions are named /dev/disk/guestfs/&lt;label&gt;&lt;partnum&gt;.

virtio-blk and virtio-scsi limit the serial field to 20 bytes.  We
further limit the name to maximum 20 ASCII characters in [a-zA-Z].

list-devices and list-partitions are not changed: these calls still
return raw block device names.  However a new call, list-disk-labels,
returns a hash table allowing callers to map between disk labels, and
block device and partition names.

This commit also includes a test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
New API: list-disk-labels

Allow the user to pass an optional disk label when adding a drive.

This is passed through to qemu / libvirt using the disk serial field,
and from there to the appliance which exposes it through udev,
creating a special alias of the device /dev/disk/guestfs/&lt;label&gt;.
Partitions are named /dev/disk/guestfs/&lt;label&gt;&lt;partnum&gt;.

virtio-blk and virtio-scsi limit the serial field to 20 bytes.  We
further limit the name to maximum 20 ASCII characters in [a-zA-Z].

list-devices and list-partitions are not changed: these calls still
return raw block device names.  However a new call, list-disk-labels,
returns a hash table allowing callers to map between disk labels, and
block device and partition names.

This commit also includes a test.
</pre>
</div>
</content>
</entry>
<entry>
<title>build: Use 'tmp-d' as name of temporary directory instead of 'tmp'.</title>
<updated>2012-10-06T22:15:49+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-10-03T10:46:07+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=92feed7d662b7d9d1f8c475cf06df203143a3a5f'/>
<id>92feed7d662b7d9d1f8c475cf06df203143a3a5f</id>
<content type='text'>
When building supermin.d/daemon.img, use 'tmp-d' instead of 'tmp'
as the name of the temporary directory.

This is just code motion.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When building supermin.d/daemon.img, use 'tmp-d' instead of 'tmp'
as the name of the temporary directory.

This is just code motion.
</pre>
</div>
</content>
</entry>
<entry>
<title>New APIs: hivex_*</title>
<updated>2012-08-29T16:08:01+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-08-28T15:03:50+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=8a723ca62eb4f93f19c5c66beffaf70997afb64c'/>
<id>8a723ca62eb4f93f19c5c66beffaf70997afb64c</id>
<content type='text'>
Transscribe many hivex(3) APIs into the libguestfs API.

There is one hive handle per libguestfs handle, as with Augeas.

Note that hivex uses iconv_open for some APIs (eg. hivex_value_string).
But since we delete all the i18n files from the appliance, this
doesn't work -- iconv_open returns EINVAL.  Therefore hivex APIs which
require iconv cannot be bound in the daemon.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Transscribe many hivex(3) APIs into the libguestfs API.

There is one hive handle per libguestfs handle, as with Augeas.

Note that hivex uses iconv_open for some APIs (eg. hivex_value_string).
But since we delete all the i18n files from the appliance, this
doesn't work -- iconv_open returns EINVAL.  Therefore hivex APIs which
require iconv cannot be bound in the daemon.
</pre>
</div>
</content>
</entry>
<entry>
<title>podwrapper: Add --license parameter, which is required.</title>
<updated>2012-08-21T19:33:21+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-08-21T19:11:52+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=2f97bf873b64384835f257f8916bf1ebb2af62b4'/>
<id>2f97bf873b64384835f257f8916bf1ebb2af62b4</id>
<content type='text'>
This adds standard LICENSE and BUGS sections to all of the man pages
that are processed by podwrapper.

Modify all the calls to $(PODWRAPPER) to add the right --license
parameter according to the content.  Note that this relaxes the
license on some code example pages, making them effectively BSD-style
licensed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds standard LICENSE and BUGS sections to all of the man pages
that are processed by podwrapper.

Modify all the calls to $(PODWRAPPER) to add the right --license
parameter according to the content.  Note that this relaxes the
license on some code example pages, making them effectively BSD-style
licensed.
</pre>
</div>
</content>
</entry>
<entry>
<title>man pages: Ensure consistent copyright/author sections, remove license</title>
<updated>2012-08-21T19:16:29+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-08-21T19:13:47+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=f1d98bbc79496947210ee0305f80440ed8557ec1'/>
<id>f1d98bbc79496947210ee0305f80440ed8557ec1</id>
<content type='text'>
section.

Ensure each man page contains consistent COPYRIGHT and AUTHOR
sections.

Remove the LICENSE section.  We will add that back in podwrapper in a
later commit.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
section.

Ensure each man page contains consistent COPYRIGHT and AUTHOR
sections.

Remove the LICENSE section.  We will add that back in podwrapper in a
later commit.
</pre>
</div>
</content>
</entry>
<entry>
<title>Even on Debian, the package containing the diff binary it has been diffutils for two years.</title>
<updated>2012-08-15T11:34:54+00:00</updated>
<author>
<name>Hilko Bengen</name>
<email>bengen@hilluzination.de</email>
</author>
<published>2012-08-14T19:52:02+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=3234a1f903bb77c66252b38425a4c913f8e7bb8c'/>
<id>3234a1f903bb77c66252b38425a4c913f8e7bb8c</id>
<content type='text'>
There had been a virtual package "diff" that depended on diffutils, but that's gone in wheezy/sid, too.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There had been a virtual package "diff" that depended on diffutils, but that's gone in wheezy/sid, too.
</pre>
</div>
</content>
</entry>
<entry>
<title>appliance: Add rsync and openssh-client{,s} to the appliance.</title>
<updated>2012-08-04T10:48:46+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-08-04T10:45:15+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=47410e79995f9d8c5fb9739ca4609c78e13218ee'/>
<id>47410e79995f9d8c5fb9739ca4609c78e13218ee</id>
<content type='text'>
This adds ~10M to the appliance (328M -&gt; 338M).

However for virt-rescue these are frequently requested tools.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds ~10M to the appliance (328M -&gt; 338M).

However for virt-rescue these are frequently requested tools.
</pre>
</div>
</content>
</entry>
<entry>
<title>appliance: Exclude kernel* packages explicitly.</title>
<updated>2012-07-30T22:49:47+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-07-30T22:33:40+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=77326fa4ad757bb255a3c3a07bef8c3ce050a5ac'/>
<id>77326fa4ad757bb255a3c3a07bef8c3ce050a5ac</id>
<content type='text'>
febootstrap &gt;= 3.19 will no longer exclude the kernel package
by default.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
febootstrap &gt;= 3.19 will no longer exclude the kernel package
by default.
</pre>
</div>
</content>
</entry>
</feed>
