include packages

23 views
Skip to first unread message

George Kraft

unread,
Aug 9, 2022, 11:35:34 AM8/9/22
to kiwi
I'm using kiwi-ng 9.24.45 and I'm trying to include my package list.

<include from="this://packages.xml"/>

My packages.xml file looks like...

<packages type="image">
<package name="patterns-base-base"/>
<package name="systemd"/>
<package name="iputils"/>
<package name="vim"/>
<package name="grub2"/>
<package name="grub2-x86_64-efi" arch="x86_64"/>
<package name="grub2-i386-pc"/>
<package name="syslinux"/>
<package name="lvm2"/>
<package name="plymouth"/>
<package name="fontconfig"/>
<package name="fonts-config"/>
<package name="parted"/>
<package name="openssh"/>
<package name="iproute2"/>
<package name="yast2-network"/>
<package name="bash-completion"/>
<package name="bind-utils"/>
<package name="dhcp-client"/>
<package name="kernel-default"/>
<package name="timezone"/>
<package name="dracut-kiwi-oem-repart"/>
<package name="dracut-kiwi-oem-dump"/>
</packages>

However, I'm getting the following error.

[ ERROR   ]: 11:20:35 | KiwiRuntimeError:

Required dracut module package missing in package list

The package 'dracut-kiwi-oem-dump' is required to build an installation
image for the selected oem image type. Please add the
following in your <packages type="image"> section to
your system XML description:

<package name="dracut-kiwi-oem-dump"/>


Please advise.   Thanks.

George (gk4)

Marcus Schäfer

unread,
Aug 9, 2022, 12:43:03 PM8/9/22
to kiwi-...@googlegroups.com
Hi,

> <include from="this://packages.xml"/>
>
> My packages.xml file looks like...
>
> <packages type="image">
> <package name="patterns-base-base"/>

I think the problem is that your packages.xml is not enclosed
in an <image> tag. Try:

<image>
<packages type="image">
<package name="patterns-base-base"/>
...
</packages>
</image>

To check if the include worked call

kiwi-ng image info --description path/to/your/image-desc --print-xml

Plese note all includes must be enclosed within an <image>
tag, also see:

https://osinside.github.io/kiwi/image_description/elements.html#sec-inc=
lude

Hope this helps

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

George Kraft

unread,
Aug 9, 2022, 12:53:37 PM8/9/22
to kiwi-...@googlegroups.com
Thanks Marcus. That fixed it.
Reply all
Reply to author
Forward
0 new messages