diff -Nru kexec-tools-20090000/debian/changelog kexec-tools-20090000/debian/changelog --- kexec-tools-20090000/debian/changelog 2009-04-28 17:35:57.000000000 +0100 +++ kexec-tools-20090000/debian/changelog 2009-04-28 19:41:18.000000000 +0100 @@ -1,3 +1,15 @@ +kexec-tools (20090000-2.0.0ubuntu5) karmic; urgency=low + + * debian policy forbids dpkg conffile handling and maintainer script + configuration in the same package as this leads to inconsistant behaviour + between apt-get install and dpkg -i installs of the same package. Switch + wholy to the maintainer script. LP: #368745 + * kexec reboot has been enabled by default whereas it should have been + opt-in, it is therefore appropriate to force this off for upgrades from + older versions. LP: #251242 + + -- Andy Whitcroft Tue, 28 Apr 2009 19:21:30 +0100 + kexec-tools (20090000-2.0.0ubuntu4) karmic; urgency=low * kexec based reboot triggers a number of semantic changes which diff -Nru kexec-tools-20090000/debian/kexec.default kexec-tools-20090000/debian/kexec.default --- kexec-tools-20090000/debian/kexec.default 2009-04-28 17:35:48.000000000 +0100 +++ kexec-tools-20090000/debian/kexec.default 1970-01-01 01:00:00.000000000 +0100 @@ -1,12 +0,0 @@ -# Defaults for kexec initscript -# sourced by /etc/init.d/kexec and /etc/init.d/kexec-load - -# Load a kexec kernel (true/false) -LOAD_KEXEC=false - -# Kernel and initrd image -KERNEL_IMAGE="/vmlinuz" -INITRD="/initrd.img" - -# If empty, use current /proc/cmdline -APPEND="" diff -Nru kexec-tools-20090000/debian/kexec-tools.config kexec-tools-20090000/debian/kexec-tools.config --- kexec-tools-20090000/debian/kexec-tools.config 2009-03-03 20:09:04.000000000 +0000 +++ kexec-tools-20090000/debian/kexec-tools.config 2009-04-28 19:31:12.000000000 +0100 @@ -16,6 +16,14 @@ else db_set kexec-tools/load_kexec "true" fi + + # Up to version below we have been setting kexec reboot as enabled + # which is not an appropriate default. When upgrading from older + # versions it is appropriate to force this element off as most + # users will have been opted in without their knowledge. LP: #251242 + if dpkg --compare-versions "$2" lt 20090000-2.0.0ubuntu3.1; then + db_set kexec-tools/load_kexec false + fi fi # Setup and select the configuration mode diff -Nru kexec-tools-20090000/debian/kexec-tools.postinst kexec-tools-20090000/debian/kexec-tools.postinst --- kexec-tools-20090000/debian/kexec-tools.postinst 2009-03-03 20:09:04.000000000 +0000 +++ kexec-tools-20090000/debian/kexec-tools.postinst 2009-04-28 19:13:43.000000000 +0100 @@ -69,7 +69,7 @@ # sourced by /etc/init.d/kexec and /etc/init.d/kexec-load # Load a kexec kernel (true/false) -LOAD_KEXEC=true +LOAD_KEXEC=false # Kernel and initrd image KERNEL_IMAGE="/vmlinuz"