mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-21 12:21:16 +02:00
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.