From 96cbfe9ac1793082ce40c27f94243a5c2fe48c99 Mon Sep 17 00:00:00 2001 From: Marten Lohstroh Date: Fri, 24 Feb 2023 16:38:17 -0800 Subject: [PATCH] Patch to make action work again Signed-off-by: Marten Lohstroh --- dist/index.js | 2 ++ src/setup-ros-linux.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/dist/index.js b/dist/index.js index 6c00e3f23..711ca7f59 100644 --- a/dist/index.js +++ b/dist/index.js @@ -7190,6 +7190,8 @@ function runLinux() { `echo "deb http://packages.ros.org/ros2${use_ros2_testing ? "-testing" : ""}/ubuntu ${distribCodename} main" > /etc/apt/sources.list.d/ros2-latest.list`, ]); yield utils.exec("sudo", ["apt-get", "update"]); + // Temporary fix to avoid error mount: /var/lib/grub/esp: special device (...) does not exist. + yield utils.exec("sudo", ["apt-mark", "hold", "grub-efi-amd64-signed"]); yield utils.exec("sudo", ["apt-get", "upgrade", "-y"]); // Install rosdep and vcs, as well as FastRTPS dependencies, OpenSplice, and // optionally RTI Connext. diff --git a/src/setup-ros-linux.ts b/src/setup-ros-linux.ts index e81e88b2a..c454fea62 100644 --- a/src/setup-ros-linux.ts +++ b/src/setup-ros-linux.ts @@ -121,6 +121,8 @@ export async function runLinux() { ]); await utils.exec("sudo", ["apt-get", "update"]); + // Temporary fix to avoid error mount: /var/lib/grub/esp: special device (...) does not exist. + await utils.exec("sudo", ["apt-mark", "hold", "grub-efi-amd64-signed"]); await utils.exec("sudo", ["apt-get", "upgrade", "-y"]); // Install rosdep and vcs, as well as FastRTPS dependencies, OpenSplice, and