[sabayon-devel] Molecule 0.3: what's new
Fabio Erculiani
fabio.erculiani at sabayon.org
Sun Oct 25 16:11:51 CET 2009
You may not know that Molecule is our ISO building too. I took a few
hours to extend it a bit (reorganizing the code also) to achieve these
two goals:
- ability to implement custom "executors" (through Pythonic plugins)
to make possible to use Molecule for different purposes: for example,
creating USB bootable storage devices off an ISO image or customizing
existing ISO images too.*
- implement a new spec file plugin called "iso_remaster". The concept
is simple: you write a spec file (see: [1]) telling Molecule to unpack
an ISO image, add packages to the compressed squashfs and repack
everything back into a new ISO.
I will use the new iso_remaster spec file plugin to create the new
Gaming Edition off Sabayon 5.1 ISO images. This feature could be used
by everybody to build custom ISO images. (Again, see the example [1])
A side effect of my code reorganizing work has been the addition of
API documentation (in the code [2]).
Even if there's no user manual yet, it's very simple to understand how
molecule works, you just need to follow the example spec files
provided in the codebase dir called "examples" [3].
[1] http://gitweb.sabayon.org/?p=molecule.git;a=blob_plain;f=examples/specs/5-x86-g-remaster-add-games.spec;hb=eb700e51331e06ad234d6f36708b9ae5fd6abb52
[2] http://gitweb.sabayon.org/?p=molecule.git;a=summary
[3] http://gitweb.sabayon.org/?p=molecule.git;a=tree;f=examples;h=0e47fb9fd4581c2dacfcb2e2b20c6a893c700d0a;hb=HEAD
* The Plugin factory hasn't been committed yet (so it's not in 0.3)
but it will be soon (code is already in Entropy, so it's just a matter
of copying it over).
--
Fabio Erculiani
http://www.sabayon.org
Gentoo KDE/Portage herd
http://www.gentoo.org
More information about the devel
mailing list