add ARMEL support

Bug #573224 reported by Marcin Juszkiewicz
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vm-builder (Ubuntu)
Confirmed
Wishlist
Unassigned

Bug Description

Binary package hint: python-vm-builder

I would like to use vm-builder to generate images for my ARM development. For that I need to generate images for 'armel' architecture which is part of ports.ubuntu.com.

In https://code.launchpad.net/~hrw/ubuntu/lucid/vm-builder/armel-support tree I have first working version which generates armel root filesystem on my x86-64 machine. Revisions 33-36 needs review, 37-38 are hacks to make something working to share with other users.

I added 'qemu' hypervisor but I think that it can be merged into 'kvm' one when I will add mapping of arch<>qemu/kvm binary.

Todo:

- add map of qemu-system-ARCH <> arch mapping (qemu-system-arm for armel, qemu-system-x86-64 for amd64 etc)
- fix kernel installation

I am using that code on fresh Lucid and code changes were done to HEAD of bzr tree (rev 32).

Chuck Short (zulcss)
Changed in vm-builder (Ubuntu):
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Marcin Juszkiewicz (hrw) wrote :

Do not merge that branch - I got nicer implementation but need to test it before releasing

Revision history for this message
Loïc Minier (lool) wrote :

Hey Marcin,

vm-builder 0.12.4 revives QEMU support, see bottom of vm-builder/VMBuilder/plugins/kvm/vm.py:
class QEMu(KVM):
    name = 'QEMu'
    arg = 'qemu'

    def libvirt_domain_type_name(self):
        return 'qemu'

register_hypervisor(KVM)
register_hypervisor(QEMu)

Might be a good time to consider rebasing your patches

Revision history for this message
Loïc Minier (lool) wrote :

NB: vm-builder code wasn't pushed for the new release to lp:vm-builder as of today, I poked Soren to bzr push.

Revision history for this message
Loïc Minier (lool) wrote :

Sorry, I was believing my trunk checkout to be the trunk of vmbuilder, but lp:vmbuilder points at the 0.12 branch which has the latest release.

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.