Creating the initial ram filesystem (initramfs)
4. Creating the initial ram filesystem (initramfs):ΒΆ
The find command is used to create a list of files within initramfs, and the cpio command archives them into a compressed image named initramfs.cpio.
cd ${WORKDIR}/build/amd64/initramfs/
sudo chown -R root:root *
find . | cpio -o -H newc | gzip -9 > ${WORKDIR}/build/amd64/uefi/boot/initramfs.cpio.gz
sudo chown -R $USER:$(id -gn) *
Test the built kernel and initramfs