[4/8] mkefidisk.sh: Copy the EFI dir recursively

Submitted by Darren Hart on July 16, 2014, 2:16 p.m. | Patch ID: 75847


Message ID 1c24512dd36a5d014314adb98c5bfb5872319df1.1405520111.git.dvhart@linux.intel.com
State Accepted
Commit f6f243bff4fa7c0e876a506a7013c86e0141556c
Headers show

Commit Message

Darren Hart July 16, 2014, 2:16 p.m.
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.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
 scripts/contrib/mkefidisk.sh | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

Patch hide | download patch | download mbox

diff --git a/scripts/contrib/mkefidisk.sh b/scripts/contrib/mkefidisk.sh
index 9b13041..98c43f5 100755
--- a/scripts/contrib/mkefidisk.sh
+++ b/scripts/contrib/mkefidisk.sh
@@ -264,11 +264,9 @@  umount $HDDIMG_ROOTFS_MNT
 echo "Preparing boot partition..."
-mkdir -p $EFIDIR
 # Copy the efi loader and configs (booti*.efi and grub.cfg if it exists)
 # Silently ignore a missing gummiboot loader dir (we might just be a GRUB image)
 cp -r $HDDIMG_MNT/loader $BOOTFS_MNT 2> /dev/null