Skip to content

Hot swap backports urls#26

Merged
seanavery merged 1 commit intoviam-modules:mainfrom
seanavery:backports-hot-fix
Aug 5, 2025
Merged

Hot swap backports urls#26
seanavery merged 1 commit intoviam-modules:mainfrom
seanavery:backports-hot-fix

Conversation

@seanavery
Copy link
Copy Markdown
Collaborator

@seanavery seanavery commented Jul 29, 2025

Description

This is a temporary fix for backports URL change in the base pi container. We simply remove and replace the backports url before update update.

Tests

See successful CI run below.

export TZ=America/New_York && \
apt-get update && \
if [ "$(TARGET)" = "jetson" ]; then \
apt-get update && \
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why move update in jetson only?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moving apt-get update from before the conditional.

  • on jetson, just apt update immediately
  • on pi, swap backports, then apt update

@hexbabe hexbabe self-requested a review August 5, 2025 18:39
Copy link
Copy Markdown
Collaborator

@hexbabe hexbabe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@seanavery seanavery merged commit 5f94464 into viam-modules:main Aug 5, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants