HI Eric,
Thank you! I tried that as well:
with ${D}/usr/lib but got:
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.64763
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'
then removed /usr/ as in the example, i.e. ${D}/lib but still got:
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:
/lib
/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.68538
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'
do_install_append() {
install -d ${D}/lib
cd ${D}/lib
lnr ${D}../lib64/rust/libaziot_keys.so libaziot_keys.so
}
On 2023-12-14 5:11 p.m., Eric Schwarz wrote:
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
--
*RON EGGLER*
Firmware Engineer, Tech Lead
(he/him/his)
www.mistywest.com
MistyWest Logo
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#61897): https://lists.yoctoproject.org/g/yocto/message/61897
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]
-=-=-=-=-=-=-=-=-=-=-=-