Just downloaded the SVN using the HTTP on the google code site.
So I copied out the InstallESD.dmg into the BaseOS folder.
Then Ran
[code]sudo ./instadmg.bash -s -b ./InstallerFiles/BaseOS/ -n “Macintosh HD” -m 110802_LionTest
12:53:16 ###### InstaDMG build initiated ######
InstaDMG version 1.6rc1 (svn revision: 420)
Host OS: Mac OS X Server 10.6.8
Host Hardware: MacPro3,1
Output file name: 110802_LionTest
Output disk name: Macintosh HD
12:53:17 ###### Finding main MacOS X installer disk ######
###### Unable to find primary installer disk ######
12:53:17 ###### Cleaning up ######
Ejecting images[/code]
So I’m a little confused at this point. The path for the DMG is correct.
Help appreciated.
Rob
OK UPDATE:
Changed to:
[code]sudo ./instadmg.bash -s -I ./InstallerFiles/BaseOS/InstallESD.dmg -n “Macintosh HD” -m 110802_LionTest
Password:
13:06:26 ###### InstaDMG build initiated ######
InstaDMG version 1.6rc1 (svn revision: 420)
Host OS: Mac OS X Server 10.6.8
Host Hardware: MacPro3,1
Output file name: 110802_LionTest
Output disk name: Macintosh HD
13:06:26 ###### Finding main MacOS X installer disk ######
13:06:26 ###### Looking for a Cached Image ######
No cached image found
13:06:26 ###### Mounting Mac OS X installer image ######
###### Trying to install a newer os (7) while running on an older os (6), this does not work ######
13:06:29 ###### Cleaning up ######
Ejecting images
[/code]
so you have to be running on LION to make the LION IMAGE?
Have to? No, that error is in the bash script, you can comment it out. Should you? Yes, it’s a good idea. BTW, you’ll need a new create user as well, please see previous threads about it(or join us in IRC/message me through this forum).
Allister
[QUOTE][u]Quote by: bostonmacosx[/u][p]OK UPDATE:
Changed to:
[code]sudo ./instadmg.bash -s -I ./InstallerFiles/BaseOS/InstallESD.dmg -n “Macintosh HD” -m 110802_LionTest[/code]
[/QUOTE]
Thank you for posting the command line 🙂
It’s creating an image for me, but I’m running Lion.
to make it simplier just comment ( add # ) to the following lines of instadmg.bash to make it run in 10.6
[code]line 665
line 667
line 668
line 669
line 697
line 699
line 701[/code]
then save and run the command [code] sudo ./instadmg.bash -s -I ./InstallerFiles/BaseOS/InstallESD.dmg -n “Macintosh HD” -m my_LionTest[/code]
That’s great news, pardon me I didn’t have proof it worked myself.
It’s open source, patches accepted, but I would rather leave that requirement in the repo just in case. Running installer on the platform(=OS) that the package is built for has to be the more supportable state of affairs.
Allister
In my 10.6.8 server build machine the 10.7 lion build threw errors with the commented out lines.
It also seemed to fail on empty numbered folders and think it was done.
In my experience with it up to this point it would just skip empty folders and move onto the next one.
While it’s no longer the case in Lion, 10.6.8 Server is enough of a different platform that building from that software is not recommended. Just a reminder, YMMV.
Allister
Should just post as well.
Multiple installers in a single folder do no longer work as well.
Rob
[QUOTE][u]Quote by: Allister[/u][p][code]but I would rather leave that requirement in the repo just in case[/code][/p][/QUOTE]
I agree with you there, the repo should get stable only. I added the lines for anyone that is not really confident.
btw I tried and I’m getting a dmg of 857Kb 🙄
Well I just tested the latets build on a Lion computer and it does build a proper image. My guess is that you cannot build Lion on SnowLeopard
Now the question is how should I make the catalog file to call instaup2date to install all the applications? because I don’t know how to reference the installer disk aka InstallESD.dmg
in other words, the instaup2date cannot find the installer disc
any suggestions??