diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/config/coreos_version.sh b/sdk_container/src/third_party/coreos-overlay/coreos/config/coreos_version.sh deleted file mode 100755 index e5a7b785c8..0000000000 --- a/sdk_container/src/third_party/coreos-overlay/coreos/config/coreos_version.sh +++ /dev/null @@ -1,77 +0,0 @@ -#!/bin/sh - -# Copyright (c) 2011 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. - -# CoreOS version information -# -# This file is usually sourced by other build scripts, but can be run -# directly to see what it would do. - -############################################################################# -# SET VERSION NUMBERS -############################################################################# -# Release Build number. -# Increment by 1 for every release build. -# COREOS_BUILD=0000 - -# Release Branch number. -# Increment by 1 for every release build on a branch. -# Reset to 0 when increasing release build number. -# COREOS_BRANCH=0 - -# Patch number. -# Increment by 1 in case a non-scheduled branch release build is necessary. -# Reset to 0 when increasing branch number. -# COREOS_PATCH=0 - -# Source COREOS_* from manifest -VERSION_FILE="${GCLIENT_ROOT:-/mnt/host/source}/.repo/manifests/version.txt" -if [ ! -f "$VERSION_FILE" ]; then - echo "$VERSION_FILE does not exist!" >&2 - exit 1 -fi - -source "$VERSION_FILE" -if [ -z "$COREOS_BUILD" ] || \ - [ -z "$COREOS_BRANCH" ] || \ - [ -z "$COREOS_PATCH" ] -then - echo "$VERSION_FILE is invalid!" >&2 - exit 1 -fi - -export COREOS_BUILD COREOS_BRANCH COREOS_PATCH -export CHROMEOS_BUILD=${COREOS_BUILD} -export CHROMEOS_BRANCH=${COREOS_BRANCH} -export CHROMEOS_PATCH=${COREOS_PATCH} - -# Major version for Chrome. -# TODO(marineam): expunge this one... -export CHROME_BRANCH=26 - -# Official builds must set COREOS_OFFICIAL=1 or CHROMEOS_OFFICIAL=1. -: ${COREOS_OFFICIAL:=${CHROMEOS_OFFICIAL}} -if [ ${COREOS_OFFICIAL:-0} -ne 1 ]; then - # For developer builds, overwrite CHROMEOS_VERSION_PATCH with a date string - # for use by auto-updater. - export COREOS_PATCH=$(date +%Y_%m_%d_%H%M) - export CHROMEOS_PATCH=${COREOS_PATCH} -fi - -# Version string. Not indentied to appease bash. -export COREOS_VERSION_STRING=\ -"${COREOS_BUILD}.${COREOS_BRANCH}"\ -".${COREOS_PATCH}" -export CHROMEOS_VERSION_STRING="${COREOS_VERSION_STRING}" - -# Set CHROME values (Used for releases) to pass to chromeos-chrome-bin ebuild -# URL to chrome archive -# TODO(marineam): expunge these too... -export CHROME_BASE= -# export CHROME_VERSION from incoming value or NULL and let ebuild default -export CHROME_VERSION="$CHROME_VERSION" - -# Print (and remember) version info. -echo "CoreOS version: ${COREOS_VERSION_STRING}" 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 deleted file mode 100644 index 712135b54a..0000000000 --- a/sdk_container/src/third_party/coreos-overlay/coreos/config/make.conf.amd64-host +++ /dev/null @@ -1,8 +0,0 @@ -# See "man make.conf" for the available options. - -# This is used by profiles/base/profile.bashrc to figure out that we -# are targeting the cros-sdk (in all its various modes). It should -# be utilized nowhere else! -CROS_SDK_HOST="cros-sdk-host" - -source /etc/portage/make.conf.host_setup diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/config/make.conf.amd64-target b/sdk_container/src/third_party/coreos-overlay/coreos/config/make.conf.amd64-target deleted file mode 100644 index 4b64c069c6..0000000000 --- a/sdk_container/src/third_party/coreos-overlay/coreos/config/make.conf.amd64-target +++ /dev/null @@ -1,12 +0,0 @@ -# Copyright (c) 2009 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. - -# Pull in definition of at least { ROOT, CHOST, [BOARD_OVERLAY] } -source make.conf.board_setup - -# Common settings across all board targets. -source make.conf.common - -# Allow the user to override or define additional settings. -source make.conf.user diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/config/make.conf.common-target b/sdk_container/src/third_party/coreos-overlay/coreos/config/make.conf.common-target deleted file mode 100644 index f292477e92..0000000000 --- a/sdk_container/src/third_party/coreos-overlay/coreos/config/make.conf.common-target +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright (c) 2009 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. - -# NOTE: This assumes that the following have already been defined: -# { ROOT, ARCH, CHOST, [BOARD_OVERLAY] } - -# TODO: This will have to come from somewhere else when we support a 32-bit -# build host environment. -CBUILD=x86_64-pc-linux-gnu -HOSTCC=x86_64-pc-linux-gnu-gcc - -# Be sure we don't overwrite pkgs from another sysroot. -PKGDIR=${ROOT}packages/ -PORTAGE_TMPDIR=${ROOT}tmp/ - -PORT_LOGDIR=${ROOT}tmp/portage/logs/ - -PKG_CONFIG_PATH="${ROOT}usr/lib/pkgconfig/:${ROOT}usr/share/pkgconfig/" - -PORTDIR="/usr/local/portage/stable" - -PORTDIR_OVERLAY=" - /usr/local/portage/coreos - ${BOARD_OVERLAY} - ${PORTDIR} -" - -# Adding packages to the @world set causes people more trouble than it's -# worth in our setup -- we rarely have people add custom packages outside -# of the ChromiumOS set. You can use "--select" to override this. -EMERGE_DEFAULT_OPTS="--oneshot" - -# Since our portage comes from version control, we redirect distfiles. -DISTDIR="/var/lib/portage/distfiles-target" diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/config/stable_versions b/sdk_container/src/third_party/coreos-overlay/coreos/config/stable_versions deleted file mode 100644 index 5ae0d04dd0..0000000000 --- a/sdk_container/src/third_party/coreos-overlay/coreos/config/stable_versions +++ /dev/null @@ -1,2 +0,0 @@ -stage 20100309/stage3-amd64-20100309.tar.bz2 -portage portage-20100310.tar.bz2 diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/config/sudoers b/sdk_container/src/third_party/coreos-overlay/coreos/config/sudoers deleted file mode 100644 index 4fdbf04231..0000000000 --- a/sdk_container/src/third_party/coreos-overlay/coreos/config/sudoers +++ /dev/null @@ -1,31 +0,0 @@ -# sudoers file. -# -# This file MUST be edited with the 'visudo' command as root. -# Failure to use 'visudo' may result in syntax or file permission errors -# that prevent sudo from running. -# -# See the sudoers man page for the details on how to write a sudoers file. -# - -# Host alias specification - -# User alias specification - -# Cmnd alias specification - -# Defaults specification - -# Runas alias specification - -# User privilege specification -root ALL=(ALL) ALL - -# Uncomment to allow people in group wheel to run all commands -# %wheel ALL=(ALL) ALL - -# Same thing without a password -%wheel ALL=(ALL) NOPASSWD: ALL - -# Samples -# %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom -# %users localhost=/sbin/shutdown -h now