Skip to content

Commit 96ea2b3

Browse files
authored
Merge pull request #1505 from flatcar/t-lo/fix-selfcontained-sdk-init
sdk_lib/sdk_init_selfcontained.sh: fix access rights
2 parents 61c768e + 7c73291 commit 96ea2b3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

sdk_lib/sdk_init_selfcontained.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,12 @@ function clone_version() {
2626
}
2727
# --
2828

29+
# Nothing mounted on /mnt/host in self-contained mode
30+
sudo chown -R sdk:sdk /home/sdk /mnt/host/source
31+
2932
version="$(source /mnt/host/source/.repo/manifests/version.txt; echo $FLATCAR_VERSION)"
3033

31-
mkdir -p /home/sdk/trunk/src/third_party/
34+
rmdir /mnt/host/source/src/third_party
35+
ln -s /mnt/host/source/src/scripts/sdk_container/src/third_party /mnt/host/source/src/
3236

3337
clone_version scripts /home/sdk/trunk/src/scripts "$version"

0 commit comments

Comments
 (0)