Skip to content

Commit

Permalink
Merge pull request #420 from stschake/fix-tegra-efi-mount
Browse files Browse the repository at this point in the history
fix: tegra: use correct ESP mount path
  • Loading branch information
TheYoctoJester authored Nov 11, 2024
2 parents 946c6b3 + fa66dce commit c33fa9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

CAPTARGET="/opt/nvidia/esp/EFI/UpdateCapsule/TEGRA_BL.Cap"
CAPTARGET="/boot/efi/EFI/UpdateCapsule/TEGRA_BL.Cap"

if [ -f "$CAPTARGET" ]; then
rm "$CAPTARGET"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ fi
tmp_mount=`mktemp -d`

reset_unbootable_status $next_slot
mkdir -p /opt/nvidia/esp/EFI/UpdateCapsule
mkdir -p /boot/efi/EFI/UpdateCapsule
mount -o ro $next_rootfs_dev $tmp_mount
cp ${tmp_mount}/opt/nvidia/UpdateCapsule/tegra-bl.cap /opt/nvidia/esp/EFI/UpdateCapsule/TEGRA_BL.Cap
cp ${tmp_mount}/opt/nvidia/UpdateCapsule/tegra-bl.cap /boot/efi/EFI/UpdateCapsule/TEGRA_BL.Cap
umount $tmp_mount
oe4t-set-uefi-OSIndications

Expand Down

0 comments on commit c33fa9a

Please sign in to comment.