Can't find any clear documentation on how to provide a custom file, Like /etc/issue? 10/3 Yocto AMA
From @Jagauthier: I want to provide a custom file. Like /etc/issue. However, I can't find any clear documentation on how to do this. I've tried multiple things including creating basefiles%.bbappend, and as well as a custom recipe to provide it. Either it's not copied or the image fails because base_files things I am already providing the file. Why is this so hard? I should be able to find the answer with a simple google search, like this https://www.google.com/search?client=firefox-b-1-d&q=Yocto+how+to+provide+a+custom+hosts+file
3 Replies
Check out @Ming 's response to the question in the attached video clip, or watch the full AMA on YouTube here: https://www.youtube.com/watch?v=QdWdrbVU7_I.
DevHeads
YouTube
AMA: Troubleshooting Common Yocto Build Issues
Over the past few weeks, we've been diving deep into the essentials of Yocto development, covering everything from 𝐘𝐨𝐜𝐭𝐨 vs 𝐏𝐨𝐤𝐲 vs 𝐎𝐩𝐞𝐧𝐄𝐦𝐛𝐞𝐝𝐝𝐞𝐝 to building custom embedded Linux distributions.
💡 We’ve explored how to manage, collaborate, and develop in the Yocto Project ecosystem, and discussed 𝐒𝐁𝐎𝐌 𝐛𝐞𝐬𝐭 𝐩𝐫𝐚𝐜𝐭𝐢𝐜𝐞𝐬 for improving security and ...
Register for upcoming DevHeads meetups here: https://app.livestorm.co/devheads-community/devheads-weekly-office-hours-1
There is additional information on this in the article:
https://siliconbladeconsultants.com/2024/10/10/how-to-override-standard-files-in-a-yocto-project/