reference:
http://developer.apple.com/library/mac/#documentation/Darwin/Conceptual/KEXTConcept/KEXTConceptPackaging/packaging_tutorial.html%23//apple_ref/doc/uid/20002368-CHDCBCJA
1. create dir for kext
cd /tmp
sudo mkdir tempKext
2. copy kext into dir
cd /KEXT_PROJECT_PATH/build/Release
sudo cp -R test.kext /tmp/tempKext
3. use PackageMaker to create install package
(/Developer/Application/Utilities)
drag tempKext dir into PackageMaker window
save editing result as .pmdoc file( PackageMaker file)
4. build
create .pkg file (install file)
.
沒有留言:
張貼留言