[yocto] include own script

Zolee K zoleelikesdebian at gmail.com
Tue Oct 30 01:42:37 PDT 2018


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
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'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20181030/d876655f/attachment.html>


More information about the yocto mailing list