The following commit has been merged in the master branch:
commit b29edb23b39f8d4b699408164392ae919fe96a6c
Author: Guillem Jover <[EMAIL PROTECTED]>
Date:   Thu Feb 7 04:07:09 2008 +0200

    dpkg-gencontrol: Do not output the Homepage field on udeb

diff --git a/ChangeLog b/ChangeLog
index bcfbdf0..9b394b4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-02-07  Guillem Jover  <[EMAIL PROTECTED]>
+
+       * scripts/dpkg-gencontrol.pl: Do not output the Homepage field on udeb.
+
 2008-02-04  Guillem Jover  <[EMAIL PROTECTED]>
 
        * libcompat/Makefile.am (localedir): Remove unused variable.
diff --git a/debian/changelog b/debian/changelog
index 9c0bcee..af5dac9 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 c6e38cc..93aca3f 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});

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to