From 681a995c329e25534be3eaff16be11e4562d5991 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Mar 21 2016 20:05:49 +0000 Subject: set the arch in the tdl to be compatibile with qemu as 32 bit arm can run hardware or software floating point code, we have a bunch of arches that are not exactly real to differenciate and keep installs sane. qemu only understands armv7l, so we need to always use armv7l for virt on 32 bit arm Signed-off-by: Dennis Gilmore --- diff --git a/builder/kojid b/builder/kojid index a7bc06d..7b88252 100755 --- a/builder/kojid +++ b/builder/kojid @@ -2952,6 +2952,10 @@ class OzImageTask(BaseTaskHandler): # image and attempt to ssh in. This breaks docker image creation. # TODO: intelligently guess the distro based on the install tree URL distname, distver = self.parseDistro(self.opts.get('distro')) + if self.arch in ['armhfp','armv7hnl','armv7hl']: + arch = 'armv7l' + else: + arch = self.arch template = """