linux/debian/templates
Ben Hutchings 8ed7991db8 linux-image: Make a newly installed kernel the default if the package was previously removed
Currently the postinst script distinguishes installation vs upgrade by
checking whether its second argument is empty.  However, it will only
be empty if the package was *never* installed before, or was purged.
If the package has been installed, then removed, and is now being
installed again, it's seen as an upgrade.

Unfortunately dpkg only tells the preinst script whether or not this
is an upgrade.  So create a flag file there, consume it in postinst
and remove it in postrm.
2016-06-05 02:11:45 +01:00
..
image.bug bug control: Update list of related firmware packages 2016-05-02 21:25:40 +02:00
po [mips*] linux-image: Remove debconf question for requirement of initramfs 2016-01-27 19:52:52 +00:00
control.docs.in debian/control,debian/rules,debian/rules.d: Support the 'nodoc' build profile 2016-05-15 03:11:42 +01:00
control.extra.in Compile with gcc-5 on all architectures 2016-02-15 18:48:03 +00:00
control.headers.arch.in debian/control,debian/rules: Support a 'stage1' build profile (Closes: #695243) 2015-11-10 13:34:39 +00:00
control.headers.featureset.in debian/control,debian/rules: Support a 'stage1' build profile (Closes: #695243) 2015-11-10 13:34:39 +00:00
control.headers.in debian/control,debian/rules: Support a 'stage1' build profile (Closes: #695243) 2015-11-10 13:34:39 +00:00
control.image-dbg.in debian/control,debian/rules: Support a 'stage1' build profile (Closes: #695243) 2015-11-10 13:34:39 +00:00
control.image.in linux-image: Rewrite maintainer scripts in shell 2016-06-05 02:11:44 +01:00
control.libc-dev.in debian/rules.real: Remove support for pre-multiarch dpkg 2013-07-02 05:06:18 +00:00
control.main.in W: linux-tools source: debhelper-but-no-misc-depends libcpupower-dev 2016-03-20 16:04:38 +00:00
control.source.in [mips{,64}r6{,el}] Add kernel flavours for the Malta platform; build linux-libc-dev and tools packages 2016-05-23 23:03:41 +01:00
control.tools.in [mips{,64}r6{,el}] Add kernel flavours for the Malta platform; build linux-libc-dev and tools packages 2016-05-23 23:03:41 +01:00
control.xen-linux-system.in debian/control,debian/rules: Support a 'stage1' build profile (Closes: #695243) 2015-11-10 13:34:39 +00:00
headers.postinst.in linux-headers: Make postinst script less verbose (see: #734266) 2016-01-27 19:52:52 +00:00
image-dbg.lintian-override.in Use only one template syntax 2013-08-17 11:35:06 +00:00
image.postinst.in linux-image: Make a newly installed kernel the default if the package was previously removed 2016-06-05 02:11:45 +01:00
image.postrm.in linux-image: Make a newly installed kernel the default if the package was previously removed 2016-06-05 02:11:45 +01:00
image.preinst.in linux-image: Make a newly installed kernel the default if the package was previously removed 2016-06-05 02:11:45 +01:00
image.prerm.in linux-image: Rewrite maintainer scripts in shell 2016-06-05 02:11:44 +01:00
image.templates.in [mips*] linux-image: Remove debconf question for requirement of initramfs 2016-01-27 19:52:52 +00:00
lintian-overrides.perf.in linux-perf: Override lintian errors for perf-read-vdso{,x}32 in 64-bit packages 2016-03-20 19:08:47 +00:00
tests-control.main.in selftests: Run non-default tests 2015-10-31 22:17:39 +00:00