mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-26 16:11:56 +02:00
Merge pull request #1505 from flatcar/t-lo/fix-selfcontained-sdk-init
sdk_lib/sdk_init_selfcontained.sh: fix access rights
This commit is contained in:
commit
96ea2b3708
@ -26,8 +26,12 @@ function clone_version() {
|
||||
}
|
||||
# --
|
||||
|
||||
# Nothing mounted on /mnt/host in self-contained mode
|
||||
sudo chown -R sdk:sdk /home/sdk /mnt/host/source
|
||||
|
||||
version="$(source /mnt/host/source/.repo/manifests/version.txt; echo $FLATCAR_VERSION)"
|
||||
|
||||
mkdir -p /home/sdk/trunk/src/third_party/
|
||||
rmdir /mnt/host/source/src/third_party
|
||||
ln -s /mnt/host/source/src/scripts/sdk_container/src/third_party /mnt/host/source/src/
|
||||
|
||||
clone_version scripts /home/sdk/trunk/src/scripts "$version"
|
||||
|
Loading…
x
Reference in New Issue
Block a user