--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: elilo: Add a Built-Using field for gnu-efi
- From: Julian Andres Klode <jak@debian.org>
- Date: Mon, 21 Jul 2014 13:47:37 +0200
- Message-id: <20140721134400.GA13300@debian.org>
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.
--- End Message ---