mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-18 02:16:59 +02:00
Merge pull request #1303 from flatcar-linux/krnowak/eapi-update
*: Update packages with EAPI <= 5 to EAPI 7
This commit is contained in:
commit
dc761d313a
@ -1,7 +1,7 @@
|
||||
# Copyright (c) 2014 CoreOS, Inc.. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
EAPI=7
|
||||
CROS_WORKON_PROJECT="kinvolk/toolbox"
|
||||
CROS_WORKON_LOCALNAME="toolbox"
|
||||
CROS_WORKON_REPO="git://github.com"
|
||||
|
@ -2,7 +2,7 @@
|
||||
# Copyright 2016 CoreOS, Inc
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="4"
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Tools for generating TPM policy"
|
||||
|
||||
|
@ -40,8 +40,8 @@ src_compile() {
|
||||
# setup CFLAGS and LDFLAGS for separate build target
|
||||
# see https://github.com/tianon/docker-overlay/pull/10
|
||||
# FLatcar: inject our own CFLAGS/LDFLAGS for torcx
|
||||
export CGO_CFLAGS="${CGO_CFLAGS} -I${ROOT}/usr/include"
|
||||
export CGO_LDFLAGS="${CGO_LDFLAGS} -L${ROOT}/usr/$(get_libdir)"
|
||||
export CGO_CFLAGS="${CGO_CFLAGS} -I${SYSROOT}/usr/include"
|
||||
export CGO_LDFLAGS="${CGO_LDFLAGS} -L${SYSROOT}/usr/$(get_libdir)"
|
||||
emake \
|
||||
LDFLAGS="$(usex hardened '-extldflags -fno-PIC' '')" \
|
||||
VERSION="$(cat VERSION)" \
|
||||
|
@ -42,9 +42,9 @@ PATCHES=(
|
||||
|
||||
src_compile() {
|
||||
# Taken from app-emulation/docker-1.7.0-r1
|
||||
export CGO_CFLAGS="-I${ROOT}/usr/include"
|
||||
export CGO_CFLAGS="-I${SYSROOT}/usr/include"
|
||||
export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')
|
||||
-L${ROOT}/usr/$(get_libdir)"
|
||||
-L${SYSROOT}/usr/$(get_libdir)"
|
||||
|
||||
# build up optional flags
|
||||
local options=(
|
||||
|
@ -2,7 +2,7 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=5
|
||||
EAPI=7
|
||||
|
||||
inherit git-r3
|
||||
|
||||
|
@ -2,9 +2,9 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=5
|
||||
EAPI=7
|
||||
|
||||
inherit systemd versionator
|
||||
inherit systemd
|
||||
|
||||
DESCRIPTION="Fake data for XenServer's PV driver version detection."
|
||||
HOMEPAGE="http://xenserver.org/"
|
||||
@ -21,7 +21,8 @@ RDEPEND="app-emulation/xenstore"
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
local split=($(get_version_components))
|
||||
default
|
||||
local split=($(ver_cut 1-3))
|
||||
sed -e "s/@@MAJOR@@/${split[0]}/" \
|
||||
-e "s/@@MINOR@@/${split[1]}/" \
|
||||
-e "s/@@MICRO@@/${split[2]}/" \
|
||||
|
@ -2,7 +2,7 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.4.0.ebuild,v 1.3 2014/04/04 01:06:31 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
|
||||
@ -47,6 +47,7 @@ pkg_setup() {
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
cp "${FILESDIR}"/config.h tools/ || die
|
||||
cp "${FILESDIR}"/Tools.mk config/ || die
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Copyright 2014 The CoreOS Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
inherit python-any-r1 systemd
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Copyright (c) 2017-2018 CoreOS, Inc.. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=2
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Packages to be installed in a torcx image for Docker"
|
||||
|
||||
@ -20,6 +20,8 @@ RDEPEND="
|
||||
~sys-process/tini-0.19.0
|
||||
"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_install() {
|
||||
insinto /.torcx
|
||||
newins "${FILESDIR}/${P}-manifest.json" manifest.json
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Copyright (c) 2013 CoreOS Inc. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="CoreOS auto update signing keys."
|
||||
HOMEPAGE="http://github.com/coreos/"
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="4"
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="CoreOS developer images and containers (meta package)"
|
||||
HOMEPAGE="http://coreos.com"
|
||||
|
@ -2,7 +2,7 @@
|
||||
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
EAPI=7
|
||||
CROS_WORKON_PROJECT="flatcar-linux/init"
|
||||
CROS_WORKON_LOCALNAME="init"
|
||||
CROS_WORKON_REPO="git://github.com"
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Copyright (c) 2016 CoreOS, Inc.. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=2
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="CoreOS OEM suite for Google Compute Engine (meta package)"
|
||||
HOMEPAGE=""
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Copyright (c) 2015 CoreOS Inc.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="CoreOS Secure Boot keys"
|
||||
HOMEPAGE=""
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=2
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="CoreOS (meta package)"
|
||||
HOMEPAGE="http://coreos.com"
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=2
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="List of packages that are needed on the buildhost (meta package)"
|
||||
HOMEPAGE="http://src.chromium.org"
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Copyright (c) 2013 CoreOS, Inc.. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="nova agent for rackspace images"
|
||||
HOMEPAGE="https://github.com/coreos/nova-agent-container"
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Copyright (c) 2013 CoreOS, Inc.. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="OEM suite for Azure"
|
||||
HOMEPAGE=""
|
||||
@ -24,6 +24,7 @@ RDEPEND="
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -e "s\\@@OEM_VERSION_ID@@\\${PVR}\\g" \
|
||||
"${FILESDIR}/oem-release" > "${T}/oem-release" || die
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Copyright (c) 2013 CoreOS, Inc.. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="OEM suite for Azure"
|
||||
HOMEPAGE=""
|
||||
@ -18,6 +18,7 @@ S="${WORKDIR}"
|
||||
RDEPEND="~app-emulation/wa-linux-agent-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -e "s\\@@OEM_VERSION_ID@@\\${PVR}\\g" \
|
||||
"${FILESDIR}/oem-release" > "${T}/oem-release" || die
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Copyright (c) 2015 CoreOS, Inc.. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="OEM suite for CloudSigma images"
|
||||
HOMEPAGE=""
|
||||
@ -15,6 +15,7 @@ KEYWORDS="amd64 x86"
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -e "s\\@@OEM_VERSION_ID@@\\${PVR}\\g" \
|
||||
"${FILESDIR}/cloud-config.yml" > "${T}/cloud-config.yml" || die
|
||||
}
|
||||
|
@ -5,7 +5,7 @@
|
||||
# $Header:$
|
||||
#
|
||||
|
||||
EAPI=5
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="OEM suite for CloudStack images"
|
||||
HOMEPAGE=""
|
||||
@ -20,6 +20,7 @@ IUSE=""
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -e "s\\@@OEM_VERSION_ID@@\\${PVR}\\g" \
|
||||
"${FILESDIR}/cloud-config.yml" > "${T}/cloud-config.yml" || die
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Copyright (c) 2014 CoreOS, Inc.. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="OEM suite for DigitalOcean images"
|
||||
HOMEPAGE=""
|
||||
@ -15,6 +15,7 @@ KEYWORDS="amd64 x86"
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -e "s\\@@OEM_VERSION_ID@@\\${PVR}\\g" \
|
||||
"${FILESDIR}/oem-release" > "${T}/oem-release" || die
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Copyright (c) 2013 CoreOS, Inc.. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="OEM suite for EC2 compatible images"
|
||||
HOMEPAGE=""
|
||||
@ -25,6 +25,7 @@ RDEPEND="
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
if use ec2 || use aws_pro ; then
|
||||
ID="ami"
|
||||
if use ec2; then
|
||||
|
@ -5,7 +5,7 @@
|
||||
# $Header:$
|
||||
#
|
||||
|
||||
EAPI=5
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="OEM suite for Exoscale images"
|
||||
HOMEPAGE=""
|
||||
@ -20,6 +20,7 @@ IUSE=""
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -e "s\\@@OEM_VERSION_ID@@\\${PVR}\\g" \
|
||||
"${FILESDIR}/cloud-config.yml" > "${T}/cloud-config.yml" || die
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Copyright (c) 2013 CoreOS, Inc.. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="OEM suite for Google Compute Engine images"
|
||||
HOMEPAGE=""
|
||||
@ -16,6 +16,7 @@ IUSE=""
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -e "s\\@@OEM_VERSION_ID@@\\${PVR}\\g" \
|
||||
"${FILESDIR}/oem-release" > "${T}/oem-release" || die
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Copyright (c) 2013 CoreOS, Inc.. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="OEM suite for Hyper-V"
|
||||
HOMEPAGE=""
|
||||
@ -16,6 +16,7 @@ IUSE=""
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -e "s\\@@OEM_VERSION_ID@@\\${PVR}\\g" \
|
||||
"${FILESDIR}/oem-release" > "${T}/oem-release" || die
|
||||
}
|
||||
|
@ -5,7 +5,7 @@
|
||||
# $Header:$
|
||||
#
|
||||
|
||||
EAPI=5
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="OEM suite for Interoute images"
|
||||
HOMEPAGE=""
|
||||
@ -25,6 +25,7 @@ RDEPEND="${DEPEND}"
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -e "s\\@@OEM_VERSION_ID@@\\${PVR}\\g" \
|
||||
"${FILESDIR}/cloud-config.yml" > "${T}/cloud-config.yml" || die
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Copyright (c) 2014 NIFTY Corp.. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="OEM suite for NIFTY Cloud images"
|
||||
HOMEPAGE=""
|
||||
@ -21,6 +21,7 @@ DEPEND="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -e "s\\@@OEM_VERSION_ID@@\\${PVR}\\g" \
|
||||
"${FILESDIR}/cloud-config.yml" > "${T}/cloud-config.yml" || die
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Copyright (c) 2014 CoreOS, Inc.. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="OEM suite for Packet images"
|
||||
HOMEPAGE=""
|
||||
@ -15,6 +15,7 @@ KEYWORDS="amd64 arm64 x86"
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -e "s\\@@OEM_VERSION_ID@@\\${PVR}\\g" \
|
||||
"${FILESDIR}/oem-release" > "${T}/oem-release" || die
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Copyright (c) 2020 Kinvolk GmbH. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="OEM suite for QEMU"
|
||||
HOMEPAGE=""
|
||||
@ -16,6 +16,7 @@ IUSE=""
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -e "s\\@@OEM_VERSION_ID@@\\${PVR}\\g" \
|
||||
"${FILESDIR}/oem-release" > "${T}/oem-release" || die
|
||||
}
|
||||
@ -25,4 +26,3 @@ src_install() {
|
||||
doins "${FILESDIR}/grub.cfg"
|
||||
doins "${T}/oem-release"
|
||||
}
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Copyright (c) 2013 CoreOS, Inc.. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="OEM suite for Rackspace Teeth images"
|
||||
HOMEPAGE=""
|
||||
@ -15,6 +15,7 @@ KEYWORDS="amd64 x86"
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -e "s\\@@OEM_VERSION_ID@@\\${PVR}\\g" \
|
||||
"${FILESDIR}/cloud-config.yml" > "${T}/cloud-config.yml" || die
|
||||
}
|
||||
|
@ -5,7 +5,7 @@
|
||||
# $Header:$
|
||||
#
|
||||
|
||||
EAPI=5
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="oem suite for rackspace images"
|
||||
HOMEPAGE=""
|
||||
@ -24,6 +24,7 @@ RDEPEND="
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -e "s\\@@OEM_VERSION_ID@@\\${PVR}\\g" \
|
||||
"${FILESDIR}/cloud-config.yml" > "${T}/cloud-config.yml" || die
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Copyright 2013 The CoreOS Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="OEM suite for login access via Vagrant's ssh key."
|
||||
HOMEPAGE=""
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Copyright 2017 The CoreOS Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="OEM suite for vagrant images (virtualbox)"
|
||||
HOMEPAGE=""
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Copyright 2013 The CoreOS Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="OEM suite for vagrant images"
|
||||
HOMEPAGE=""
|
||||
@ -16,6 +16,7 @@ IUSE=""
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -e "s\\@@OEM_VERSION_ID@@\\${PVR}\\g" \
|
||||
"${FILESDIR}/cloud-config.yml" > "${T}/cloud-config.yml" || die
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Copyright (c) 2013 CoreOS, Inc.. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="OEM suite for VirtualBox"
|
||||
HOMEPAGE=""
|
||||
@ -16,6 +16,7 @@ IUSE=""
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -e "s\\@@OEM_VERSION_ID@@\\${PVR}\\g" \
|
||||
"${FILESDIR}/oem-release" > "${T}/oem-release" || die
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Copyright (c) 2014 CoreOS, Inc.. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="OEM suite for VMware"
|
||||
HOMEPAGE="https://github.com/flatcar-linux/coreos-overlay/tree/main/coreos-base"
|
||||
@ -21,6 +21,7 @@ RDEPEND="${DEPEND}"
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -e "s\\@@OEM_VERSION_ID@@\\${PVR}\\g" \
|
||||
"${FILESDIR}/oem-release" > "${T}/oem-release" || die
|
||||
}
|
||||
|
@ -1,10 +1,9 @@
|
||||
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EAPI=7
|
||||
CROS_WORKON_PROJECT="flatcar-linux/update_engine"
|
||||
CROS_WORKON_REPO="git://github.com"
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
|
||||
if [[ "${PV}" == 9999 ]]; then
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
@ -13,7 +12,7 @@ else
|
||||
KEYWORDS="amd64 arm64"
|
||||
fi
|
||||
|
||||
inherit autotools-utils flag-o-matic toolchain-funcs cros-workon systemd
|
||||
inherit autotools flag-o-matic toolchain-funcs cros-workon systemd
|
||||
|
||||
DESCRIPTION="CoreOS OS Update Engine"
|
||||
HOMEPAGE="https://github.com/coreos/update_engine"
|
||||
@ -42,6 +41,11 @@ DEPEND="dev-cpp/gtest
|
||||
${BDEPEND}
|
||||
${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Disable PIE when building for the SDK, this works around a bug that
|
||||
# breaks using delta_generator from the update.zip bundle.
|
||||
@ -55,24 +59,24 @@ src_configure() {
|
||||
# Work around new gdbus-codegen output.
|
||||
append-flags -Wno-unused-function
|
||||
|
||||
local myeconfargs=(
|
||||
local myconf=(
|
||||
$(use_enable cros-debug debug)
|
||||
$(use_enable delta_generator)
|
||||
)
|
||||
|
||||
autotools-utils_src_configure
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use cros_host; then
|
||||
autotools-utils_src_test
|
||||
default
|
||||
else
|
||||
ewarn "Skipping tests on cross-compiled target platform..."
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
default
|
||||
|
||||
if use symlink-usr; then
|
||||
dosym sbin/flatcar-postinst /usr/postinst
|
||||
|
@ -2,7 +2,7 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=5
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Meta ebuild for building all binary packages."
|
||||
HOMEPAGE="http://coreos.com/docs/sdk/"
|
||||
|
@ -2,7 +2,7 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=5
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Meta ebuild for everything that needs to be in the SDK."
|
||||
HOMEPAGE="http://coreos.com/docs/sdk/"
|
||||
|
@ -25,7 +25,7 @@ COREOS_SOURCE_VERSION="${PV}${COREOS_SOURCE_REVISION}"
|
||||
COREOS_KERNEL_SOURCE_NAME="linux-${PV/_rc/-rc}-coreos${COREOS_SOURCE_REVISION}"
|
||||
COREOS_SOURCE_NAME="linux-${PV/_rc/-rc}-flatcar"
|
||||
|
||||
[[ ${EAPI} != "5" ]] && die "Only EAPI=5 is supported"
|
||||
[[ ${EAPI} != "7" ]] && die "Only EAPI=7 is supported"
|
||||
|
||||
inherit linux-info toolchain-funcs
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
EAPI=7
|
||||
CROS_WORKON_PROJECT="flatcar-linux/baselayout"
|
||||
CROS_WORKON_LOCALNAME="baselayout"
|
||||
CROS_WORKON_REPO="git://github.com"
|
||||
@ -13,7 +13,7 @@ else
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
fi
|
||||
|
||||
inherit cros-workon eutils multilib systemd
|
||||
inherit cros-workon multilib systemd
|
||||
|
||||
DESCRIPTION="Filesystem baselayout for CoreOS"
|
||||
HOMEPAGE="http://www.coreos.com/"
|
||||
|
@ -1,10 +1,9 @@
|
||||
# Copyright (c) 2015 The CoreOS OS Authors. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EAPI=7
|
||||
CROS_WORKON_PROJECT="flatcar-linux/seismograph"
|
||||
CROS_WORKON_REPO="git://github.com"
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
|
||||
if [[ "${PV}" == 9999 ]]; then
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
@ -13,7 +12,7 @@ else
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
fi
|
||||
|
||||
inherit autotools-utils cros-workon
|
||||
inherit autotools cros-workon
|
||||
|
||||
DESCRIPTION="CoreOS Disk Utilities (e.g. cgpt)"
|
||||
LICENSE="BSD"
|
||||
@ -25,3 +24,8 @@ RDEPEND="!coreos-base/vboot_reference
|
||||
sys-apps/util-linux
|
||||
sys-fs/e2fsprogs"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
@ -32,7 +32,7 @@ src_prepare() {
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" \
|
||||
VERSION=${PV} \
|
||||
JSON_INCLUDE_PATH="${ROOT%/}/usr/include/json-c"
|
||||
JSON_INCLUDE_PATH="${SYSROOT%/}/usr/include/json-c"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Copyright 2015 CoreOS, Inc.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EAPI=7
|
||||
CROS_WORKON_PROJECT="flatcar-linux/shim"
|
||||
CROS_WORKON_REPO="git://github.com"
|
||||
|
||||
@ -32,8 +32,8 @@ src_unpack() {
|
||||
src_compile() {
|
||||
emake \
|
||||
CROSS_COMPILE="${CHOST}-" \
|
||||
EFI_INCLUDE="${ROOT}"usr/include/efi \
|
||||
EFI_PATH="${ROOT}"usr/$(get_libdir) \
|
||||
EFI_INCLUDE="${SYSROOT%/}"/usr/include/efi \
|
||||
EFI_PATH="${SYSROOT%/}"/usr/$(get_libdir) \
|
||||
shim.efi || die
|
||||
}
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Copyright (c) 2013 CoreOS Inc. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Build tool wrappers for using custom SYSROOTs"
|
||||
HOMEPAGE="https://github.com/coreos/sysroot-wrappers"
|
||||
|
@ -1,9 +1,9 @@
|
||||
# Copyright (c) 2013 CoreOS Inc. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EAPI=7
|
||||
|
||||
inherit autotools git-2
|
||||
inherit autotools git-r3
|
||||
|
||||
DESCRIPTION="Build tool wrappers for using custom SYSROOTs"
|
||||
HOMEPAGE="https://github.com/coreos/sysroot-wrappers"
|
||||
@ -16,5 +16,6 @@ KEYWORDS="-*"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Copyright (c) 2013 CoreOS Authors. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EAPI=7
|
||||
CROS_WORKON_PROJECT="flatcar-linux/bootengine"
|
||||
CROS_WORKON_LOCALNAME="bootengine"
|
||||
CROS_WORKON_OUTOFTREE_BUILD=1
|
||||
@ -14,7 +14,7 @@ else
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
fi
|
||||
|
||||
inherit cros-workon cros-debug
|
||||
inherit cros-workon
|
||||
|
||||
DESCRIPTION="CoreOS Bootengine"
|
||||
SRC_URI=""
|
||||
|
@ -4,8 +4,8 @@
|
||||
EAPI=7
|
||||
|
||||
# Tell linux-info where to find the kernel source/build
|
||||
KERNEL_DIR="${SYSROOT}/usr/src/linux"
|
||||
KBUILD_OUTPUT="${SYSROOT}/var/cache/portage/sys-kernel/coreos-kernel"
|
||||
KERNEL_DIR="${SYSROOT%/}/usr/src/linux"
|
||||
KBUILD_OUTPUT="${SYSROOT%/}/var/cache/portage/sys-kernel/coreos-kernel"
|
||||
inherit linux-info savedconfig
|
||||
|
||||
# In case this is a real snapshot, fill in commit below.
|
||||
@ -102,7 +102,7 @@ src_unpack() {
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local kernel_mods="${ROOT}/lib/modules/${KV_FULL}"
|
||||
local kernel_mods="${SYSROOT%/}/lib/modules/${KV_FULL}"
|
||||
|
||||
# Fail if any firmware is missing.
|
||||
einfo "Scanning for files required by ${KV_FULL}"
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Copyright 2014-2016 CoreOS, Inc.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EAPI=7
|
||||
COREOS_SOURCE_REVISION=""
|
||||
inherit coreos-kernel
|
||||
|
||||
@ -55,21 +55,22 @@ pkg_setup() {
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# KV_OUT_DIR points to the minimal build tree installed by coreos-modules
|
||||
# Pull in the config and public module signing key
|
||||
KV_OUT_DIR="${ROOT%/}/lib/modules/${COREOS_SOURCE_NAME#linux-}/build"
|
||||
KV_OUT_DIR="${SYSROOT%/}/lib/modules/${COREOS_SOURCE_NAME#linux-}/build"
|
||||
cp -v "${KV_OUT_DIR}/.config" build/ || die
|
||||
local sig_key="$(getconfig MODULE_SIG_KEY)"
|
||||
mkdir -p "build/${sig_key%/*}" || die
|
||||
cp -v "${KV_OUT_DIR}/${sig_key}" "build/${sig_key}" || die
|
||||
|
||||
# Symlink to bootengine.cpio so we can stick with relative paths in .config
|
||||
ln -sv "${ROOT}"/usr/share/bootengine/bootengine.cpio build/ || die
|
||||
ln -sv "${SYSROOT%/}"/usr/share/bootengine/bootengine.cpio build/ || die
|
||||
config_update 'CONFIG_INITRAMFS_SOURCE="bootengine.cpio"'
|
||||
config_update 'CONFIG_INITRAMFS_COMPRESSION_ZSTD=y'
|
||||
|
||||
# include all intel and amd microcode files, avoiding the signatures
|
||||
local fw_dir="${ROOT}lib/firmware"
|
||||
local fw_dir="${SYSROOT%/}/lib/firmware"
|
||||
use amd64 && config_update "CONFIG_EXTRA_FIRMWARE=\"$(find ${fw_dir} -type f \
|
||||
\( -path ${fw_dir}'/intel-ucode/*' -o -path ${fw_dir}'/amd-ucode/*' \) -printf '%P ')\""
|
||||
use amd64 && config_update "CONFIG_EXTRA_FIRMWARE_DIR=\"${fw_dir}\""
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Copyright 2014-2016 CoreOS, Inc.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EAPI=7
|
||||
COREOS_SOURCE_REVISION=""
|
||||
inherit coreos-kernel savedconfig
|
||||
|
||||
@ -10,6 +10,7 @@ KEYWORDS="amd64 arm64"
|
||||
RDEPEND="!<sys-kernel/coreos-kernel-4.6.3-r1"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
restore_config build/.config
|
||||
if [[ ! -f build/.config ]]; then
|
||||
local archconfig="$(find_archconfig)"
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Copyright 2014 CoreOS, Inc.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
EAPI=7
|
||||
ETYPE="sources"
|
||||
|
||||
# -rc releases should be versioned L.M_rcN
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Copyright (c) 2013 The CoreOS Authors. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
EAPI=7
|
||||
CROS_WORKON_PROJECT="flatcar-linux/nss-altfiles"
|
||||
CROS_WORKON_LOCALNAME="nss-altfiles"
|
||||
CROS_WORKON_REPO="git://github.com"
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Copyright (c) 2012 The CoreOS Authors. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=2
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="CoreOS Kernel virtual package"
|
||||
HOMEPAGE="http://www.coreos.com"
|
Loading…
Reference in New Issue
Block a user