@@ -1,7 +1,7 @@
SUMMARY = "CrowdSec is a free, modern & collaborative behavior detection engine, coupled with a global IP reputation network."
LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=105e75b680b2ab82fa5718661b41f3bf"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=105e75b680b2ab82fa5718661b41f3bf"
SRC_URI = "git://github.com/crowdsecurity/crowdsec.git;branch=master;protocol=https"
SRCREV = "73e0bbaf93070f4a640eb5a22212b5dcf26699de"
@@ -24,11 +24,11 @@ do_compile() {
export CGO_CFLAGS="${BUILDSDK_CFLAGS} --sysroot=${STAGING_DIR_TARGET}"
export CGO_LDFLAGS="${BUILDSDK_LDFLAGS} --sysroot=${STAGING_DIR_TARGET}"
- cd ${S}/src/import
+ cd ${S}
oe_runmake release
}
-do_install_ () {
+do_install () {
chmod +x -R --silent ${B}/pkg
}
The LICENSE file is in the repository root, not src/import/. The Makefile is also in the root, so do_compile should cd to ${S}. Fix do_install_ typo to do_install so the task actually runs. Signed-off-by: Jiaying Song <Jiaying.Song.CN@windriver.com> --- recipes-ids/crowdsec/crowdsec_1.1.1.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)