[elbe-devel] [PATCH 0/2] allow creating iso images that include the sysroot packages
Manuel Traut
manut at linutronix.de
Fri Jun 8 11:29:42 CEST 2018
currently the bin-cdrom.iso and source isos only contain the packages used
to build the initvm and the target RFS.
The source iso images can be used for providing the source code used on a
target system and the bin-cdrom.iso to rebuild the initvm and target system.
If elbe is used for other tasks. e.g. generating a target sysroot, it is done
after the target RFS was built. The ISO generation is currently hardly bound
to the target-RFS-build-job. Therefore the packages needed for the sysroot
can't be on the images.
This series doesn't change the current behaviour, but it allows building iso
images via the SOAP interface. Because the sysroot packages are installed into
the same chroot that is used to generate the target image, it is now possible
to generate iso images including the packages that were used to generate the
sysroot:
$ elbe initvm submit --keep-files --skip-build-bin --skip-build-sources my.xml
$ elbe control build_sysroot /var/cache/elbe/<uuid>
$ elbe control build_cdroms /var/cache/elbe/<uuid>
$ elbe control get_files --output cdroms /var/cache/elbe/<uuid>
Note: this currently just works for the packages used to build the sysroot.
Not for packages used to build pbuilder, SDK, etc. For this further changes
are needed.
Regards,
Manuel
Manuel Traut (2):
elbeproject: split build_cdroms() out of build()
allow building cdroms via soap interface
elbepack/asyncworker.py | 26 ++++++++++++++++
elbepack/daemons/soap/esoap.py | 7 +++++
elbepack/elbeproject.py | 55 ++++++++++++++++++----------------
elbepack/projectmanager.py | 7 ++++-
elbepack/soapclient.py | 21 +++++++++++++
5 files changed, 89 insertions(+), 27 deletions(-)
--
2.17.1
More information about the elbe-devel
mailing list