I was wondering if there's a way to override a variable's value specifically 
for a single task.

My use case for this is that I'm working on a split-image class that splits the 
rootfs up after install but before image creation, then creates 2 separate 
images (this helps us keep the rootfs separate from assets and user data). The 
split works fine, but when it comes time to create an image from the second, 
non-root file system (which I do in a new task, after do_rootfs), the 
get_imagecmds(d) call has filled in all of the variables with the values from 
the rootfs. I need to override variables like IMAGE_ROOTFS, but only for this 
one task. (I have an ugly work around involving copying the contents of the 
image_types.bbclass file into my new class and changing variable names, but 
would prefer not to do it that way)

Thanks,

Dan Lazzari Jr.
Firmware Engineer
[email protected]

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to