From: Guillem Jover Date: Thu, 7 Feb 2008 02:07:09 +0000 (+0200) Subject: dpkg-gencontrol: Do not output the Homepage field on udeb X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b29edb23b39f8d4b699408164392ae919fe96a6c;p=dpkg dpkg-gencontrol: Do not output the Homepage field on udeb --- diff --git a/ChangeLog b/ChangeLog index bcfbdf05..9b394b40 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-02-07 Guillem Jover + + * scripts/dpkg-gencontrol.pl: Do not output the Homepage field on udeb. + 2008-02-04 Guillem Jover * libcompat/Makefile.am (localedir): Remove unused variable. diff --git a/debian/changelog b/debian/changelog index 9c0bcee8..af5dac9f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -14,6 +14,7 @@ dpkg (1.14.17) UNRELEASED; urgency=low * Add Raphael Hertzog to Uploaders, and remove Brendan O'Dea and Christian Perrier with their permission. * Use functions from libcompat when those are not provided by the system. + * Change dpkg-gencontrol to not output the Homapage field on udeb. [ Raphael Hertzog ] * Add a warning displayed by dpkg-genchanges if the current version is diff --git a/scripts/dpkg-gencontrol.pl b/scripts/dpkg-gencontrol.pl index c6e38cc8..93aca3f1 100755 --- a/scripts/dpkg-gencontrol.pl +++ b/scripts/dpkg-gencontrol.pl @@ -267,7 +267,9 @@ $oppackage = $fields->{'Package'}; $package_type = $fields->{'Package-Type'} if (defined($fields->{'Package-Type'})); -if ($package_type ne 'udeb') { +if ($package_type eq 'udeb') { + delete $fields->{'Homepage'}; +} else { for my $f (qw(Subarchitecture Kernel-Version Installer-Menu-Item)) { warning(_g("%s package with udeb specific field %s"), $package_type, $f) if defined($fields->{$f});