From a4b64568063ea48409dc54581f1dfa7fe061d380 Mon Sep 17 00:00:00 2001 From: Dongsu Park Date: Fri, 3 Apr 2020 10:00:29 +0200 Subject: [PATCH] .github: use correct make.conf when setting up Flatcar SDK When setting up a Flatcar SDK from scratch, we need to also set up correct configs in `/etc/portage/make.conf`. For example we need to set `PORTDIR=/mnt/host/source/src/third_party/portage-stable` instead of the default Gentoo configs like `PORTDIR=/var/gentoo/repos/gentoo`. Otherwise `update_metadata` will fail in some cases, because portage cannot find the correct location of portage-stable. --- .../coreos-overlay/.github/workflows/setup-flatcar-sdk.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sdk_container/src/third_party/coreos-overlay/.github/workflows/setup-flatcar-sdk.sh b/sdk_container/src/third_party/coreos-overlay/.github/workflows/setup-flatcar-sdk.sh index 6d5b8ea700..6efb0c49a5 100755 --- a/sdk_container/src/third_party/coreos-overlay/.github/workflows/setup-flatcar-sdk.sh +++ b/sdk_container/src/third_party/coreos-overlay/.github/workflows/setup-flatcar-sdk.sh @@ -17,6 +17,14 @@ mkdir -p ~/flatcar-sdk pushd ~/flatcar-sdk || exit cork create || true +sudo tee "./chroot/etc/portage/make.conf" <