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}/ }