[Libguestfs] [PATCH] Add diffutils package

Richard W.M. Jones rjones at redhat.com
Sat Sep 12 09:20:09 UTC 2009


Currently guestfs_equal is broken on Fedora 12.  It turns out this is
because /usr/bin/cmp isn't being included in the appliance, which is
because diffutils is no longer an implicit dependency of something
else.  This patch makes diffutils an explicit package so we avoid this
problem.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/
-------------- next part --------------
>From 0fa3edd25e716749812c62a5f7f44ba9225eab60 Mon Sep 17 00:00:00 2001
From: Richard Jones <rjones at trick.home.annexia.org>
Date: Fri, 11 Sep 2009 20:21:37 +0100
Subject: [PATCH 1/3] Add diffutils package.

On Fedora 12, /usr/bin/cmp is not pulled in unless we explicitly
add the diffutils package.
---
 appliance/packagelist.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/appliance/packagelist.in b/appliance/packagelist.in
index 559fc1f..7363668 100644
--- a/appliance/packagelist.in
+++ b/appliance/packagelist.in
@@ -10,6 +10,7 @@
 
 #if REDHAT == 1
   augeas-libs
+  diffutils
   /* e4fsprogs only exists on RHEL 5, will be ignored everywhere else. */
   e4fsprogs
   iputils
-- 
1.6.2.5



More information about the Libguestfs mailing list