On Monday 11 June 2012 11:27:48 Phil Blundell wrote: > On Mon, 2012-06-11 at 11:24 +0100, Paul Eggleton wrote: > > I don't think we want this to be image-specific. FWIW, we do already have > > a > > mechanism to handle this for the dropbear recipe - debug-tweaks in > > IMAGE_FEATURES. I don't particularly like it however since IMAGE_FEATURES > > should not be influencing non-image recipes. This has bothered me for a > > while and I think we ought to change to some other mechanism (perhaps > > make it a separate variable) and then make the OpenSSH recipe use that. > > In the particular case of OpenSSH, it's just a configuration file > setting, rather than a compile-time #ifdef, so doing it with > IMAGE_FEATURES and a rootfs postprocess step sounds like a perfectly > wholesome approach. > > I agree that the current mechanism used by dropbear (applying patches > based on IMAGE_FEATURES) is full of suck and should be changed, perhaps > to something more akin to what openssh does.
Sounds good. I've created Yocto bug #2578 to look at fixing this in the manner you described. Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre _______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
