mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-21 14:31:02 +02:00
Merge pull request #1314 from crawford/docker
app-emulation/docker: revert to v1.6.2
This commit is contained in:
commit
0fdaca48fe
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/docker/docker-1.4.0.ebuild,v 1.1 2014/12/12 18:53:23 xarthisius Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
@ -15,7 +15,7 @@ if [[ ${PV} == *9999 ]]; then
|
||||
DOCKER_GITCOMMIT="unknown"
|
||||
KEYWORDS=""
|
||||
else
|
||||
CROS_WORKON_COMMIT="0baf60984522744eed290348f33f396c046b2f3a" # v1.7.0
|
||||
CROS_WORKON_COMMIT="7c8fca2ddb58c8d2c4fb4df31c242886df7dd257" # v1.6.2
|
||||
DOCKER_GITCOMMIT="${CROS_WORKON_COMMIT:0:7}"
|
||||
KEYWORDS="amd64 arm64"
|
||||
fi
|
||||
@ -28,6 +28,7 @@ IUSE="aufs +btrfs contrib +device-mapper doc experimental lxc +overlay vim-synta
|
||||
|
||||
# https://github.com/docker/docker/blob/master/hack/PACKAGERS.md#build-dependencies
|
||||
CDEPEND="
|
||||
>=sys-kernel/coreos-kernel-3.18.0
|
||||
>=dev-db/sqlite-3.7.9:3
|
||||
device-mapper? (
|
||||
>=sys-fs/lvm2-2.02.89[thin]
|
||||
@ -36,7 +37,7 @@ CDEPEND="
|
||||
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
>=dev-lang/go-1.4
|
||||
>=dev-lang/go-1.3
|
||||
btrfs? (
|
||||
>=sys-fs/btrfs-progs-3.16.1
|
||||
)
|
||||
@ -64,7 +65,6 @@ RDEPEND="
|
||||
aufs? (
|
||||
|| (
|
||||
sys-fs/aufs3
|
||||
sys-fs/aufs4
|
||||
sys-kernel/aufs-sources
|
||||
)
|
||||
)
|
||||
@ -96,11 +96,11 @@ ERROR_CGROUP_PERF="CONFIG_CGROUP_PERF: is optional for container statistics gath
|
||||
ERROR_CFS_BANDWIDTH="CONFIG_CFS_BANDWIDTH: is optional for container statistics gathering"
|
||||
|
||||
pkg_setup() {
|
||||
if kernel_is lt 3 10; then
|
||||
if kernel_is lt 3 8; then
|
||||
eerror ""
|
||||
eerror "Using Docker with kernels older than 3.10 is unstable and unsupported."
|
||||
eerror "Using Docker with kernels older than 3.8 is unstable and unsupported."
|
||||
eerror " - http://docs.docker.com/installation/binaries/#check-kernel-dependencies"
|
||||
die 'Kernel is too old - need 3.10 or above'
|
||||
die 'Kernel is too old - need 3.8 or above'
|
||||
fi
|
||||
|
||||
# for where these kernel versions come from, see:
|
||||
@ -202,7 +202,7 @@ src_compile() {
|
||||
# time to build!
|
||||
./hack/make.sh dynbinary || die 'dynbinary failed'
|
||||
|
||||
# TODO get go-md2man and then include the man pages using man/md2man-all.sh
|
||||
# TODO get go-md2man and then include the man pages using docs/man/md2man-all.sh
|
||||
}
|
||||
|
||||
src_install() {
|
||||
@ -230,11 +230,11 @@ src_install() {
|
||||
|
||||
dodoc AUTHORS CONTRIBUTING.md CHANGELOG.md NOTICE README.md
|
||||
if use doc; then
|
||||
# TODO doman man/man*/*
|
||||
# TODO doman contrib/man/man*/*
|
||||
|
||||
docompress -x /usr/share/doc/${PF}/md
|
||||
docinto md
|
||||
dodoc -r docs/*
|
||||
dodoc -r docs/sources/*
|
||||
fi
|
||||
|
||||
dobashcomp contrib/completion/bash/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user