Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Temporarily work around apt error with grub-efi-amd64-signed #543

Merged
merged 1 commit into from
Feb 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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