Voodooprojects
Chameleon => General Discussion => Topic started by: sleeepy on April 27, 2009, 03:08:00 PM
-
/System/Library/Extensions.mkext is created automatically if I delete the old one and boot with -f.
However, this doesn't seem to recreate /Extra/Extensions.mkext
Or am I missing something obvious (like some documentation somewhere?)
Also, is there something that I can do in /Extra in order to prevent the loading of a kext from /System/Lib../E... without supplying a replacement.
Thanks in anticipation
-
Its OK. Someone just told me to google kextcache. I can work it out form there.
-
Check out Mkext Tool, does the job perfect...
-
And if you build the correct Extensions.mkext for your system, does that mean you have to delete the Extensions folder inside of Extra?
-
And if you build the correct Extensions.mkext for your system, does that mean you have to delete the Extensions folder inside of Extra?
I resolved that problem by using a different directory name to hold the kext and running a modified copy of Munkys update script.
root ~ # ls -al /Extra
total 2416
drwxr-xr-x 13 root admin 442 Apr 28 23:58 .
drwxrwxr-x@ 37 root wheel 1326 Apr 11 17:01 ..
-rw-r--r--@ 1 root admin 6148 Apr 3 23:02 .DS_Store
-rw-r--r--@ 1 root admin 19179 Apr 3 23:02 DSDT.aml
-rw-r--r-- 1 root admin 451698 Apr 24 18:08 Extensions.mkext
-rw-r--r-- 1 root wheel 451698 Apr 10 23:36 Extensions.mkext.previous
drw-r--r-- 8 root wheel 272 Apr 24 18:05 KextStore
drwxr-xr-x 10 root admin 340 Apr 21 17:55 Themes
-rw-r--r-- 1 root admin 2016 Apr 21 17:56 com.apple.Boot.plist
-rw-r--r-- 1 root admin 1773 Apr 5 18:30 smbios.plist
-rw-r--r-- 1 root admin 1889 Apr 24 18:06 update.log
-rwxr-xr-x 1 root admin 483 Apr 16 17:37 update.sh
The kext reside in /Extra/KextStore and are never loaded from anything but the Extensions.mkext cache file.
-
I resolved that problem by using a different directory name to hold the kext and running a modified copy of Munkys update script...
The kext reside in /Extra/KextStore and are never loaded from anything but the Extensions.mkext cache file.
slick solution :)
-
I've been using a similar solution, but using mkexttool instead. I'm going to have to switch to your script though, it's faster.
-
...or just create a few aliases in your .bashrc, chain 'em and do it without a script :)