From patchwork Tue Jun 12 18:43:36 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leann Ogasawara X-Patchwork-Id: 164486 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id 14601B6FD4 for ; Wed, 13 Jun 2012 04:43:55 +1000 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1SeW45-0007n9-9A; Tue, 12 Jun 2012 18:43:41 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1SeW42-0007k2-LQ for kernel-team@lists.ubuntu.com; Tue, 12 Jun 2012 18:43:38 +0000 Received: from c-67-171-184-21.hsd1.or.comcast.net ([67.171.184.21] helo=[192.168.1.3]) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1SeW42-0001g4-Db; Tue, 12 Jun 2012 18:43:38 +0000 Message-ID: <4FD78DD8.4060607@canonical.com> Date: Tue, 12 Jun 2012 11:43:36 -0700 From: Leann Ogasawara User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: Stefan Bader Subject: [Patch v2][Quantal: linux-meta] Fix the virtual dependencies References: <1339522736-15064-1-git-send-email-stefan.bader@canonical.com> In-Reply-To: <1339522736-15064-1-git-send-email-stefan.bader@canonical.com> Cc: kernel-team@lists.ubuntu.com X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.13 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kernel-team-bounces@lists.ubuntu.com Errors-To: kernel-team-bounces@lists.ubuntu.com On 06/12/2012 10:38 AM, Stefan Bader wrote: > As it came up during the server-team meeting, it seems that > the stack of dependencies for virtual is probably not what > it was intended to be. > > Note that I made additional changes based on the assumption > that it would be good not to cross depend on any generic > meta-packages. It feels that would blow up the stack without > benefit and potentially confuses people. The idea behind linux-virtual depending on the linux-generic meta package was to eventually get us to a place where we could drop these stub virtual meta packages in wholesale and just use the generic meta packages across the board. However, I can't see that being possible at this time with how we've structured our meta packages, eg: linux- depends on linux-image-, linux-headers- How about the following v2 of the patch (see attached). It reinstates the virtual meta package to depend on linux-image-virtual and linux-headers-virtual. This then follows the dependency model as all of our other meta packages and also ensures we don't pull in the extra bloat of the -extra's package. I also adjusted some of the package descriptions. Thanks, Leann From 2a7d90a67e9d7cb5936ab7b76caa6ea6ecd89591 Mon Sep 17 00:00:00 2001 From: Leann Ogasawara 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 --- meta-source/debian/control.d/virtual | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/meta-source/debian/control.d/virtual b/meta-source/debian/control.d/virtual index 7ec994e..2a2bb47 100644 --- a/meta-source/debian/control.d/virtual +++ b/meta-source/debian/control.d/virtual @@ -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