mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-07 13:06:59 +02:00
Fix up SDK repo configuration to use new coreos-overlay name on startup
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
This commit is contained in:
parent
872ea6d14d
commit
a783cc2303
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user