Cross build support for known archs (with Qemu support) at live-build 3

Registered by Ricardo Salveti

Currently live-build 3 can only support native builds (native bootstrap) while generating a rootfs.

This blueprint is to cover the development to add official support for cross build, when producing rootfs for known archs (ones officially supported by Qemu). This will help users to easily create their own images without the need of using an ARM board.

Blueprint information

Status:
Complete
Approver:
Ricardo Salveti
Priority:
High
Drafter:
Ricardo Salveti
Direction:
Approved
Assignee:
Tom Gall
Definition:
Approved
Series goal:
Accepted for 11.11
Implementation:
Implemented
Milestone target:
milestone icon 11.07
Started by
Ricardo Salveti
Completed by
Tom Gall

Related branches

Sprints

Whiteboard

(rsalveti, Jun 7, 2011) Upstream discussion on the same topic: http://lists.debian.org/debian-live/2011/06/msg00153.html

Headline: live-build 3 is now able to cross build (bootstrap) images to a known arch (Qemu compatible).
Acceptance: Call live-build 3 on an x86 host, generating one Ubuntu LEB rootfs that works the same way as the native-generated images.

(?)

Work Items

Work items:
upgrade live-build3 package from (3.0~a21-1ubuntu9) : DONE
assemble skeleton POC using multistrap + livebuild3 (slighty hardcoded) : DONE
extend live-build3 to be able to use multistrap: DONE
Assemble live config based on developer image as starting point for cross: DONE
extend live-build3 to correctly use qemu etc to complete install / set up of image: DONE
Validate that all repositories are being pulled for as image is assembled: DONE
Successfully be able to build developer image cross: DONE
Validate developer image is correctly assembled (open bugs as necessary): DONE
Assemble live config based on LEB image for cross: DONE
Assemble live config based on nano image for cross: DONE
Successfully be able to build nano image cross: DONE
Validate nano image is correctly assembled (open bugs as necessary): DONE
Assemble live config based on alip image for cross: DONE
Successfully be able to build alip image cross: DONE
Validate alip image is correctly assembled (open bugs as necessary): DONE
Commit configs and live-build changes to bzr: DONE
Create appropriate documentation (probably wiki page) : DONE
Publish to linaro-dev list: DONE

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.