[Libguestfs] [PATCH] Mask some package names if appliance is build for SUSE
Richard W.M. Jones
rjones at redhat.com
Tue Jun 11 13:28:18 UTC 2013
On Tue, Jun 11, 2013 at 03:18:23PM +0200, Olaf Hering wrote:
> Signed-off-by: Olaf Hering <olaf at aepfle.de>
> ---
>
> Not compile-tested!
>
> appliance/packagelist.in | 13 ++++++++-----
> 1 file changed, 8 insertions(+), 5 deletions(-)
>
> diff --git a/appliance/packagelist.in b/appliance/packagelist.in
> index 8a4a5ea..a00a7ad 100644
> --- a/appliance/packagelist.in
> +++ b/appliance/packagelist.in
> @@ -126,11 +126,9 @@ dosfstools
> file
> findutils
> gawk
> -gdisk
> grep
> gzip
> jfsutils
> -kmod
> less
> libxml2
> lsof
> @@ -146,17 +144,14 @@ ocfs2-tools
> */
> parted
> procps
> -procps-ng
> psmisc
> rsync
> -scrub
> sed
> strace
> syslinux
> tar
> udev
> util-linux
> -util-linux-ng
> #ifndef UBUNTU
> /* on Ubuntu contains a file in /lib64 which conflicts with libc6 that has
> * /lib64 as a symbolic link
> @@ -165,6 +160,14 @@ xfsprogs
> #endif
> zerofree
>
> +#ifndef SUSE
> +gdisk
> +kmod
> +procps-ng
> +scrub
> +util-linux-ng
> +#endif
> +
> #ifdef VALGRIND_DAEMON
> valgrind
> #endif
But supermin is supposed to ignore packages that don't exist in the
distro. This is a bug in supermin or the zypp plugin for supermin.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.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://people.redhat.com/~rjones/virt-df/
More information about the Libguestfs
mailing list