mirror of
https://git.yoctoproject.org/poky
synced 2026-04-19 06:32:13 +02:00
mkefidisk.sh: Copy the EFI dir recursively
Rather than only copying the EFI/BOOT dir, copy the entire EFI dir recursively. This allows for custom configurations to be enabled implicitly with no extra work required. (From OE-Core rev: f6f243bff4fa7c0e876a506a7013c86e0141556c) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
88045c9db7
commit
da682642ba
@@ -264,11 +264,9 @@ umount $HDDIMG_ROOTFS_MNT
|
||||
|
||||
echo "Preparing boot partition..."
|
||||
EFIDIR="$BOOTFS_MNT/EFI/BOOT"
|
||||
mkdir -p $EFIDIR
|
||||
|
||||
cp $HDDIMG_MNT/vmlinuz $BOOTFS_MNT
|
||||
# Copy the efi loader and configs (booti*.efi and grub.cfg if it exists)
|
||||
cp $HDDIMG_MNT/EFI/BOOT/* $EFIDIR
|
||||
cp -r $HDDIMG_MNT/EFI $BOOTFS_MNT
|
||||
# Silently ignore a missing gummiboot loader dir (we might just be a GRUB image)
|
||||
cp -r $HDDIMG_MNT/loader $BOOTFS_MNT 2> /dev/null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user