mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-23 23:41:10 +02:00
coreos/config: remove obsolete files
The version script has been unused since coreos/scripts@2482291e. The make.conf files have been unused since commit coreos/scripts@99ed29d2. The others have been obsolete since before coreos even started.
This commit is contained in:
parent
57bb543041
commit
c0bdb15cc1
@ -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}"
|
@ -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
|
@ -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
|
@ -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"
|
@ -1,2 +0,0 @@
|
||||
stage 20100309/stage3-amd64-20100309.tar.bz2
|
||||
portage portage-20100310.tar.bz2
|
@ -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
|
Loading…
x
Reference in New Issue
Block a user