Skip to content

Commit

Permalink
Merge pull request openshift#215 from dtantsur/esp
Browse files Browse the repository at this point in the history
Correct the destination grub path when building an ESP image
  • Loading branch information
metal3-io-bot committed Nov 4, 2020
2 parents a7386dc + 07f0151 commit 674087d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ RUN if [ $(uname -m) = "x86_64" ]; then \
mkfs.msdos -F 12 -n 'ESP_IMAGE' ./esp.img && \
mmd -i esp.img EFI && \
mmd -i esp.img EFI/BOOT && \
mmd -i esp.img EFI/centos && \
mcopy -i esp.img -v /boot/efi/EFI/BOOT/BOOTX64.EFI ::EFI/BOOT && \
mcopy -i esp.img -v /boot/efi/EFI/centos/grubx64.efi ::EFI/centos && \
mcopy -i esp.img -v /boot/efi/EFI/centos/grubx64.efi ::EFI/BOOT && \
mdir -i esp.img ::EFI/BOOT; \
else \
touch /tmp/esp.img; \
Expand Down

0 comments on commit 674087d

Please sign in to comment.