You have to separate the installation directory

> 
> # Define the installation steps
> do_install() {
> install -d ${D}${datadir}/mydir
> install -m 0644 readme.txt ${D}${datadir}/mydir
> 
> install -d ${D}${datadir}/mydirtest
> install -m 0644 readme.txt ${D}${datadir}/mydirtest
> }
> # Ensure the files are split correctly between packages
> FILES:${PN} += "${datadir}/mydir/readme.txt"
> FILES:${PN}-test += "${datadir}/mydirtest/readme.txt"
> 

--
Marco Cavallini | KOAN sas
Bergamo - Italia
embedded software engineering
https://KoanSoftware.com
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#63718): https://lists.yoctoproject.org/g/yocto/message/63718
Mute This Topic: https://lists.yoctoproject.org/mt/107954307/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to