On Thu, Feb 12, 2004 at 06:05:54PM -0500, David R. Morrison wrote: > For the unloading issue, I believe that we should require any package which > has a kext to do the following: > 1) in a pre-remove script, have a dialog with the user in which the user > is told that an immediate reboot will occur if this package is removed, > and if the user says "no", the removal operation is cancelled > 2) in a post-remove script, (gently) force a reboot.
I'm not really a fan of forced reboots in general, but I'd go along with it if that's what it'll take to get fink to allow kexts (particularly ones that can't unload). Letting the user know that the kext is still loaded and a reboot will be required to get rid of it should be good enough. It's kind of like deleting a file that someone could still have an open reference to. The only way to be sure there are no more references to the files you've just deleted would be to reboot. > As far as where to put it: does Apple have a recommended place (default > search path?) to install third-party kexts? /Library/Extensions, maybe? > If so, along the lines of earlier discussions, we should consider expanding > our rules to allow /sw/Library/Extensions as the location for kexts. There is no real recommendation. kexts that are not auto-loaded are loaded by explicit paths (or bundle relative paths). The only implicit paths when doing kext loading are those for resolving the kext's dependencies, and then only /S/L/E is used. Regardless of where fink put it's kexts, the loading process would need to specify the explicit path to the kext, as well as the fink location for kexts to resolve dependencies. So, the issue of kexts is somewhat decoupled from the issue of having %p/Library, %p/Frameworks, %p/Applications, etc. Except that we'll need *someplace* to put the kexts. For those that enjoy the old days, I'll throw %p/stand in there. ;-) Rob ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
