After extracting the btrfs image, we copy the Linux kernel and initramfs images to the boot partition.
If the user restarts the system in the middle of this copy or the copy fails, this can result in an unbootable system.
A good strategy might be to copy the kernel and initramfs files to a subdirectory named after the version string of the system.
Not confirmed but this issue may result in the following error at boot.
After extracting the btrfs image, we copy the Linux kernel and initramfs images to the boot partition. If the user restarts the system in the middle of this copy or the copy fails, this can result in an unbootable system.
A good strategy might be to copy the kernel and initramfs files to a subdirectory named after the version string of the system.
Not confirmed but this issue may result in the following error at boot.