From 7e7e2414d7f3e9be3f55c7b5bb848ea5ef1bfbc5 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Sat, 17 Apr 2010 15:30:25 +0000 Subject: [PATCH] linux-base: Fix missing line breaks in updated crypttab (Closes: #577735) svn path=/dists/sid/linux-2.6/; revision=15518 --- debian/changelog | 1 + debian/linux-base.postinst | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 0613aecca..e79d60bfc 100644 --- a/debian/changelog +++ b/debian/changelog @@ -16,6 +16,7 @@ linux-2.6 (2.6.32-12) UNRELEASED; urgency=low conversion - Use vol_id if available since the version of blkid in lenny does not support the output format we need (Closes: #576608) + - Fix missing line breaks in updated crypttab (Closes: #577735) * i915: Stop trying to use ACPI lid status to determine LVDS connection (Closes: #577724) * forcedeth: Fix hardware version check for TX bug workaround diff --git a/debian/linux-base.postinst b/debian/linux-base.postinst index 44c67d47a..cd7d554d2 100644 --- a/debian/linux-base.postinst +++ b/debian/linux-base.postinst @@ -884,7 +884,8 @@ sub cryptsetup_update { my ($text, $dst, $src, $key, $opts) = cryptsetup_next($old); last unless defined($text); if (defined($src) && defined($map->{$src})) { - $text = "# $text" . join(' ', $dst, $map->{$src}, $key, $opts); + $text = "# $text" . + join(' ', $dst, $map->{$src}, $key, $opts) . "\n"; } $new->print($text); }