Suppose we want to boot to different runlevels for different images.  We could 
modify the default inittab
to reflect that.  We could modify it in various ways, but I don't think the 
exact mechanism much matters.

What is an interesting question is WHEN we modify it.

One way would be to  have a small piece of code and invoke it during image 
creation using
something like

ROOTFS_POSTPROCESS_COMMAND += "sato_image_pp ; "

in our sato-image.bb recipe.  This doesn't require creating any new features.

But, we could also do it when we build sysvinit-inittab.  I think, if we did 
that, we would need a feature,
probably a DISTRO_FEATURE, that was set in some conf file.

Is there a preference for one way or the other?

Joe Slater

_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to