From 786b8972c3c64cb86ed689457e9d839a5dc940c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonard=20G=C3=B6hrs?= Date: Fri, 4 Oct 2024 10:13:55 +0200 Subject: [PATCH] meta-lxatac-software: github-act-runner: UNPACKDIR transition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit TODO: some words about the destdir URL suffix Signed-off-by: Leonard Göhrs --- .../github-act-runner/github-act-runner.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meta-lxatac-software/recipes-devtools/github-act-runner/github-act-runner.inc b/meta-lxatac-software/recipes-devtools/github-act-runner/github-act-runner.inc index 9bee2e9f..e81d78e3 100644 --- a/meta-lxatac-software/recipes-devtools/github-act-runner/github-act-runner.inc +++ b/meta-lxatac-software/recipes-devtools/github-act-runner/github-act-runner.inc @@ -1,8 +1,10 @@ SUMMARY = "GitHub act Runner" DESCRIPTION = "Alternative implementation of the GitHub Action runner protocol written in Go" +GO_IMPORT = "github.com/ChristopherHX/github-act-runner" + SRC_URI = " \ - git://github.com/ChristopherHX/github-act-runner.git;branch=main;protocol=https \ + git://${GO_IMPORT};branch=main;protocol=https;destsuffix=${BPN}-${PV}/src/${GO_IMPORT} \ file://github-act-runner.service \ " @@ -12,8 +14,6 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda inherit go-mod inherit systemd -GO_IMPORT = "github.com/ChristopherHX/github-act-runner" - RDEPENDS:${PN}:append = "nodejs" RDEPENDS:github-act-runner-dev:append = "make bash" @@ -25,5 +25,5 @@ do_compile[network] = "1" do_install:append() { install -d ${D}${systemd_system_unitdir} - install -m 0644 ${WORKDIR}/github-act-runner.service ${D}${systemd_system_unitdir}/ + install -m 0644 ${UNPACKDIR}/github-act-runner.service ${D}${systemd_system_unitdir}/ }