On Thu, 2006-05-11 at 13:42 -0700, Erik Hovland wrote:
> So I thought maybe I would just augment initscripts to have a script
> which did an ipkg remove <package> if the architecture is not right by
> reading /proc/cpuinfo. That doesn't seem like the right place unless I
> play with bootmisc.sh. Anyhow, that is the jist.
> 
> I want to do this, but I am not sure about the implementation that is
> 'right' or straightforward for distributions to do this.

The most obvious solution is to patch the asic3 mmc driver so that it
won't initialize (i.e. returns an error code from init_module() on
non-asic3 machines).

Alternatively, you could give up on the autoloading and make a new
initscript that manually loads the appropriate driver based on the
machine type from /proc/cpuinfo.

I agree with you that splitting h5400 from h3900 would be a bad idea.

p.


_______________________________________________
Oe mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/oe

Reply via email to