diff --git a/debian/changelog b/debian/changelog index 1f2daef93..230906522 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ linux-2.6 (2.6.33-1~experimental.3) UNRELEASED; urgency=low [ Ben Hutchings ] * Fix regexp for binNMU versions in modules/rules.include (Closes: #524632) + * Fix calls to disk_id_to_path (renamed to id_to_path) in linux-base + (Closes: #572283) -- Ben Hutchings Sun, 28 Feb 2010 17:01:33 +0000 diff --git a/debian/linux-base.postinst b/debian/linux-base.postinst index c3e0841ea..ad0157168 100644 --- a/debian/linux-base.postinst +++ b/debian/linux-base.postinst @@ -490,8 +490,7 @@ sub lilo_update { if ($name eq 'boot') { # 'boot' is used directly by the lilo command, which # doesn't use libblkid - $new_value = - $map->{$value} && disk_id_to_path($map->{$value}); + $new_value = $map->{$value} && id_to_path($map->{$value}); } elsif ($name eq 'root') { # 'root' adds a root parameter to the kernel command # line @@ -724,8 +723,7 @@ sub delo_update { if ($name eq 'label') { ++$i; # next entry } elsif ($name eq 'boot' && $i < 0) { - my $new_value = - $map->{$value} && disk_id_to_path($map->{$value}); + my $new_value = $map->{$value} && id_to_path($map->{$value}); if (defined($new_value)) { $text = "# $text" . "boot=$new_value\n"; }