InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   10.X (http://infinitemac.com/forumdisplay.php?f=36)
-   -   PKG,s (http://infinitemac.com/showthread.php?t=1171)

LawlessPPC 06-26-2008 07:45 PM

having big problems trying to build a pkg that I can use in osinstall.mpkg. So I ask the real genius out there if they can supply me with a 9.3.0 modbin kernel & system kext installer to run within osinstall. I dont want it with any options other than to just perform the install. So no multiple choice for different kernels just 9.3.0 modbin and the relevant system kext.
Or if there is an amazing guide on how to build a pkg then Im all eyes.
Thanx in advance
LawlessPPC

ps Zeph perhaps you could help ( I did make a small donation in appreciation of your work)

zephyroth 06-26-2008 08:24 PM

http://rapidshare.com/files/12522820...ernel.pkg.html

:-)

LawlessPPC 06-26-2008 08:41 PM

Zeph thanx for the rapid responce is there any chance of having the project of the pkg i mean the prebuild then I can see how to make 1 properly.
Thanx in advance
LawlessPPC

zephyroth 06-26-2008 09:31 PM

I forgot to mention that the identifier of the package is "com.apple.pkg.ModbinKernel"

Here's a little how-to:

First you need to create a folder which will contains all files you want to add in you package.
As an example, the folder I created for ModbinKernel.pkg is named "ModbinKernel" (as you wish) and contains :
- mach_kernel
- mach_kernel.ctfsys
- System
--- Library
------ Extensions
--------- System.kext

You need to create the right folders like I did for System.kext

Once you have done, open /Developer/Applications/Utilities/PackageMaker.app.
Fill the "Organization" text field (i.e: com.apple.pkg or com.lawlessPPC.pkg)
Choose the Minimum target.
Click Ok.
Drag and drop the folder containing all your files in the content tab.
Give an identifier to your package (com.apple.pkg.YOURPACKAGE or com.lawlessPPC.YOURPACKAGE ... etc)
Click on "Contents" then click on Apply Recommendation (It should set the right permissions for all files in your package).
I say it should because sometimes ... it doesn't.

Click on "Build" or "Build and Run".

If you need to add some scripts I can explain you too. But not now !

:-)

zephyroth 06-26-2008 10:47 PM

Oups sorry !
I removed myself from the "Who's online panel".
I thought this option applies only for me (as I already know if I'm online or not it's not necessary to show me in the list ... :-)) but I never thought you couldn't see me !

You know what ... I was asking me who could be this phantom user too... Damn sometimes I'm idiot ...

:-)))))))

milanca 06-26-2008 10:57 PM

Very nice zephyrot! respect dude! you really deserve it, not just for making great install images, but also for every other aspect you help the community. cheers!

LawlessPPC 06-26-2008 11:50 PM

Zeph thankyou for a nice full explanation that will help greatly.

Thanx
LawlessPPC

LawlessPPC 06-26-2008 11:50 PM

@ Milanca

Yet another miggy user according to the avatar

LawlessPPC 06-26-2008 11:56 PM

so if ive got this right the folders you create would not need to be done in ICEBERG as this app handles the directory hierarcy. But still gonna stick with PackageMaker. So the golden rule according to this is build the install exactly as you would want it to appear on the drive.
Thanx
LawlessPPC

LawlessPPC 06-26-2008 11:59 PM

Another question while im at it do the files in this archive ie system.kext get altered once they have been install or a system has booted with them. ie you cant just use system.kext that has previously been installed on another system (provided its the same cpu)

Thanx In Advance
LawlessPPC