From: Guido Günther Date: Wed, 24 Feb 2010 08:06:23 +0000 (+0100) Subject: Debian package format X-Git-Tag: 1.0.85~6 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=b5c307b7d6c154337b1d2427b81418ebc9e16251;p=libguestfs.git Debian package format Hi, Minor nitpick: the Debian folks usually refer to deb as the package format not dpkg. Cheers, -- Guido >From 7a9665d40e0a3109833de10f17831ae06fc8885a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Tue, 23 Feb 2010 21:04:37 +0100 Subject: [PATCH 1/2] Debina package format is called 'deb' not 'dpkg' --- diff --git a/perl/lib/Sys/Guestfs/Lib.pm b/perl/lib/Sys/Guestfs/Lib.pm index 2864bfa..c7b5e7e 100644 --- a/perl/lib/Sys/Guestfs/Lib.pm +++ b/perl/lib/Sys/Guestfs/Lib.pm @@ -665,7 +665,7 @@ Operating system distribution. One of: "fedora", "rhel", "centos", =item package_format (For Linux root partitions only) -The package format used by the guest distribution. One of: "rpm", "dpkg". +The package format used by the guest distribution. One of: "rpm", "deb". =item package_management @@ -869,7 +869,7 @@ sub _check_linux_root $r->{osdistro} = "redhat-based"; } } elsif ($g->is_file ("/etc/debian_version")) { - $r->{package_format} = "dpkg"; + $r->{package_format} = "deb"; $r->{package_management} = "apt"; $_ = $g->cat ("/etc/debian_version");