[elbe-devel] buildchroot subcommand missing in elbe v1.1 (Debian jessie)
Torben Hohn
torben.hohn at linutronix.de
Tue Mar 7 13:09:57 CET 2017
Hello Lukasz,
On Tue, Mar 07, 2017 at 09:39:54AM +0000, Lukasz Walewski wrote:
> All right, thanks, that was the missing piece in my puzzle!
>
> To summarize, the way to go is to create an instance of 'initvm' using 'elbe initvm create' and then build the RFS image by submitting the XML file to that 'initvm' using 'elbe initvm submit'. In order to use the 'elbe buildchroot' subcommand directly one would need to install the elbe-buildenv package on the host machine, which is not really meant for that. Otherwise the 'high level' commands should do for normal usage. Right?
>
> Now, my workflow involves potential improvements in the RFS, which need to be continuously integrated into the company's deployment system. Obviously I would like to save the cost of creating and destroying the 'initvm' on the build host upon every incoming change in the XML, archive, etc. Optimal would be to run the 'initvm' as an operating system service, which would be started at OS startup (e.g. from one of the /etc/init.d scripts) and located in some well defined/configurable directory (e.g. /var/run/elbe). That would guarantee the availability of the 'initvm' in case of an automatic reboot of the build host after a failure, etc. Thus the follow-up question: is there a mechanism implemented for such a use case?
The initvm only needs to be created once.
It will get reused for all subsequent submit calls.
In order to restart an initvm after a reboot, "elbe initvm start" can be
used. It needs the same --directory parameter that was used for
"elbe initvm create".
We do not ship an initscript. But you basically only need to call
"elbe initvm start --directory <path/to/initvm>" from your initscript.
--
Mit freundlichen Grüßen
Torben Hohn
Linutronix GmbH
Standort: Bremen
Phone: +49 7556 25 999 18; Fax.: +49 7556 25 999 99
Firmensitz / Registered Office: D-88690 Uhldingen, Bahnhofstr. 3
Registergericht / Local District Court: Amtsgericht Freiburg i. Br.; HRB
Nr. / Trade register no.: 700 806
Geschäftsführer / Managing Directors: Heinz Egger, Thomas Gleixner
Eine Bitte von uns: Sollten Sie diese E-Mail irrtümlich erhalten haben,
benachrichtigen Sie uns in diesem Falle bitte sobald wie es Ihnen
möglich ist, durch Antwort-Mail. Vielen Dank!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.linutronix.de/pipermail/elbe-devel/attachments/20170307/827263b8/attachment.sig>
More information about the elbe-devel
mailing list