mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-22 23:11:07 +02:00
app-emulation/rkt: remove old ebuild, update manifest
This commit is contained in:
parent
f2400135ba
commit
7ee7e7fff3
@ -1,3 +1 @@
|
||||
DIST pxe-444.5.0.img 114147963 SHA256 26aaee080c50e8ccb0aca81e22f7b64307e31ca0f5b4d8aa989a2381bb56879c SHA512 aad9983e90fc1c0924df505c91a2a9912cec8083fa3ec7b9b67d6de82daf4b420de638d7bde5f129770815d6fbac53913c6a80e254b3777981787730bafb4e08 WHIRLPOOL 1e373a8728a01bf6e53b2760d24187a19aec9d32f05f04de8557f6fec01f652d577781f447463188a50070aaf31f48b2c67317989d89d9c114920b0e0cd8edaf
|
||||
DIST rkt-pxe-709.0.0.img 148919232 SHA256 d0df52bee7134fdeb6bc4d973e7ff651979894c0895423e2e9a0dd35279e7c3b SHA512 dc2f70eb29ebfe32b66201fc7fe3a343eee66feb2ad5fa1635bb4a979252440e378d28496f567e8a7761942a9e42e1f846626626e81ec9be38f4980cd4a8db99 WHIRLPOOL 72960971ad2e97e13305b0c21496b306c43185aee94c369d2ce3aad522701926a9cb0fbbd250b789f4beadbda3f872ea1a007943545279c0d904c673cc32fd93
|
||||
DIST rkt-pxe-794.1.0.img 185121072 SHA256 d513e27d2412d8fdaa2456786703346f10c24a62480d2036ca5c31b3d5a0df16 SHA512 f36324e9736bb0c533706c45d4146bed2efcb3ee2cb842c3624a62399835808c0df2aef56495a12b30f67c47fd84e93e34b10c57e4aa6d0450402d5e21c6f88c WHIRLPOOL 099851022b11aa29d004bbcef316a7cceeb5efa43f8069cdf1858888e7550f938fd9f9ec53eb63c313b5c1b93b0569f578a50fc5bae28b4d30c451a2ffd2adba
|
||||
|
@ -1,57 +0,0 @@
|
||||
# Copyright (c) 2015 CoreOS, Inc.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
CROS_WORKON_PROJECT="coreos/rkt"
|
||||
CROS_WORKON_LOCALNAME="rkt"
|
||||
CROS_WORKON_REPO="git://github.com"
|
||||
inherit cros-workon systemd
|
||||
|
||||
if [[ "${PV}" == 9999 ]]; then
|
||||
KEYWORDS="~amd64"
|
||||
else
|
||||
CROS_WORKON_COMMIT="40ced98c320c056e343fe9c3eaeb90a4ff248936" # v0.5.5
|
||||
KEYWORDS="amd64"
|
||||
fi
|
||||
|
||||
# Must be in sync with stage1/rootfs/usr_from_coreos/cache.sh
|
||||
IMG_RELEASE="444.5.0"
|
||||
IMG_URL="http://stable.release.core-os.net/amd64-usr/${IMG_RELEASE}/coreos_production_pxe_image.cpio.gz"
|
||||
|
||||
DESCRIPTION="App Container runtime"
|
||||
HOMEPAGE="https://github.com/coreos/rkt"
|
||||
SRC_URI="${IMG_URL} -> pxe-${IMG_RELEASE}.img"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/go-1.3
|
||||
app-arch/cpio
|
||||
sys-fs/squashfs-tools"
|
||||
RDEPEND="!app-emulation/rocket"
|
||||
|
||||
src_unpack() {
|
||||
local cache="${S}/stage1/rootfs/usr_from_coreos/cache"
|
||||
|
||||
cros-workon_src_unpack
|
||||
|
||||
mkdir -p "${cache}" || die
|
||||
cp "${DISTDIR}/pxe-${IMG_RELEASE}.img" "${cache}/pxe.img" || die
|
||||
}
|
||||
|
||||
# TODO: Use or adapt coreos-go.eclass so we have half a chance of
|
||||
# cross-compiling builds working
|
||||
src_compile() {
|
||||
RKT_STAGE1_IMAGE=/usr/share/rkt/stage1.aci CGO_ENABLED=0 ./build || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin "${S}/bin/rkt"
|
||||
|
||||
insinto /usr/share/rkt
|
||||
doins "${S}/bin/stage1.aci"
|
||||
|
||||
systemd_dounit "${FILESDIR}"/${PN}-gc.service
|
||||
systemd_dounit "${FILESDIR}"/${PN}-gc.timer
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user