Hello Chris, Thanks for the reply.
On Thu, 2012-02-02 at 08:17 -0700, Chris Larson wrote: > > My use-case is that I am creating an /etc/fstab file via > > base-files.bbappend recipe. In that fstab, I use uuid (generated via > > uuidgen) to denote different partition filesystems. So, I have to > > use this uuid in the extended image_types.bbclass file to set them > > to the generated partition images appropriately (via tune2fs). > > > > One more approach I can think of is to echo the uuid to some file in > > the deploy images directory (while creating the fstab file) and read > > them back in image_types class. But this process looks messy. > > I'd say generate them in the configuration metadata via inline python > or an anonymous python function, then use those variables both in the > base-files recipe and images. Please bear with my ignorance. What do you mean by "generating them in configuration metadata"? In which file should I do that? At present as an ugly hack I exported the uuids in the build/conf/local.conf. Regards Joshua -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in
signature.asc
Description: This is a digitally signed message part
_______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto