From 301d2fbb225fd583c3b9972a640e6ba9dad4942a Mon Sep 17 00:00:00 2001 From: Michael Marineau Date: Sun, 29 Jun 2014 10:34:09 -0700 Subject: [PATCH] profiles: disable calling sync(2) after installing packages This is just a safety feature for real Gentoo systems on the off chance that they crash moments after a package is installed. There isn't any such concern for the CoreOS SDK so just disable it. A normal build_image is slightly faster with this but I suspect it may help the build host which is usually running many emerge jobs in parallel. --- .../coreos-overlay/profiles/coreos/base/make.defaults | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/make.defaults b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/make.defaults index d775af9b65..623d494da7 100644 --- a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/make.defaults +++ b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/make.defaults @@ -71,7 +71,7 @@ CCACHE_SIZE="2.5G" # Always build binary packages, remove old build logs, avoid running as root. FEATURES="buildpkg ccache clean-logs compressdebug parallel-install splitdebug - userfetch userpriv usersandbox" + userfetch userpriv usersandbox -merge-sync" # No need to restrict access to build directories in dev environments. PORTAGE_WORKDIR_MODE="0755"