From 2c46f36489ad1c7a4f3d7fdb59e60c0ed14ab8cb Mon Sep 17 00:00:00 2001 From: Michael Marineau Date: Wed, 3 Jul 2013 15:52:55 -0400 Subject: [PATCH] fix(config): Update the SDK make.conf to refer to the current version. This means that we will always get the correct set of binary packages for our current manifest version. --- .../coreos-overlay/coreos/config/make.conf.amd64-host | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/config/make.conf.amd64-host b/sdk_container/src/third_party/coreos-overlay/coreos/config/make.conf.amd64-host index d682ba45aa..6aa2f081a0 100644 --- a/sdk_container/src/third_party/coreos-overlay/coreos/config/make.conf.amd64-host +++ b/sdk_container/src/third_party/coreos-overlay/coreos/config/make.conf.amd64-host @@ -1,5 +1,9 @@ # See "man make.conf" for the available options. +# Get the current SDK version, useful for fetching the latest packages +source "/mnt/host/source/.repo/manifests/version.txt" +COREOS_VERSION_STRING="${COREOS_BUILD}.${COREOS_BRANCH}.${COREOS_PATCH}" + FEATURES="allow-missing-manifests buildpkg clean-logs -collision-protect -ebuild-locks parallel-install sandbox -strict userfetch userpriv usersandbox -unknown-features-warn" @@ -36,7 +40,7 @@ PORT_LOGDIR="/var/log/portage" # rebuilt it yet. 20130621235834 contains everything built by bootstrap_sdk PORTAGE_BINHOST=" http://storage.core-os.net/coreos/sdk/experimental/legacy/pkgs/ - http://storage.core-os.net/coreos/sdk/experimental/20130621235834/pkgs/ + http://storage.core-os.net/coreos/sdk/${ARCH}/${COREOS_VERSION_STRING}/pkgs/ " GENTOO_MIRRORS="