2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 17:43:14 +00:00

Fix typo in the genimage script

This commit is contained in:
Jarrod Johnson 2021-05-14 16:40:48 -04:00
parent 9c8529e9b4
commit 7e14b41ef4

View File

@ -26,7 +26,7 @@ done
latestkernel=$(ls $installroot/boot/vmlinuz-*|grep -v rescue|sed -e s/.*vmlinuz-//|tail -n 1)
mkdir -p $destdir/boot/efi/boot $destdir/boot/initramfs
cp $installroot/boot/vmlinuz-$latestkernel $destdir/boot/kernel
cp $installroot/boot/initramfs-diskless-$kernel.img $destdir/boot/initramfs/distribution
cp $installroot/boot/initramfs-diskless-$latestkernel.img $destdir/boot/initramfs/distribution
cp $installroot/boot/efi/EFI/BOOT/BOOTX64.EFI $destdir/boot/efi/boot
cp $installroot/boot/efi/EFI/centos/grubx64.efi $destdir/boot/efi/boot