[yocto] adding own shell script to the image
Zolee K
zoleelikesdebian at gmail.com
Mon Oct 29 06:27:59 PDT 2018
Hi All,
I'm struggling with this:
The error message:
/home/..../recipes-z/testing/testing.bb: Unable to get checksum for testing
SRC_URI entry testscript: *file could not be found*
Which I don't understand, since the file is definitaly there:-(
Could you please help me out with this?
#############################################
this is my test folder:
testing/
├── file
│ └── testscript
└── testing.bb
#############################################
cat testing/testing.bb
DESCRIPTION = "test script"
LICENSE = "Z"
SRC_URI = "file://testscript"
SRC_URI[md5sum] = "e51375ed8c617ea7a6ac39b81c757e39"
do_install() {
install -d ${D}${bindir}
install -m 0770 testscript ${D}${bindir}
}
###############################################
cat testing/file/testscript
#!/bin/sh
echo "hello world"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20181029/19d2395c/attachment.html>
More information about the yocto
mailing list