On 2023-12-14 5:00 p.m., Khem Raj wrote:
On Thu, Dec 14, 2023 at 4:26 PM Mistyron<ron.egg...@mistywest.com>  wrote:
Hi,

I'm working with dunfell and want to create a symlink after compilation
of the library:

I added the following in aziot-keys_%.bbapend:

do_install_append() {
      install -d ${D}/usr/lib
      lnr ${D}/usr/lib64/rust/libaziot_keys.so ${D}/usr/lib/libaziot_keys.so
try using ln -rs instead of lnr.

With ln -rs I get the following error:

ERROR: aziot-keys-1.4.7.AUTOINC+91e058880c-r0 do_package: QA Issue: aziot-keys: Files/directories were installed but not shipped in any package: /usr/lib /usr/lib/libaziot_keys.so Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
aziot-keys: 2 installed and not shipped files. [installed-vs-shipped]
ERROR: aziot-keys-1.4.7.AUTOINC+91e058880c-r0 do_package: Fatal QA errors found, failing task. ERROR: Logfile of failure stored in: /home/yocto/rzv_vlp_v3.0.0/build/tmp/work/aarch64-poky-linux/aziot-keys/1.4.7.AUTOINC+91e058880c-r0/temp/log.do_package.64055 ERROR: Task (/home/yocto/rzv_vlp_v3.0.0/build/../meta-iotedge/recipes-core/aziot-keys/aziot-keys_1.4.7.bb:do_package) failed with exit code '1'

I came across a post that read that for dunfell, lnr shoudl be used (rather than ln -r for newer versions)

}

Yet, after building the image,
I do not see the symlink in/usr/lib/

I did find the recipe for which I created the bbappend with:
oe-pkgdata-util find-path /usr/lib64/rust/libaziot_keys.so

What is missing?

Thank you,
Ron

--
Mistyron


--
Mistyron


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#61895): https://lists.yoctoproject.org/g/yocto/message/61895
Mute This Topic: https://lists.yoctoproject.org/mt/103181952/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to