Mailinglist Archive: opensuse-buildservice (88 mails)

< Previous Next >
Re: [opensuse-buildservice] kiwi prepare call optimization
On Dienstag, 18. Februar 2014, 00:34:05 wrote Kanstantsin Shautsou:
Why OBS call prepare step for every image type?
https://github.com/openSUSE/obs-build/blob/4326a1ae347a8a9cd8abe57433f9beb2d8f7b01c/build_kiwi.sh#L116-L119
According to http://doc.opensuse.org/projects/kiwi/doc :
"Successful completion of the prepare step is a the pre-requisite for the
create step of the image build process. With the successful completion of the
image preparation the unpacked root tree is considered complete and
consistent. Creating the packed, or final image requires the execution of the
create step. Multiple images can be created using the same unpacked root
tree, for example it is possible to create a self installing OEM image and a
virtual machine image from one unpacked root tree, under the condition that
both image types are specified in the config.xml when the prepare step is
executed. “

OBS can copy image tree if it worry about ‘images.sh’ differences between
different image types.

there were times when building the image modified the tree. Maybe not kiwi
itself, but some config.sh scripts or alike.

In any case it was needed to change in the way as it is today.



--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >