Using <type image="oem" installpxe="true".....> vs <...installiso="true"

51 views
Skip to first unread message

J. Mixer

unread,
Jul 6, 2022, 6:32:33 PM7/6/22
to kiwi
Hello all,

The current Kiwi documentation (9.24.44) states that the output files of the kiwi-ng "create" step should be different. (installiso="true" should create a final install.iso file and the installpxe="true" should create an install.tar.xz file.)

Changing between these options always yields the install.iso file. Is this just an undocumented change?  I am only running the 9.24.41 version of all the Kiwi tools on openSUSE 15.3 which may be the problem.

I have attached my config.xml to this conversation.

Regards,

J.
config.xml

Marcus Schäfer

unread,
Jul 8, 2022, 3:12:53 AM7/8/22
to kiwi-...@googlegroups.com
Hi,

> The current Kiwi documentation (9.24.44) states that the output files
> of the kiwi-ng "create" step should be different. (installiso="true"
> should create a final install.iso file and the installpxe="true" should
> create an install.tar.xz file.)

yes

> Changing between these options always yields the install.iso file.

Hmm, I cannot reproduce this. We have one integration test for installpxe
here:

https://build.opensuse.org/package/show/Virtualization:Appliances:Images:Testing_x86:tumbleweed/test-image-orthos

It doesn't matter for which distro this builds as the behavior in
kiwi for the results is the same. So of you look at the result of
this test you see:

osc rbl Virtualization:Appliances:Images:Testing_x86:tumbleweed test-image-orthos images x86_64

[ 760s] ### VM INTERACTION END ###
[ 760s] build: extracting built packages...
[ 761s] KIWI/kiwi-test-image-orthos.x86_64-1.13.1-Build28.7.install.tar
[ 761s] KIWI/kiwi-test-image-orthos.x86_64-1.13.1-Build28.7.install.tar.sha256
[ 761s] KIWI/kiwi-test-image-orthos.x86_64-1.13.1-Build28.7.packages
[ 761s] KIWI/kiwi-test-image-orthos.x86_64-1.13.1-Build28.7.raw.xz
[ 761s] KIWI/kiwi-test-image-orthos.x86_64-1.13.1-Build28.7.raw.xz.sha256
[ 761s] KIWI/kiwi-test-image-orthos.x86_64-1.13.1-Build28.7.verified
[ 761s] OTHER/_statistics

This is the typically result list for installpxe="true"

I assume if you get both results .install.iso and .install.tar your
build for some reason builds the two profiles "pxe" and "bos" together
or you run --create for the bos profile after you had done a --create
for the "pxe" profile or vice versa, such that the former results are
still present ?

Just playing the guessing game but I'm relatively convinced
that adding installpxe does not implicitly add installiso. These
are also two different builders in the kiwi code

Thoughts ?

Regards,
Marcus
--
Public Key available via: https://keybase.io/marcus_schaefer/key.asc
keybase search marcus_schaefer
-------------------------------------------------------
Marcus Schäfer Brunnenweg 18
Tel: +49 7562 905437 D-88260 Argenbühl
Germany
-------------------------------------------------------
signature.asc

J. Mixer

unread,
Jul 9, 2022, 4:11:47 PM7/9/22
to kiwi


On Friday, July 8, 2022 at 1:12:53 AM UTC-6 Marcus wrote:
Hi,

> Changing between these options always yields the install.iso file.

Hmm, I cannot reproduce this. We have one integration test for installpxe
here:

https://build.opensuse.org/package/show/Virtualization:Appliances:Images:Testing_x86:tumbleweed/test-image-orthos

I assume if you get both results .install.iso and .install.tar your
build for some reason builds the two profiles "pxe" and "bos" together
or you run --create for the bos profile after you had done a --create
for the "pxe" profile or vice versa, such that the former results are
still present ?
 
No, The result was only an ISO and the .raw file (and the status files you produce.) I have "messed up" the config.xml somehow.

Just playing the guessing game but I'm relatively convinced
that adding installpxe does not implicitly add installiso. These
are also two different builders in the kiwi code

Thoughts ?
I used your example from test-image-orthos and I fixed the problem.
Here is the line that did NOT work:
    <preferences profiles="pxe">
        <type image="oem" installpxe="true" bootpartition="true" filesystem="ext4" firmware="uefi" kernelcmdline="rd.kiwi.oem.maxdisk=1100G" installboot="install">

and the lines that worked:
     <preferences profiles="pxe">
        <type image="oem" filesystem="ext4" firmware="uefi" kernelcmdline="rd.kiwi.oem.maxdisk=1100G" installboot="install" installpxe="true">

I removed the "bootpartition="true" and moved the installpxe="true" to the end of the type options. I'm not going to question why, but just be happy that it worked. Thanks for the example!

Regards,

J.


Reply all
Reply to author
Forward
0 new messages