[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#755498: elilo: Add a Built-Using field for gnu-efi



Package: elilo
Severity: serious
Justification: Policy 7.8

Your package build-depends against gnu-efi. As such, the produced
binary package incorporates code from the static library gnu-efi
provides.

Policy 7.8 specifies that a package must list all packages incorporated
during the build.

I applied the following patch to gummiboot which was also affected by
this, you can use that as a starting point.

You also want to make sure not to build against gnu-efi (<< 3.0v-5~),
as the older 3.0v versions are broken.

diff --git a/debian/control b/debian/control
index 061d24c..cb046be 100644
--- a/debian/control
+++ b/debian/control
@@ -12,6 +12,7 @@ Homepage: http://freedesktop.org/wiki/Software/gummiboot/
 Package: gummiboot
 Architecture: i386 amd64 x32 ia64
 Depends: ${misc:Depends}, ${shlibs:Depends}
+Built-Using: ${misc:Built-Using}
 Pre-Depends: systemd
 Multi-Arch: foreign
 Description: Simple UEFI bootloader
diff --git a/debian/rules b/debian/rules
index d367029..a98c06e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,3 +4,7 @@
 
 override_dh_auto_configure:
        dh_auto_configure -- --disable-silent-rules
+
+override_dh_gencontrol:
+       dh_gencontrol -- -Vmisc:Built-Using="$(shell dpkg-query -W \
+               -f='$${source:Package} (= $${source:Version})' gnu-efi)"



-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (980, 'unstable'), (500, 'unstable'), (100, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16-rc5-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.

Be friendly, do not top-post, and follow RFC 1855 "Netiquette".
    - If you don't I might ignore you.


Reply to: