site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com On vendredi, juin 23, 2006, at 08:44 PM, David A Rowland wrote: MyKext MyKext com.My.kext StartupItems.plist MyKext contains scripts to call kextload for the .kext drwxrwxr-t 54 root admin 1836 Dec 10 2005 Library drwxr-xr-x 6 root wheel 204 Feb 11 14:03 StartupItems drwxr-xr-x 10 root wheel 340 Feb 22 22:30 MyStartupItem drwxr-xr-x 3 root wheel 102 Nov 29 2005 MyKext.kext -rwxr-xr-x 1 root wheel 2662 Aug 9 2005 MyStartupItem -rw-r--r-- 1 root wheel 741 Aug 9 2005 StartupParameters.plist _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... I'm trying to make a kernel extension launch at boot time by placing a startup item in Library/StartupItems. I have followed all the rules, I think. The directory structure is: All the permissions have been set by PackageMaker and seem to be right -- root, wheel But it doesn't work. var/log/system.log seems to show a violation of permissions, but I'm not sure that is the problem. Is there a sample installation for kernel extensions that I could examine? If you're installing your kext in /Library/StartupItems, here is an example: Please note that on Mac OS X 10.2 (I don't remember if the fix was in 10.3 or only 10.4), you need to set the root:wheel permissions in the postflight script as Installer.app does not set them correctly. This email sent to site_archiver@lists.apple.com
participants (1)
-
Stéphane Sudre