[yocto] Adding a shared object file to rootfs

Sathish Kumar Balasubramaniam -ERS, HCL Tech b-sathishkumar at hcl.com
Thu Jul 3 10:11:37 PDT 2014


I tried to add the abc.so using a linux-yocto_3.4.bbappend like the following

SRC_URI += "file://abc.so"

do_install_append() {
                install -d ${D}${base_libdir}
                install -m 0644 ${WORKDIR}/abc.so ${D}${base_libdir}/
}

FILES_${PN} += "${base_libdir}/*.so"
FILES_SOLIBSDEV = ""


However still I am getting the following error

ERROR: QA Issue: linux-yocto: Files/directories were installed but not shipped
  /lib/abc.so
  /lib/.debug
  /lib/.debug/abc.so
ERROR: QA run found fatal errors. Please consider fixing them.
ERROR: Function failed: do_package_qa


Thanks,
Sathish

From: Sathish Kumar Balasubramaniam -ERS, HCL Tech
Sent: Thursday, July 03, 2014 9:29 PM
To: yocto at yoctoproject.org
Subject: Adding a shared object file to rootfs
Importance: High

Hi,

I have a file abc.so
How can I add just this abc.so to /lib in rootfs using a recipe ?

Regards,
Sathish


::DISCLAIMER::
----------------------------------------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted,
lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents
(with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates.
Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the
views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of this message without the prior written consent of authorized representative of
HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately.
Before opening any email and/or attachments, please check them for viruses and other defects.

----------------------------------------------------------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140703/04c3e1cb/attachment.html>


More information about the yocto mailing list