Skip to content

Commit

Permalink
Fix up SDK repo configuration to use new coreos-overlay name on startup
Browse files Browse the repository at this point in the history
Signed-off-by: James Le Cuirot <[email protected]>
  • Loading branch information
chewi committed Jul 11, 2024
1 parent da41dfe commit 6e5c5bc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sdk_lib/sdk_entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ fi

chown -R sdk:sdk /home/sdk

# Fix up SDK repo configuration to use the new coreos-overlay name.
sed -i -r 's/^\[coreos\]/[coreos-overlay]/' /etc/portage/repos.conf/coreos.conf 2>/dev/null
sed -i -r '/^masters =/s/\bcoreos(\s|$)/coreos-overlay\1/g' /usr/local/portage/crossdev/metadata/layout.conf 2>/dev/null

# Check if the OS image version we're working on is newer than
# the SDK container version and if it is, update the boards
# chroot portage conf to point to the correct binhost.
Expand Down

0 comments on commit 6e5c5bc

Please sign in to comment.