[elbe-devel] [PATCH] debianize/kernel: fix amd64 builds

John Ogness john.ogness at linutronix.de
Wed Aug 17 02:31:12 CEST 2016


For Debian the architecture is called amd64, but for the kernel it
is called x86_64.

Signed-off-by: John Ogness <john.ogness at linutronix.de>
---
 elbepack/debianize/kernel.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/elbepack/debianize/kernel.py b/elbepack/debianize/kernel.py
index f3916f8..00171ae 100644
--- a/elbepack/debianize/kernel.py
+++ b/elbepack/debianize/kernel.py
@@ -56,6 +56,8 @@ class Kernel (DebianizeBase):
             self.deb['k_arch'] = 'arm'
         elif self.deb['p_arch'] == 'armel':
             self.deb['k_arch'] = 'arm'
+        elif self.deb['p_arch'] == 'amd64':
+            self.deb['k_arch'] = 'x86_64'
         else:
             self.deb['k_arch'] = self.deb['p_arch']
 
-- 
2.8.1




More information about the elbe-devel mailing list