Jump to content

Ayuda con PackageMaker [SOLUCIONADO]


SpiderNet
 Share

6 posts in this topic

Recommended Posts

Alguien me puede ayudar con PackageMaker de Xcode 3.0 o sugerir otro para crear .pkg y .mpkg

 

post-179585-1220233592_thumb.png

 

Quiero crear instaladores para optimizar la instalación de kext

 

Me explico mejor tengo en mente crear un solo instalador de los kext de mis equipos y integrarlo al DVD o CD de instalación

 

Ya se como integrarlo al DVD o CD

 

Pero tengo problemitas con los script en mis .pkg o .mpkg no se ejecutan

 

Alguien me puede ayudar..??

 

Gracias ante todo.

 

Y saludos desde Ecuador..!! :wacko:

 

:P SpiderNet

Link to comment
Share on other sites

kalyway utiliza un script para agregar los kext dentro de la distro no se si te seria util.

 

 

 

#! /bin/sh

 

echo "mount kalyway iso read/write"

 

cd ~/Desktop/Kalyway_10.5.2_DVD_Intel_Amd

 

sudo hdiutil attach Kalyway_10.5.2_DVD_Intel_Amd.iso -owners on -readwrite -noverify

 

 

 

 

echo "DVD Patches...(will add custom kext to boot DVD !!! )"

 

 

cd ~/Desktop/Kalyway_10.5.2_DVD_Intel_Amd/ADD_KEXT_TO_DVD

 

sudo cp -R *.kext /Volumes/Kalyway\ 10.5.2\ DVD\ Intel_Amd/System/Library/Extensions

 

cd /Volumes/Kalyway\ 10.5.2\ DVD\ Intel_Amd/System/Library/Extensions

 

sudo chown -R root:wheel *kext

sudo chmod -R 755 *kext

 

#diskutil repairPermissions /Volumes/Kalyway\ 10.5.2\ DVD\ Intel_Amd/

 

 

echo "Rebuild DVD kext cache !!! "

 

sleep 5

 

sudo kextcache -a i386 -l -n -s -m /Volumes/Kalyway\ 10.5.2\ DVD\ Intel_Amd/System/Library/Extensions.mkext /Volumes/Kalyway\ 10.5.2\ DVD\ Intel_Amd/System/Library/Extensions

 

sleep 5

 

sudo kextcache -k /Volumes/Kalyway\ 10.5.2\ DVD\ Intel_Amd/System/Library/Extensions

 

sleep 10

 

#echo "eject kalyway iso"

 

#sudo umount -f /Volumes/Kalyway\ 10.5.2\ DVD\ Intel_Amd

 

#diskutil eject /Volumes/Kalyway\ 10.5.2\ DVD\ Intel_Amd

 

 

 

echo "Job is Done...you can now eject and burn Kalyway_10.5.2_DVD_Intel_Amd.iso"

 

 

 

exit 0

Link to comment
Share on other sites

Ok.No se que piensas,pero si tienes varias PC que usan extensiones particulares cada una,se vería mejor añadir cada PC al .mpkg (así seleccionas la PC en cuestión desde él) y no crear un .pkg instalador.Le daría un look mas 'pro' :glare:

Link to comment
Share on other sites

 Share

×
×
  • Create New...