flatcar-scripts/sdk_lib/make_conf_util.sh
Michael Marineau a3d3d30b24 fix(sdk_lib): Delete a pile of dead/pointless code.
For the most part this doesn't influence anything. The one exception is
the custom configuration for using curl is dropped, just rely on the
portage defaults. It appears curl was only used to work around a wget
issue with Google's internal SSL certificates. We care not. :)
2014-05-14 18:51:58 -07:00

12 lines
446 B
Bash

# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
create_host_setup() {
local host_setup="$2/etc/portage/make.conf.host_setup"
( echo "# Automatically generated. EDIT THIS AND BE SORRY."
echo "MAKEOPTS='--jobs=${NUM_JOBS} --load-average=${NUM_JOBS}'"
) | sudo_clobber "$host_setup"
sudo chmod 644 "$host_setup"
}