From 9e42a00c86e35ab8711266e3504c25818776fdda Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Thu, 12 Jul 2012 19:05:44 +0200 Subject: [PATCH] collectd-core.postinst: Pass --rrd* parameters to migrate-4-5.px. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit … in order to let the script find those binaries/scripts. --- debian/changelog | 4 +++- debian/collectd-core.postinst | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 23f2411..093f375 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,10 @@ collectd (5.1.0-3) UNRELEASED; urgency=low - * debian/patches/migrate-4-5-df.dpatch: + * debian/patches/migrate-4-5-df.dpatch, debian/collectd-core.postinst: - Added patch to fix the migration of 'df' values in migrate-4-5.px; thanks to 'markuskaindl' for reporting this on IRC. + - Pass --rrdfilter and --rrdtool parameters to migrate-4-5.px in order to + let the script find those binaries/scripts. -- Sebastian Harl Thu, 12 Jul 2012 18:57:04 +0200 diff --git a/debian/collectd-core.postinst b/debian/collectd-core.postinst index 78dc785..b42bc6c 100755 --- a/debian/collectd-core.postinst +++ b/debian/collectd-core.postinst @@ -45,7 +45,9 @@ case "$1" in if [ "$RET" = "true" ]; then cp -a /var/lib/collectd/ /var/backups/collectd-"$2" /usr/lib/collectd/utils/migrate-4-5.px \ - -indir /var/lib/collectd/rrd/ | bash + --rrdfilter /usr/lib/collectd/utils/rrd_filter.px \ + --rrdtool /usr/bin/rrdtool \ + --indir /var/lib/collectd/rrd/ | bash fi ;; -- 2.30.2