← Back to team overview

kernel-packages team mailing list archive

[Bug 1205284] Re: linux-tools naming is not scalable to multiple source packages

 

We need the kernel autoclean support to understand the tools packages as
well as they are abi specific.  Adding a task for apt.

** Also affects: linux (Ubuntu Saucy)
   Importance: Medium
     Assignee: Andy Whitcroft (apw)
       Status: In Progress

** Also affects: linux-meta (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: linux-meta (Ubuntu Saucy)
       Status: New => In Progress

** Changed in: linux-meta (Ubuntu Saucy)
     Assignee: (unassigned) => Andy Whitcroft (apw)

** Also affects: apt (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: apt (Ubuntu Saucy)
     Assignee: (unassigned) => Adam Conrad (adconrad)

** Changed in: apt (Ubuntu Saucy)
   Importance: Undecided => Medium

** Changed in: apt (Ubuntu Saucy)
       Status: New => In Progress

** Changed in: linux-meta (Ubuntu Saucy)
   Importance: Undecided => Medium

** Also affects: linux-goldfish (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: linux-meta-goldfish (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1205284

Title:
  linux-tools naming is not scalable to multiple source packages

Status in “apt” package in Ubuntu:
  In Progress
Status in “linux” package in Ubuntu:
  In Progress
Status in “linux-goldfish” package in Ubuntu:
  New
Status in “linux-meta” package in Ubuntu:
  In Progress
Status in “linux-meta-goldfish” package in Ubuntu:
  New
Status in “apt” source package in Saucy:
  In Progress
Status in “linux” source package in Saucy:
  In Progress
Status in “linux-goldfish” source package in Saucy:
  New
Status in “linux-meta” source package in Saucy:
  In Progress
Status in “linux-meta-goldfish” source package in Saucy:
  New

Bug description:
  The linux tools packages are not currently scalable to multiple source
  package branches.  This is because the packages are actually per
  architecture (not flavour) in both contents and naming but may differ
  between source packages which may be at different versions.  This prevents
  us safely emitting linux-tools packages from branches other than master.

  We have a policy of insulating people from the source package from which a
  kernel comes.  We do this via the linux-<thing>-<flavour> package naming,
  which is consistant regardless of overall package.  It therefore makes
  a lot of sense to extend this to the tools package.  Such that we would
  have the following user consumable packages as below:

      linux-tools-<flavour>		-- tools to match linux-image-<flavour>
      linux-tools-<abi>-<flavour>		-- tools to match linux-image-<abi>-<flavour>

  In order to allow linux-tools to be still be a valid install target the
  first of these would additionally Provides: linux-tools to allow simple
  selection of the appropriate flavour specific package where there is only
  one, or to help the user make an informed choice where there is more.

  The first would be the logical choice when wanting to maintain tools
  installed for all future version of the kernel, mirroring the kernels as
  installed by the linux-<flavour> and linux-image-<flavour> packages and
  keeping the user up to date in tools.  The second would be the appropriate
  package to request installation when trying to target a specific
  kernel version and would be used by the wrapper when requesting manual
  intervention such as when the linux-tools-<flavour> is not installed.

  The first of these would be added to the appropriate meta package, the
  second would come out of the flavour specific packages in the main kernel
  source package.

  Further we would then be able to name the actual binary packages as produced by the 
  various source packages to be source package specific.  Thus we would have packages as
  below:

      linux-tools-<abi>			-- coming out of the master branch
      linux-grouper-tools-<abi>		-- coming out of the grouper branch

  These would be hidden from the user via the previously listed meta packages
  and would not be direct installation candidates.

  There is also an additional linux-tools-common package which represents
  the manual pages and the wrappers.  These would be only generated and
  installed from the master branch and all of the other flavours would
  (at least initially) share this package.

  The actual binaries will be moved over to names similar to below:

      /usr/lib/<srcpkg>-tools-<abi>/<binary>

  with symlinks in as below for each flavour pointing to the above:

      /usr/lib/linux-tools/<binary>-<abi>-<flavour>

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1205284/+subscriptions


References