All of lore.kernel.org
 help / color / mirror / Atom feed
* include own script
@ 2018-10-30  8:42 Zolee K
  2018-10-30  8:55 ` ChenQi
  0 siblings, 1 reply; 2+ messages in thread
From: Zolee K @ 2018-10-30  8:42 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 1088 bytes --]

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'

[-- Attachment #2: Type: text/html, Size: 1391 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: include own script
  2018-10-30  8:42 include own script Zolee K
@ 2018-10-30  8:55 ` ChenQi
  0 siblings, 0 replies; 2+ messages in thread
From: ChenQi @ 2018-10-30  8:55 UTC (permalink / raw)
  To: Zolee K, yocto

[-- Attachment #1: Type: text/plain, Size: 1545 bytes --]

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


[-- Attachment #2: Type: text/html, Size: 3046 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-10-30  8:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-30  8:42 include own script Zolee K
2018-10-30  8:55 ` ChenQi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.