[Vmdebootstrap-devel] Changing the squash behaviour

Neil Williams codehelp at debian.org
Wed Nov 4 16:40:58 UTC 2015


Turns out that squashing an image doesn't really gain anything in terms
of the intended goal of creating a squashfs that can be used to boot a
machine. It was a mistake to base the squashfs on an image, what is
needed is for the squashfs to be based on a tree.

To achieve the original goal, squashfs needs to squash the rootfs (not
an image) and the boot files (/boot/* and /boot/efi/*) need to be
copied out of the squashfs to be available to boot the device.

What vmdebootstrap will not do is then prepare a genisoimage or xorriso
image - the typical use case for that involves adding more content
(like a menu and/or DI) which is out of scope for vmdebootstrap.
However, we will be looking at these steps in the upcoming
vmdebootstrap sprint at the miniDebconf. (One tool, one job etc.) It is
this wrapper which will then read the configuration matrix (yet to be
created), call vmdebootstrap and then combine the output files to
create a usable live image.

-- 


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/20151104/ca94ffb2/attachment.sig>


More information about the Vmdebootstrap-devel mailing list