Hi Hassan , You can create an install or install append function as per your requirement Example:
do_install() { install -d ${D}${sysconfdir}/YOUR-CUSTOM-DIR install -m 644 ${WORKDIR}/TEST-FILE ${D}${sysconfdir}/YOUR-CUSTOM-DIR } The Macro for standard directories like sysconfdir you can get from https://wiki.koansoftware.com/index.php/Directories_and_installation_variables Thanks , Ashish On Wed, Dec 4, 2024 at 10:22 AM MOHAMMED HASSAN via lists.yoctoproject.org <hassanchattarki=gmail....@lists.yoctoproject.org> wrote: > Hi guys, > I am unable to install my files, binary, etc in the /root directory. I > have searched the documentation and tried but to no avail. > Please share some snippet or recipe code for my reference. > > > Thanks > Hassan > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#64396): https://lists.yoctoproject.org/g/yocto/message/64396 Mute This Topic: https://lists.yoctoproject.org/mt/109914791/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-