summaryrefslogtreecommitdiffstats
path: root/recipes-containers/docker-distribution/docker-distribution_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-containers/docker-distribution/docker-distribution_git.bb')
-rw-r--r--recipes-containers/docker-distribution/docker-distribution_git.bb14
1 files changed, 6 insertions, 8 deletions
diff --git a/recipes-containers/docker-distribution/docker-distribution_git.bb b/recipes-containers/docker-distribution/docker-distribution_git.bb
index dbca0d55..495b0d17 100644
--- a/recipes-containers/docker-distribution/docker-distribution_git.bb
+++ b/recipes-containers/docker-distribution/docker-distribution_git.bb
@@ -3,16 +3,16 @@ SUMMARY = "The Docker toolset to pack, ship, store, and deliver content"
3LICENSE = "Apache-2.0" 3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314"
5 5
6SRCREV_distribution= "d607c6ccb9372e05556624f973119a23d3a42987" 6SRCREV_distribution = "f22dd6186008ff9d35f92acc5bc5fd16ba7ef95a"
7SRC_URI = "git://github.com/docker/distribution.git;branch=release/2.8;name=distribution;destsuffix=git/src/github.com/docker/distribution;protocol=https \ 7SRC_URI = "git://github.com/docker/distribution.git;branch=main;name=distribution;destsuffix=git/src/github.com/distribution/distribution/v3;protocol=https \
8 file://docker-registry.service \ 8 file://docker-registry.service \
9 file://0001-build-use-to-use-cross-go-compiler.patch \ 9 file://0001-build-use-to-use-cross-go-compiler.patch \
10 " 10 "
11 11
12PACKAGES =+ "docker-registry" 12PACKAGES =+ "docker-registry"
13 13
14PV = "v2.8.3+git" 14PV = "v3.0.0-beta.1"
15S = "${WORKDIR}/git/src/github.com/docker/distribution" 15S = "${WORKDIR}/git/src/github.com/distribution/distribution/v3"
16 16
17GO_IMPORT = "import" 17GO_IMPORT = "import"
18 18
@@ -20,7 +20,7 @@ inherit goarch go systemd
20 20
21# This disables seccomp and apparmor, which are on by default in the 21# This disables seccomp and apparmor, which are on by default in the
22# go package. 22# go package.
23EXTRA_OEMAKE="BUILDTAGS=''" 23EXTRA_OEMAKE = "BUILDTAGS=''"
24 24
25do_compile() { 25do_compile() {
26 export GOARCH="${TARGET_GOARCH}" 26 export GOARCH="${TARGET_GOARCH}"
@@ -48,7 +48,7 @@ do_install() {
48 48
49 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then 49 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
50 install -d ${D}${systemd_unitdir}/system 50 install -d ${D}${systemd_unitdir}/system
51 install -m 644 ${WORKDIR}/docker-registry.service ${D}/${systemd_unitdir}/system 51 install -m 644 ${UNPACKDIR}/docker-registry.service ${D}/${systemd_unitdir}/system
52 fi 52 fi
53 53
54 install -d ${D}/${sysconfdir}/docker-distribution/registry/ 54 install -d ${D}/${sysconfdir}/docker-distribution/registry/
@@ -73,5 +73,3 @@ SYSTEMD_AUTO_ENABLE:docker-registry = "enable"
73RDEPENDS:${PN}-ptest:remove = "${PN}" 73RDEPENDS:${PN}-ptest:remove = "${PN}"
74 74
75CVE_PRODUCT = "docker_registry" 75CVE_PRODUCT = "docker_registry"
76
77COMPATIBLE_HOST:riscv64 = "null"