fix(profiles): Don't use live ebuilds by default.

As-is catalyst and cros-workon's live ebuilds don't mix since the
catalyst chroot does not provide /mnt/host like the sdk chroot does.
Besides, only people actively working on a project should use the live
versions since anyone else will install it one time and then never
upgrade after that, even when the version marked stable is actually
newer than their old live build.

For SDK builds this means not accepting ~amd64 for core-admin and
update_engine and adding a stable ebuild for core-admin. (update_engine
already has a stable ebuild which is even up-to-date)
This commit is contained in:
Michael Marineau 2013-06-21 16:34:08 -04:00
parent 19ceed57ab
commit b7bde0b21c
4 changed files with 35 additions and 6 deletions

View File

@ -0,0 +1 @@
core-admin-0.0.1.ebuild

View File

@ -0,0 +1,33 @@
#
# Copyright (c) 2013 Brandon Philips. All rights reserved.
# Distributed under the terms of the MIT License
# $Header:$
#
EAPI=2
CROS_WORKON_COMMIT="54aba86ecd7cd32c3488df9dc9beab27b37cec0b"
CROS_WORKON_PROJECT="coreos/core-admin"
CROS_WORKON_LOCALNAME="core-admin"
CROS_WORKON_REPO="git://github.com"
inherit toolchain-funcs cros-workon
DESCRIPTION="systemd over rest"
HOMEPAGE="https://github.com/coreos/core-admin"
SRC_URI=""
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm x86"
IUSE=""
DEPEND=">=dev-lang/go-1.0.2"
src_compile() {
export GOPATH="${S}"
go get
go build -o ${PN} || die
}
src_install() {
dobin ${S}/${PN}
}

View File

@ -7,6 +7,7 @@
EAPI=2
CROS_WORKON_PROJECT="coreos/core-admin"
CROS_WORKON_LOCALNAME="core-admin"
CROS_WORKON_REPO="git://github.com"
inherit toolchain-funcs cros-workon
DESCRIPTION="systemd over rest"

View File

@ -86,12 +86,6 @@
# Replace the function.sh script in baselayout
=sys-apps/efunctions-1 ~amd64 ~x86
# Projects we are actively hacking on in coreos
=coreos-base/update_engine-9999 ~amd64 ~x86
# Used on the host
=coreos-base/core-admin-9999 ~amd64 ~x86
#=dev-libs/libxml2-2.9.0-r1 ~amd64
=sys-apps/util-linux-2.23 ~amd64