On 09/23/11 - 03:31:01PM, Richard W.M. Jones wrote:
On Fri, Sep 23, 2011 at 09:48:56AM -0400, Chris Lalancette wrote:
> On 09/23/11 - 01:39:11PM, Richard W.M. Jones wrote:
> > >From 4059d0f0becc209450105d822593e4383828efb3 Mon Sep 17 00:00:00 2001
> > From: Richard W.M. Jones <rjones(a)redhat.com>
> > Date: Thu, 22 Sep 2011 17:03:33 +0100
> > Subject: [PATCH] Add debian support.
> >
> > Users can build a package by doing:
> >
> > debuild -i -uc -us -b
> >
> > The package will be created in the directory above.
> >
> > Adding a debian/ subdirectory is a temporary measure to allow Debian
> > and Ubuntu users to use Oz. When we have found a Debian maintainer,
> > we can drop this directory to make the maintainer's job easier.
>
> This has been on the TODO list a long time. I tested it out here on Debian
> Squeeze, and it properly created the package for me. I also tried to install
> it, but I got an unresolved dependency:
>
> The following packages have unmet dependencies:
> oz : Depends: python-guestfs but it is not installable or
> python-libguestfs but it is not installable
> E: Broken packages
>
> Is libguestfs not in Debian yet?
Yes, if you have the right version. With the version you have,
squeeze (ie. Debian 6), you're best to use my packages here:
http://libguestfs.org/download/binaries/debian-packages/
** note: read the README file! **
OK, thanks, I'll try that.
For the official libguestfs packages you will have to update quite a
lot of stuff (most of the way to wheezy - future Debian 7):
http://packages.debian.org/search?keywords=libguestfs
BTW is libguestfs a hard dependency of Oz? If not, we should make it
optional -- using Recommends or Suggests as described here:
There are a few situations where Oz can get away with not using libguestfs,
but they are on an individual OS basis. For example, with Fedora tree-based
(URL) installs, we can do a cpio overlay, which is really fast and doesn't
require libguestfs at all. However, if you use a Fedora ISO based install, we
need libguestfs to extract the ISO.
It basically is a hard dependency.
--
Chris Lalancette