Not able to build armhf or arm64 images on amd64 arch systems.

Bug #1332458 reported by lokesh s
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
diskimage-builder
Fix Released
High
lokesh s

Bug Description

When we run disk image builder on amd64 to build armhf or arm64 images we get this error below.
chroot: failed to run command 'sh': Exec format error

It requies following packages to be installed

gcc-arm-linux-gnueabihf
libc6-dev-armhf-cross
qemu-arm-static

copy the qemu arm binaries to chroot /usr/bin location Then it works.

lokesh s (lokesh-s)
Changed in diskimage-builder:
assignee: nobody → lokesh s (lokesh-s)
Changed in diskimage-builder:
status: New → In Progress
Steve Kowalik (stevenk)
Changed in diskimage-builder:
importance: Undecided → High
Revision history for this message
lokesh s (lokesh-s) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to diskimage-builder (master)

Reviewed: https://review.openstack.org/103483
Committed: https://git.openstack.org/cgit/openstack/diskimage-builder/commit/?id=414edd44c27928eb20a5e8eb758cf6d58bf8c95e
Submitter: Jenkins
Branch: master

commit 414edd44c27928eb20a5e8eb758cf6d58bf8c95e
Author: loki <email address hidden>
Date: Mon Jun 30 13:52:25 2014 +0530

    Provide ability to build images for other architectures

    Adds binaries specified by user to chroot environment
    allowing to build images on amd64,i386,armhf,arm64
    architectures.
    Closes-Bug: #1332458
    Change-Id: If6e63a472ee85559b93b5e6b96d9c3ddcf7bcc98

Changed in diskimage-builder:
status: In Progress → Fix Committed
Jay Dobies (jdob)
Changed in diskimage-builder:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.