diff options
| author | Amy Fong <amy.fong@windriver.com> | 2015-06-08 13:26:01 -0400 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2015-06-14 23:00:09 -0400 |
| commit | fe357d8c80137595ee6d0a84b9178f2f846ba441 (patch) | |
| tree | fb1c7a56e680e716eeb1fd231331b483bd8a7737 /recipes-containers | |
| parent | e50e36cfa3898b1defcbffe9f3fd0a20403c8de3 (diff) | |
| download | meta-virtualization-fe357d8c80137595ee6d0a84b9178f2f846ba441.tar.gz | |
docker uprev 1.6.2
Uprev docker to 1.6.2
go-capability is upreved to a later git commit
go-dbus is upreved to version 2
go-distribution-digest is added as a new dependency. Only the
digest part of go-distribution is needed/kept here,
hence go-distribution-digest
go-logrus is upreved to 0.7.1
Remove PR since it's no longer used
Signed-off-by: Amy Fong <amy.fong@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-containers')
| -rw-r--r-- | recipes-containers/docker/docker_git.bb | 11 | ||||
| -rw-r--r-- | recipes-containers/docker/files/disable_sha1sum_startup.patch | 8 |
2 files changed, 10 insertions, 9 deletions
diff --git a/recipes-containers/docker/docker_git.bb b/recipes-containers/docker/docker_git.bb index cb546161..8bcaee9b 100644 --- a/recipes-containers/docker/docker_git.bb +++ b/recipes-containers/docker/docker_git.bb | |||
| @@ -18,9 +18,9 @@ DESCRIPTION = "Linux container runtime \ | |||
| 18 | subtle and/or glaring issues. \ | 18 | subtle and/or glaring issues. \ |
| 19 | " | 19 | " |
| 20 | 20 | ||
| 21 | SRCREV = "2243e32cbbf1c9809c262a7376d34ca43a7a36dc" | 21 | SRCREV = "7c8fca2ddb58c8d2c4fb4df31c242886df7dd257" |
| 22 | SRC_URI = "\ | 22 | SRC_URI = "\ |
| 23 | git://github.com/docker/docker.git \ | 23 | git://github.com/docker/docker.git;branch=release \ |
| 24 | file://docker.service \ | 24 | file://docker.service \ |
| 25 | file://docker.init \ | 25 | file://docker.init \ |
| 26 | file://hi.Dockerfile \ | 26 | file://hi.Dockerfile \ |
| @@ -38,7 +38,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1cc0497778922bfd6cb48721deb80dc7" | |||
| 38 | 38 | ||
| 39 | S = "${WORKDIR}/git" | 39 | S = "${WORKDIR}/git" |
| 40 | 40 | ||
| 41 | DOCKER_VERSION = "1.5.0" | 41 | DOCKER_VERSION = "1.6.2" |
| 42 | PV = "${DOCKER_VERSION}+git${SRCREV}" | 42 | PV = "${DOCKER_VERSION}+git${SRCREV}" |
| 43 | 43 | ||
| 44 | DEPENDS = "golang-cross \ | 44 | DEPENDS = "golang-cross \ |
| @@ -57,6 +57,7 @@ DEPENDS = "golang-cross \ | |||
| 57 | go-systemd \ | 57 | go-systemd \ |
| 58 | btrfs-tools \ | 58 | btrfs-tools \ |
| 59 | sqlite3 \ | 59 | sqlite3 \ |
| 60 | go-distribution-digest \ | ||
| 60 | " | 61 | " |
| 61 | 62 | ||
| 62 | DEPENDS_append_class-target = "lvm2" | 63 | DEPENDS_append_class-target = "lvm2" |
| @@ -110,9 +111,9 @@ INITSCRIPT_PARAMS_${PN} = "${OS_DEFAULT_INITSCRIPT_PARAMS}" | |||
| 110 | 111 | ||
| 111 | do_install() { | 112 | do_install() { |
| 112 | mkdir -p ${D}/${bindir} | 113 | mkdir -p ${D}/${bindir} |
| 113 | cp ${S}/bundles/${DOCKER_VERSION}-dev/dynbinary/docker-${DOCKER_VERSION}-dev \ | 114 | cp ${S}/bundles/${DOCKER_VERSION}/dynbinary/docker-${DOCKER_VERSION} \ |
| 114 | ${D}/${bindir}/docker | 115 | ${D}/${bindir}/docker |
| 115 | cp ${S}/bundles/${DOCKER_VERSION}-dev/dynbinary/dockerinit-${DOCKER_VERSION}-dev \ | 116 | cp ${S}/bundles/${DOCKER_VERSION}/dynbinary/dockerinit-${DOCKER_VERSION} \ |
| 116 | ${D}/${bindir}/dockerinit | 117 | ${D}/${bindir}/dockerinit |
| 117 | 118 | ||
| 118 | if ${@base_contains('DISTRO_FEATURES','systemd','true','false',d)}; then | 119 | if ${@base_contains('DISTRO_FEATURES','systemd','true','false',d)}; then |
diff --git a/recipes-containers/docker/files/disable_sha1sum_startup.patch b/recipes-containers/docker/files/disable_sha1sum_startup.patch index cc6819bd..580ca23a 100644 --- a/recipes-containers/docker/files/disable_sha1sum_startup.patch +++ b/recipes-containers/docker/files/disable_sha1sum_startup.patch | |||
| @@ -17,15 +17,15 @@ Signed-off-by: Amy Fong <amy.fong@windriver.com> | |||
| 17 | 17 | ||
| 18 | --- a/utils/utils.go | 18 | --- a/utils/utils.go |
| 19 | +++ b/utils/utils.go | 19 | +++ b/utils/utils.go |
| 20 | @@ -4,7 +4,6 @@ | 20 | @@ -3,7 +3,6 @@ |
| 21 | import ( | ||
| 21 | "bufio" | 22 | "bufio" |
| 22 | "bytes" | 23 | "bytes" |
| 23 | "crypto/rand" | ||
| 24 | - "crypto/sha1" | 24 | - "crypto/sha1" |
| 25 | "crypto/sha256" | 25 | "crypto/sha256" |
| 26 | "encoding/hex" | 26 | "encoding/hex" |
| 27 | "fmt" | 27 | "fmt" |
| 28 | @@ -76,20 +75,6 @@ | 28 | @@ -75,20 +74,6 @@ |
| 29 | return path | 29 | return path |
| 30 | } | 30 | } |
| 31 | 31 | ||
| @@ -46,7 +46,7 @@ Signed-off-by: Amy Fong <amy.fong@windriver.com> | |||
| 46 | func isValidDockerInitPath(target string, selfPath string) bool { // target and selfPath should be absolute (InitPath and SelfPath already do this) | 46 | func isValidDockerInitPath(target string, selfPath string) bool { // target and selfPath should be absolute (InitPath and SelfPath already do this) |
| 47 | if target == "" { | 47 | if target == "" { |
| 48 | return false | 48 | return false |
| 49 | @@ -111,7 +96,7 @@ | 49 | @@ -110,7 +95,7 @@ |
| 50 | } | 50 | } |
| 51 | return os.SameFile(targetFileInfo, selfPathFileInfo) | 51 | return os.SameFile(targetFileInfo, selfPathFileInfo) |
| 52 | } | 52 | } |
