Which architectures were you using or does this bug affect?
No response
Which operating system were you using or does this bug affect?
No response
Relevant log output
[ 0.000000] ERR: [libukallocbbuddy] <bbuddy.c @ 488> 12000: Failed to add memory region 31a087-31b000: Not enough space after applying page alignments
en1: Added
en1: Interface is up
[ 0.104197] ERR: [libukcpio] <cpio.c @ 291> /./rootfs/: Failed to create directory: No such file or directory (2)
[ 0.110471] CRIT: [libvfscore] <automount.c @ 182> Failed to extract cpio archive to /: -6
[ 0.115899] ERR: [libukboot] <boot.c @ 346> Init function at 0x14c730 returned error -1
E machine fatally exited
Describe the bug
Passing a
rootfs
tokraft run
with a path to a directory works if the path does not end with a/
, but fails otherwise.Steps to reproduce
Clone the app-nginx repository and build an image for
qemu-x86_64
. Runkraft run --rootfs ./rootfs/ -p 8080:80
The kraftfile:
Expected behavior
The image runs normally.
Which architectures were you using or does this bug affect?
No response
Which operating system were you using or does this bug affect?
No response
Relevant log output