Followup-For: Bug #717495 Patch version 2 - much less intrusive.
Andreas
diff -u bootchart-0.10~svn407/debian/changelog bootchart-0.10~svn407/debian/changelog --- bootchart-0.10~svn407/debian/changelog +++ bootchart-0.10~svn407/debian/changelog @@ -1,3 +1,25 @@ +bootchart (0.10~svn407-4.1~deb7u1) wheezy; urgency=low + + * Rebuild for wheezy. + + -- Andreas Beckmann <a...@debian.org> Sun, 21 Jul 2013 19:17:44 +0200 + +bootchart (0.10~svn407-4.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix the upgrade path lenny (bootchart 0.10~svn407-3) => squeeze (bootchart + 0.10~svn407-3 from lenny because bootchart was not included in squeeze) => + wheezy. The initscript from 0.10~svn407-3 prevents migration to dependency + based boot sequencing causing a sysv-rc upgrade failure. + Add bootchart.preinst to replace the problematic "rmnologin" use in the + ancient /etc/init.d/bootchart because it is impossible to ensure the new + bootchart is already configured (which would replace the old initscript) + at the time sysv-rc gets configured. (Closes: #717495) + * Bump Debian revision to -4.1 to restore installability after recent + initscripts having Breaks: bootchart (<< 0.10~svn407-4). + + -- Andreas Beckmann <a...@debian.org> Sun, 21 Jul 2013 19:16:49 +0200 + bootchart (0.10~svn407-3.3) unstable; urgency=low * Non-maintainer upload. only in patch2: unchanged: --- bootchart-0.10~svn407.orig/debian/bootchart.preinst +++ bootchart-0.10~svn407/debian/bootchart.preinst @@ -0,0 +1,13 @@ +#!/bin/sh +set -e + +if [ "$1" = "install" ] || [ "$1" = "upgrade" ]; then + if dpkg --compare-versions "$2" lt-nl "0.10~svn407-4" ; then + if [ -f /etc/init.d/bootchart ] && grep -q rmnologin /etc/init.d/bootchart ; then + echo "Fixing up old /etc/init.d/bootchart..." + sed -i 's/rmnologin/$all/' /etc/init.d/bootchart + fi + fi +fi + +#DEBHELPER#