Voodooprojects

Chameleon => General Discussion => Topic started by: sleeepy on April 27, 2009, 03:08:00 PM

Title: creating /Extra/Extensions.mkext
Post 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
Title: Re: creating /Extra/Extensions.mkext
Post by: sleeepy on April 27, 2009, 03:54:33 PM
Its OK.  Someone just told me to google kextcache.  I can work it out form there.
Title: Re: creating /Extra/Extensions.mkext
Post by: savestheday on April 28, 2009, 03:14:55 PM
Check out Mkext Tool, does the job perfect...
Title: Re: creating /Extra/Extensions.mkext
Post by: bigpoppa on April 29, 2009, 03:02:22 AM
And if you build the correct Extensions.mkext for your system, does that mean you have to delete the Extensions folder inside of Extra?
Title: Re: creating /Extra/Extensions.mkext
Post by: BladeRunner on April 29, 2009, 06:08:53 AM
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.

Code: [Select]
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.
Title: Re: creating /Extra/Extensions.mkext
Post by: rocksteady on May 10, 2009, 12:02:02 AM
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 :)
Title: Re: creating /Extra/Extensions.mkext
Post by: Terc on May 10, 2009, 11:32:48 PM
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.
Title: Re: creating /Extra/Extensions.mkext
Post by: rocksteady on May 12, 2009, 03:21:13 AM
...or just create a few aliases in your .bashrc, chain 'em and do it without a script :)