@ Andy Whitcroft:
- in the commit d7235802d7735e53936c5ccfbe9e071021b394fb you write regarding 
linux-image-extra:
"As it also depends on linux-image we know that linux-image will have been 
installed before it, and will be removed after it."
The last part is not correct. We have no way of knowing, if the linux-image 
will be removed as well. Please see 
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1440608/comments/37 for a 
more detailed reasoning.

Since all we need on installation and removal of linux-image-extras is a
rebuild of the corresponding version of the initrd, I would say this is
all we should do. And not abuse and run all of the kernel post-install
hooks on both occasions. At least on my systems I don't see any good
reason to run any of the other hooks.

Please see the attached patch for the postinst and postrm hooks for the
-extra package.

Regards,
Robert.

** Patch added: "Updated postinst and postrm hooks for -extra package to only 
recreate the initrd"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1375310/+attachment/4551893/+files/update-only-initrd-for-extra-package.patch

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

Title:
  Removing linux-image-extra-X-generic deletes initramfs

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to