Ben Hutchings
3df161c94f
linux-image: Use linux-check-removal command in prerm; remove debconf templates
...
This removes most of the remaining complexity from the script.
2016-06-06 17:21:34 +01:00
Ben Hutchings
e4657e0ec4
linux-image: Rewrite maintainer scripts in shell
...
Use the new linux-update-symlinks command for symlink updates.
Drop support for minimal_swap, no_symlinks, use_hard_links and *_hook
parameters in /etc/kernel-img.conf.
Thanks to Aurelien Jarno and Santiago Vila for pointing out the
ischroot command and that it's in an essential package (i.e. doesn't
add a dependency).
2016-06-05 02:11:44 +01:00
Ben Hutchings
e55913c12b
linux-image: Remove various unused variables in maintainer scripts
2016-05-29 19:46:39 +01:00
Ben Hutchings
9f4d29bb04
linux-image: prerm: Ignore version of running kernel inside a container or chroot
2016-05-27 11:54:02 +01:00
Ben Hutchings
49b5fbab50
linux-image: prerm: Allow removal of running kernel if we can't ask debconf questions
...
Closes : #825423
2016-05-27 11:54:02 +01:00
Ben Hutchings
30ae9b2024
linux-image: Stop setting $STEM in environment for maintainer script hooks
...
This seems to have been a transitional feature for the switch
from kernel-image to linux-image. mkvmlinuz still uses it but
no hook scripts appear to depend on it.
2016-05-27 11:54:02 +01:00
Ben Hutchings
2b5391e7a4
linux-{headers,image}: Remove support for version-specific hooks
...
This was inherited/cargo-culted from kernel-package, undocumented, and
apparently useless.
2016-01-27 19:52:52 +00:00
Ben Hutchings
65d6c09bbd
Remove residual support for multiple image package types
...
We only really support the 'plain' type. Remove all the conditions on
image type and remove 'plain' from all target and file names.
2016-01-27 19:52:52 +00:00
Ben Hutchings
505d7273f9
Move templates into the *right* places
...
...and remove the now-empty directories
svn path=/dists/trunk/linux/; revision=20506
2013-08-17 11:34:07 +00:00
Ben Hutchings
c8f07adb80
Move templates in preparation for using a single template system
...
svn path=/dists/trunk/linux/; revision=20505
2013-08-17 11:30:57 +00:00