The title says it all, using the <systemdisk> directive breaks the build.
The important part of the logfile is:
578s] Jun-11 12:00:21 <1> : --> Creating logical volumes
578s] Jun-11 12:00:21 <1> : EXEC [pidof systemd-udevd udevd 2>&1]
578s] Jun-11 12:00:21 <1> : EXEC [lvcreate --noudevsync -L 74 -n LVvar kiwiVG 2>&1]
578s] Jun-11 12:00:21 <3> : Logical volume(s) setup failed: /run/lvm/lvmetad.socket: connect failed: No such file or directory
578s] WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
578s] Found duplicate PV qfYTJCzGCsZVhnJTONDEr3oaGd31Ofy3: using /dev/mapper/loop0p2 not /dev/loop0p2
578s] Using duplicate PV /dev/mapper/loop0p2 from subsystem DM, ignoring /dev/loop0p2
578s] Rounding up size to full physical extent 76.00 MiB
578s] /dev/kiwiVG/LVvar: not found: device not cleared
578s] Aborting. Failed to wipe start of new LV.
My config.kiwi is:
<?xml version='1.0' encoding='UTF-8'?>
<image name='Appliance_2.2.0' displayname='Appliance_2.2.0' schemaversion='5.2'>
<description type='system'>
<author>Benjamin Schieder</author>
<contact>me@mail</contact>
<specification>SLES 12</specification>
</description>
<preferences>
<type checkprebuilt='true' boot='oemboot/suse-SLES12' fsnocheck='true' filesystem='ext3' bootloader='grub2'
kernelcmdline='quiet' fsmountoptions='acl' image='oem' installboot='install' installiso='true'>
<oemconfig>
<oem-swap>true</oem-swap>
<oem-swapsize>4096</oem-swapsize>
<!-- <oem-systemsize>15G</oem-systemsize> -->
<oem-boot-title>Appliance 2.2.0</oem-boot-title>
<oem-skip-verify>true</oem-skip-verify>
</oemconfig>
<systemdisk>
<volume name="@root" size="15G" />
<volume name="/var" size="10G" />
</systemdisk>
<size unit="G">30</size>
</type>
<version>2.2.0</version>
<packagemanager>zypper</packagemanager>
<rpm-check-signatures>false</rpm-check-signatures>
<rpm-force>false</rpm-force>
<boot-theme>studio</boot-theme>
<timezone>Europe/Berlin</timezone>
<locale>en_US</locale>
<hwclock>localtime</hwclock>
</preferences>
<users group='root'>
<user name='root' pwd='...' home='/root' shell='/bin/bash'/>
</users>
<packages type='image' patternType='onlyRequired'>
<archive name='plymouth.tar' bootinclude='true' />
<package name='apache2' />
<package name='apache2-doc' />
<package name='apache2-utils' />
<package name='ca-certificates' />
<package name='cracklib-dict-full' />
<package name='dracut' />
<package name='filesystem' />
<package name='fontconfig' />
<package name='fonts-config' />
<package name='gcc-32bit' />
<package name='gcc-c++-32bit' />
<package name='gconf2' />
<package name='gfxboot-devel' arch='x86_64' bootinclude='true' />
<package name='git' />
<package name='git-svn' />
<package name='glibc-32bit' />
<package name='glibc-locale' />
<package name='grub2' />
<package name='iproute2' />
<package name='iputils' />
<package name='java-1_8_0-openjdk' />
<package name='java-1_8_0-openjdk-devel' />
<package name='kernel-default' />
<package name='less' />
<package name='libX11-xcb1-32bit' />
<package name='libXi6-32bit' />
<package name='libXinerama1-32bit' />
<package name='libXrender1-32bit' />
<package name='libXtst6' />
<package name='libXtst6-32bit' />
<package name='lvm2' />
<package name='man-pages' />
<package name='man-pages-posix' />
<package name='net-snmp' />
<package name='net-tools' />
<package name='ntp' />
<package name='openssh' />
<package name='parted' />
<package name='patterns-sles-Minimal' />
<package name='patterns-sles-32bit' />
<package name='patterns-sles-base' />
<package name='patterns-sles-x11' />
<package name='plymouth' />
<package name='python-pyOpenSSL' />
<package name='rsync' />
<package name='rsyslog-module-gtls' />
<package name='screen' />
<package name='sles-release' />
<package name='spacewalk-check' />
<package name='spacewalk-client-setup' />
<package name='spacewalk-client-tools' />
<package name='suse-build-key' />
<package name='SuSEfirewall2' />
<package name='syslinux' arch='x86_64' />
<package name='syslog-service' />
<package name='systemd' />
<package name='systemd-sysvinit' />
<package name='tar' />
<package name='timezone' />
<package name='udev' />
<package name='vim' />
<package name='vim-data' />
<package name='wicked' />
<package name='xdg-utils' />
<package name='xinit' />
<package name='yast2' />
<package name='yast2-firstboot' />
<package name='zypper' />
<package name='zypp-plugin-spacewalk' />
</packages>
<packages type='bootstrap'>
<package name='filesystem'/>
<package name='glibc-locale'/>
<package name='lvm'/>
<package name='module-init-tools'/>
<package name='sles-release'/>
<package name='sles-release-POOL'/>
</packages>
<!-- Use the repositories from images repository-->
<repository type='rpm-md'>
<source path='obsrepositories:/'/>
</repository>
<repository type="rpm-md">
<source path="obs://systemsmanagement:spacewalk/SLE_12_SP3" />
</repository>
</image>
Can someone help me with this?