-
Notifications
You must be signed in to change notification settings - Fork 174
Open
Labels
Description
Hi,
We are trying to build ubuntu image and have specific requirements for creating custom disk partitions.
Problem description
While trying to build the image (oem) with custom partition , I get the error KiwiFileSystemSyncError ( see the snippet below)
config.xml snippet:
<type image="oem" filesystem="ext4" initrd_system="dracut" installiso="true" firmware="uefi" installboot="install" bootpartition="true" bootpartsize="1024" efipartsize="200">
<bootloader name="grub2"></bootloader>
<oemconfig>
<oem-swap>true</oem-swap>
<oem-swapsize>4096</oem-swapsize>
<oem-resize>false</oem-resize>
<oem-unattended>true</oem-unattended>
<oem-device-filter>/dev/ram</oem-device-filter>
<oem-multipath-scan>false</oem-multipath-scan>
</oemconfig>
<partitions>
<partition name="bootefi" size="1G" mountpoint="/boot/efi" filesystem="ext4" />
<partition name="altroot" size="10G" mountpoint="/altroot" filesystem="ext4"/>
</partitions>
Error snippet:
2024-06-13T18:19:55.4343398Z [ INFO ]: 18:19:55 | Syncing system to image
2024-06-13T18:19:55.4344151Z [ INFO ]: 18:19:55 | --> Syncing custom partition(s) data
2024-06-13T18:19:55.4346280Z [ ERROR ]: 18:19:55 | KiwiFileSystemSyncError: given root directory /tmp/output/build/image-root/altroot/ does not exist
Expected behaviour
We should be able to build image with custom partitions.
Steps to reproduce the behavior
Build image with custom partition.
OS and Software information
- KIWI version: 9.23.20 and on the latest.
- Operating system host version: ubuntu 22.04 LTS
- Operating system target version: ubuntu 22.04 LTS
- Open Build Service version (N/A if not using OBS): https://download.opensuse.org/repositories/Virtualization:/Appliances:/Builder/openSUSE_Leap_15.5/ kiwi-appliance-builder
- Koji version (N/A if not using Koji):
Reactions are currently unavailable