~paelzer/uvtool:uvt-improvements-eoan

Last commit made on 2019-10-23
Get this branch:
git clone -b uvt-improvements-eoan https://git.launchpad.net/~paelzer/uvtool
Only Christian Ehrhardt  can upload to this branch. If you are Christian Ehrhardt  please log in for upload directions.

Branch merges

Branch information

Name:
uvt-improvements-eoan
Repository:
lp:~paelzer/uvtool

Recent commits

a2985e2... by Christian Ehrhardt 

py3fixup: avoid new UnboundLocalError

Signed-off-by: Christian Ehrhardt <email address hidden>

7b7bea5... by Christian Ehrhardt 

py3fixup: check_output is bytes now, adapt get_latest_q35_type

Signed-off-by: Christian Ehrhardt <email address hidden>

89974af... by Christian Ehrhardt 

uvt-kvm: add support to run armhf as emulation

A feature very handy in debugging is to run cross arch, especially for
things not easily available in clouds. Therefore add armhf as emulation
target.

Signed-off-by: Christian Ehrhardt <email address hidden>

8895f3b... by Robie Basak

Drop unnecessary import

11446af... by Christian Ehrhardt 

kvm: provide a guest-agent channel

While people could always edit the file per [1] later on and reboot this
allows the usage of qemu-guest-agent without modification.

[1]: http://wiki.stoney-cloud.org/wiki/Qemu_Guest_Agent_Integration

Signed-off-by: Christian Ehrhardt <email address hidden>

24acd6f... by Christian Ehrhardt 

x86: by default select a modern q35 based machine type

Signed-off-by: Christian Ehrhardt <email address hidden>

d66ce42... by Christian Ehrhardt 

helper function platform_arch_to_image_arch

Translating between python and simplestreams/images arch names.

Signed-off-by: Christian Ehrhardt <email address hidden>

803a191... by Robie Basak

Merge branch 'python3'

This branch breaks things until it is done, so I am forcing a merge
commit to try and help with any future archaeology. Keeping everything
working on every commit would have necessitated dual 2/3 code, which
wasn't worth doing.

6d06810... by Robie Basak

Fix argument parsing with no arguments

There seems to have been an accidental API break in the Python argparse
stdlib module when they added support for optional subparsers:

    https://bugs.python.org/issue9253#msg181855

This is a compatible workaround to restore expected behaviour.

Credit to Andreas Hasenack's comprehensive testing for finding this bug
during the testing of the Python 3 port.

fd39388... by Robie Basak

Move shebangs to Python 3

Some of these seem unnecessary, but they can be fixed in separate
refactoring branches; this change is limited to the scope of the Python
3 port only.