From 2a7d90a67e9d7cb5936ab7b76caa6ea6ecd89591 Mon Sep 17 00:00:00 2001
From: Leann Ogasawara <leann.ogasawara@canonical.com>
Date: Tue, 12 Jun 2012 11:17:54 -0700
Subject: [PATCH] UBUNTU: Fix linux-virtual meta package dependencies
BugLink: http://bugs.launchpad.net/bugs/1009553
Currently, linux-virtual depends on linux-generic which results in
both the linux-image and linux-image-extra packages being installed for
the virtual flavor. This is not what was intended. Fix linux-virtual
to depend on linux-image-virtual and linux-headers-virtual.
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
---
meta-source/debian/control.d/virtual | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
@@ -11,7 +11,7 @@ Architecture: i386 amd64
Section: metapackages
Priority: optional
Depends: ${misc:Depends}, linux-image-${kernel-abi-version}-generic
-Description: This package will always depend on the latest generic kernel image.
+Description: This package will always depend on the latest minimal generic kernel image.
This package will always depend on the latest minimal generic kernel image
used for virtual instances.
@@ -19,9 +19,10 @@ Package: linux-virtual
Architecture: i386 amd64
Section: metapackages
Priority: optional
-Depends: ${misc:Depends}, linux-generic
-Description: Complete Generic Linux kernel and headers
- This package will always depend on linux-generic.
+Depends: ${misc:Depends}, linux-image-virtual, linux-headers-virtual
+Description: Minimal Generic Linux kernel and headers
+ This package will always depend on linux-image-virtual and
+ linux-headers-virtual.
Package: linux-image-extra-virtual
Architecture: i386 amd64
--
1.7.9.5