Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tools: Fix kernel asset for NET installer
Due to the kernel build changes, the kernel binary asset is not copied to bits/ folder anymore, leading to the following error of the tools/makenet.sh script while building NET installer images: ipxe.efi.cfg tar: kernel: No such file or directory initrd.img installer.img initrd.bits rootfs.img tar: error exit delayed from previous errors Now that different kernel packages can be specified with the KERNEL_TAG variable, an approach to fix this issue is to pick the kernel image directly from the final rootfs image. However, this would require manipulate the rootfs image inside the Alpine container used by the makenet.sh script. An easier way (implemented by this commit) is to use the rootfs tarball and pick the kernel image from there, which will work regardless of the type of the rootfs image (squashfs, ext4, etc). Signed-off-by: Renê de Souza Pinto <rene@renesp.com.br>
- Loading branch information