From: Richard Jones Date: Thu, 20 May 2010 10:04:30 +0000 (+0100) Subject: ubuntu: Ignore packages in packagelist.in which are missing. X-Git-Tag: 1.3.14~15 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=4312988e0e3acc1f641b70072141916d03623570;hp=4312988e0e3acc1f641b70072141916d03623570;p=libguestfs.git ubuntu: Ignore packages in packagelist.in which are missing. For distros using 'yum', packages which cannot be found are just ignored. This allows us to include for example 'e4fsprogs' on the list even though that only exists on RHEL 5. However for Debian-derived distros, missing packages would cause apt to fail. This was particularly a problem when building Ubuntu since it doesn't have as complete a list of packages, and the list changed a lot between releases. This commit adds a check first for missing packages, ignoring those and thus acting more like 'yum'. ---