Skip to content

Commit

Permalink
Patch to make action work again
Browse files Browse the repository at this point in the history
  • Loading branch information
lhstrh committed Feb 25, 2023
1 parent 967c886 commit 0b3a495
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 2 additions & 0 deletions src/setup-ros-linux.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0b3a495

Please # to comment.