[Bug 1216043] [NEW] driver-inject-disk: in target debs are installed before kernel has been

Dmitrijs Ledkovs launchpad at surgut.co.uk
Fri Aug 23 17:25:43 UTC 2013


Public bug reported:

Driver-inject-disk copies the debs in a well known location, and later
installs them in-target.

At the moment this is done during post-base-installer.d/* time, which is
just before the kernel is installed in-target.

Thus if a deb has dependencies on the correct linux-image-3.x.y-WW-
generic, it will fail to install & configure at that time.

A better time to install driver-injection-disk debs would be at pre-
pkgse.d/* time, since that is after the kernel has been installed but
before initramfs has been updated in-target.

I'll propose such a change, but it is probably worth testing with pre-
existing driver-injection-disks.

** Affects: hw-detect (Ubuntu)
     Importance: High
     Assignee: Dmitrijs Ledkovs (xnox)
         Status: Confirmed

** Affects: hw-detect (Ubuntu Precise)
     Importance: Undecided
         Status: New

** Affects: hw-detect (Ubuntu Saucy)
     Importance: High
     Assignee: Dmitrijs Ledkovs (xnox)
         Status: Confirmed

** Changed in: hw-detect (Ubuntu)
       Status: New => Confirmed

** Changed in: hw-detect (Ubuntu)
   Importance: Undecided => High

** Changed in: hw-detect (Ubuntu)
     Assignee: (unassigned) => Dmitrijs Ledkovs (xnox)

** Also affects: hw-detect (Ubuntu Precise)
   Importance: Undecided
       Status: New

** Also affects: hw-detect (Ubuntu Saucy)
   Importance: High
     Assignee: Dmitrijs Ledkovs (xnox)
       Status: Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to hw-detect in Ubuntu.
https://bugs.launchpad.net/bugs/1216043

Title:
  driver-inject-disk: in target debs are installed before kernel has
  been

Status in “hw-detect” package in Ubuntu:
  Confirmed
Status in “hw-detect” source package in Precise:
  New
Status in “hw-detect” source package in Saucy:
  Confirmed

Bug description:
  Driver-inject-disk copies the debs in a well known location, and later
  installs them in-target.

  At the moment this is done during post-base-installer.d/* time, which
  is just before the kernel is installed in-target.

  Thus if a deb has dependencies on the correct linux-image-3.x.y-WW-
  generic, it will fail to install & configure at that time.

  A better time to install driver-injection-disk debs would be at pre-
  pkgse.d/* time, since that is after the kernel has been installed but
  before initramfs has been updated in-target.

  I'll propose such a change, but it is probably worth testing with pre-
  existing driver-injection-disks.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hw-detect/+bug/1216043/+subscriptions




More information about the foundations-bugs mailing list