[elbe-devel] [PATCH] debianize kernel: add libelf-dev builddep for CONFIG_UNWINDER_ORC

Torben Hohn torben.hohn at linutronix.de
Wed Aug 8 11:01:11 CEST 2018


new kernels have the ORC unwinder. it needs libelf-dev installed.

----------------------------------------------------------------
linux/Makefile:954: *** "Cannot generate ORC metadata for
  CONFIG_UNWINDER_ORC=y, please install libelf-dev,
  libelf-devel or elfutils-libelf-devel".  Stop.
----------------------------------------------------------------

add libelf-dev to Build-Depends: in generated control file.

Signed-off-by: Torben Hohn <torben.hohn 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 fffdd70e..b5349fab 100644
--- a/elbepack/makofiles/debianize/kernel/control.mako
+++ b/elbepack/makofiles/debianize/kernel/control.mako
@@ -9,7 +9,7 @@ Source: linux-${p_name}-${k_version}
 Section: kernel
 Priority: optional
 Maintainer: ${m_name} <${m_mail}>
-Build-Depends: debhelper (>= 9), bc
+Build-Depends: debhelper (>= 9), bc, libelf-dev
 Standards-Version: 3.8.4
 Homepage: http://www.kernel.org/
 
-- 
2.11.0




More information about the elbe-devel mailing list