Hello All, I realized that I may not have been specific enough on my problem since I haven't had any reply or found a solution yet.
Essentially, I need to be able to add some files to the image file itself (.hddimg, not the rootfs) and be able to do that automatically (and ideally from a custom recipe). What I have tried so far is to extend the bootimg.bbclass. So I created my own class, myclass.bbclass, with the following content: Inherit bootimg myclass_do_bootimg() { do_bootimg cp <some files> ${HDDDIR} } EXPORT_FUNCTIONS do_bootimg And I patched image-live.bbclass to replace the "inherit bootimg" by "inherit myclass" (I don't know if there is a better way to do that?). But it seems that myclass_do_bootimg is never called, but do_bootimg is. I also tried the following myclass.bbclass without any more success. Inherit bootimg do_some_function() { cp <some files> ${HDDDIR} } addtask some_function after do_booimg Can someone tell me what I'm doing wrong? Thanks for any help. Francois François Gallichand Engineer - Software Group ABB Group Analytical Business (418)877-2944 x268 [ABB logo] From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org] On Behalf Of Francois P Gallichand Sent: Friday, June 13, 2014 9:58 AM To: yocto@yoctoproject.org Subject: [yocto] Adding files to the hddimg Hello, I'm relatively new to yocto and this is maybe something that is pretty basic but how can I add my own files in the bootimg (.hddimg) using a custom recipes? And I really means the boot image file, not the rootfs image. Thanks, François Gallichand Engineer - Software Group ABB Group Analytical Business (418)877-2944 x268 [ABB logo]
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto