mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-07 13:06:59 +02:00
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. :)
12 lines
446 B
Bash
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"
|
|
}
|