[Vmdebootstrap-devel] Modular refactoring of vmdebootstrap

Neil Williams codehelp at debian.org
Wed Sep 2 23:08:32 UTC 2015


There's a new branch available which will form the basis of
vmdebootstrap 1.0.

http://git.liw.fi/cgi-bin/cgit/cgit.cgi/vmdebootstrap/log/?h=codehelp/modules

This brings vmdebootstrap back into a usable form - from 45k to 24k
(down to under 600 lines), moving code into a new vmdebootstrap module
based on a set of specific handlers. The largest block of code
remaining is the settings parser. The top level script is where
functions are able to call multiple handlers from the module. Module
handlers themselves only have reference to the settings, their own
code and constants.

Also new is a common/ directory which arises from tests done with
debian-cd and some documentation (sphinx .rst format) on how
vmdebootstrap can be used to create task-based images.

Limited testing has been done with the branch, it runs the basic tests
fine, including wheezy amd64, jessie amd64, grub, arm64 and uefi.

The current examples scripts will be ported to common/ at some point,
so that these are more than simple demonstrations of vmdebootstrap
options and actually long term usable builds.

I'm also investigating something like jenkins to do test builds of
vmdebootstrap images using the scripts in common/ and possibly boot
testing those in LAVA but there are issues there with EFI, non-free and
graphics requirements.

I expect to merge this branch and upload vmdebootstrap 1.0 in a few
weeks.

-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/vmdebootstrap-devel/attachments/20150903/92047c0a/attachment.sig>


More information about the Vmdebootstrap-devel mailing list