From fa66dcee9f90dc4033e6b4b30167f51ad6f778d8 Mon Sep 17 00:00:00 2001 From: Stefan Schake Date: Sat, 9 Nov 2024 01:44:53 +0100 Subject: [PATCH] fix: tegra: use correct ESP mount path Upstream meta-tegra dropped the extra link in /opt/nvidia/esp and now only mounts the ESP at /boot/efi. See also: https://github.com/OE4T/meta-tegra/commit/3b763e9a41d Signed-off-by: Stefan Schake --- .../recipes-mender/tegra-state-scripts/files/abort-blupdate | 2 +- .../recipes-mender/tegra-state-scripts/files/switch-rootfs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/meta-mender-tegra/recipes-mender/tegra-state-scripts/files/abort-blupdate b/meta-mender-tegra/recipes-mender/tegra-state-scripts/files/abort-blupdate index 6d5d5bbf..02513be2 100644 --- a/meta-mender-tegra/recipes-mender/tegra-state-scripts/files/abort-blupdate +++ b/meta-mender-tegra/recipes-mender/tegra-state-scripts/files/abort-blupdate @@ -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" diff --git a/meta-mender-tegra/recipes-mender/tegra-state-scripts/files/switch-rootfs b/meta-mender-tegra/recipes-mender/tegra-state-scripts/files/switch-rootfs index d1ea58bb..301a7bce 100644 --- a/meta-mender-tegra/recipes-mender/tegra-state-scripts/files/switch-rootfs +++ b/meta-mender-tegra/recipes-mender/tegra-state-scripts/files/switch-rootfs @@ -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