Skip to contentSkip to conversation

cpulimit: fix do_install with multilib

PATCH New Martin Jansa 1 participant 1 message May 3, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cpulimit: fix do_install with multilib

* fixes:
DEBUG: Executing shell function do_install
install: cannot stat 'TOPDIR/.../lib32-cpulimit/0.2-r0/git/src/lib32-cpulimit': No such file or directory
WARNING: exit code 1 from a shell command.

* drop strange 'g...@' from SRC_URI

---
 meta-oe/recipes-support/cpulimit/cpulimit_0.2.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-support/cpulimit/cpulimit_0.2.bb +2 -2
index 86a58beda4..58e4fd6e88 100644
@@ -4,7 +4,7 @@ LICENSE = "GPL-2.0-or-later"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=86c1c0d961a437e529db93aa3bb32dc4"
 SRCREV ?= "f4d2682804931e7aea02a869137344bb5452a3cd"
 
-SRC_URI = "git://[email protected]/opsengine/cpulimit.git;protocol=https;branch=master \
+SRC_URI = "git://github.com/opsengine/cpulimit.git;protocol=https;branch=master \
            file://0001-Remove-sys-sysctl.h-and-add-missing-libgen.h-include.patch \
            "
 
@@ -15,7 +15,7 @@ do_compile() {
 }
 do_install() {
     install -d ${D}${sbindir}
-    install -m 0755 ${B}/src/${PN} ${D}${sbindir}/
+    install -m 0755 ${B}/src/${BPN} ${D}${sbindir}/
 }
 
 CFLAGS += "-D_GNU_SOURCE ${LDFLAGS}"
Signature · 1 line
2.40.1