Hi Ron,

Am 15.12.2023 um 01:26 schrieb Mistyron:
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
}

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?

Think you need to "cd" into the library directory and create then the symlink using a relative path.

Please check out the accepted answer from [1].

[1] https://stackoverflow.com/questions/48167601/create-symbolic-link-in-bitbake-recipe

Cheers
Eric
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#61894): https://lists.yoctoproject.org/g/yocto/message/61894
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