[elbe-devel] [PATCH 1/2] debianize: kernel: control.mako: try lzop multiarch variant first

Steffen Kothe steffen.kothe at linutronix.de
Mon Apr 12 08:01:51 CEST 2021


Since Debian 11 'Bullseye', Multi-Arch: foreign is set on lzop binary
package which leads to a build error in the pbuilder when the used
kernel package was debianized with ELBE itself.

The build dependency on pkg 'lzop' is unmet then.

Multi-Arch: foreign and ':native' seems to conflict with each other
so lets get rid of it with an OR listing in the build dependencies.

This also keeps compatibility to previous Debian versions without lzop
Multi-Arch binary pkgs.

References:
[1] https://wiki.debian.org/Multiarch/MissingRationale#Why_do_M-A:foreign_packages_not_satisfy_:native_qualified_dependencies_in_build-dependencies.3F

Signed-off-by: Steffen Kothe <steffen.kothe at linutronix.de>
---
 elbepack/makofiles/debianize/kernel/control.mako | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/elbepack/makofiles/debianize/kernel/control.mako b/elbepack/makofiles/debianize/kernel/control.mako
index 7ac8d49a5..5016330d5 100644
--- a/elbepack/makofiles/debianize/kernel/control.mako
+++ b/elbepack/makofiles/debianize/kernel/control.mako
@@ -9,7 +9,7 @@ Source: linux-${k_version}-${p_name}
 Section: kernel
 Priority: optional
 Maintainer: ${m_name} <${m_mail}>
-Build-Depends: debhelper (>= 9), bc, rsync, kmod, cpio, bison, flex | flex:native, libelf-dev:native, libssl-dev:native, lzop:native, u-boot-tools
+Build-Depends: debhelper (>= 9), bc, rsync, kmod, cpio, bison, flex | flex:native, libelf-dev:native, libssl-dev:native, lzop | lzop:native, u-boot-tools
 Standards-Version: 3.8.4
 Homepage: http://www.kernel.org/
 
-- 
2.20.1



More information about the elbe-devel mailing list