On 10/30/2018 04:42 PM, Zolee K wrote:
Hi All,


Could you help me out with this? I've been experimenting with this without success, some of you have given me suggestions but neither of them worked yet.

###############

/recipes-z/testing$ cat testscript.bb <http://testscript.bb>
DESCRIPTION = "test script"
LICENSE = "Zoli"

SRC_URI = "file://testscript"

SRC_URI[md5sum] = "e51375ed8c617ea7a6ac39b81c757e39"

FILESEXTRAPATHS_prepend := "${THISDIR}/file:"

S= "${WORKDIR}"

do_install() {
    install -d ${D}${bindir}
    install -m 0770 testscript ${D}${bindir}
}

#################

recipes-z/testing$ cat files/testscript
#!/bin/sh

echo "hello world"

################

ERROR: testscript-1.0-r0 do_populate_lic: Fatal QA errors found, failing task. ERROR: testscript-1.0-r0 do_populate_lic: Function failed: populate_lic_qa_checksum ERROR: Logfile of failure stored in: /home/kerenyiz/oe-core/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/testscript/1.0-r0/temp/log.do_populate_lic.4044 ERROR: Task (/home/..../recipes-z/testing/testscript.bb:do_populate_lic) failed with exit code '1'



I guess the problem is about LIC_FILES_CHKSUM. Your LICENSE is set to 'Zoli'. So where do you put your Zoli license and what's the checksum of it? How about using the following two lines if you do not care about license?

LICENSE = "CLOSED"
LIC_FILES_CHKSUM = ""

Best Regards,

Chen Qi

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to