Package: kernel-package Version: 12.032 Tag: patch Hi,
When I try to specify a --revision of 0, make-kpkg ends up using the default revision instead. This occurs because make-kpkg tests whether Perl thinks that $revision is true, instead of whether it's been defined. The attached patch changes this behavior. -- Matt http://ftbfs.org/kraai
diff -ru kernel-package-12.032~/make-kpkg kernel-package-12.032/make-kpkg --- kernel-package-12.032~/make-kpkg 2010-01-23 09:00:29.000000000 -0800 +++ kernel-package-12.032/make-kpkg 2010-01-23 09:00:50.000000000 -0800 @@ -44,7 +44,7 @@ my $noexec; my $verbose; my $initrd=0; -my $revision=0; +my $revision; my $root_cmd; my $signature="" ; my $subarch=''; @@ -797,7 +797,7 @@ $alt_cmd .= "debian"; } - if ($revision) { + if (defined($revision)) { if ($Targets !~ m/^\s*clean\s*$/) { # No need to do all this for just clean $command .= " DEBIAN_REVISION=$revision "; $alt_cmd .= " DEBIAN_REVISION=$revision ";