Thanks for your suggestions! I actually tried that out changing the scratch folder as the first thing, as I also wanted to use an SSD disk for scratch – but still no luck. I’m stuck unfortunately. But I’ll let you know if I get anywhere.
I tried what you suggested. Rebooted, but it still fails the same way. This Is my 10.8_vanilla.catalog (the default one): Installer Disc Builds: 12A269, 12B19, 12C54
Output Volume Name: Macintosh HD
Output File Name: 10.8_vanilla
OS Updates:
# We're assuming you're using the newest 10.8.2 build 12C54 as your install 'media', otherwise uncomment (remove # from the beginning of) the next line
# OS X Mountain Lion Update v10.8.2 http://support.apple.com/downloads/DL1581/en_US/OSXUpdCombo10.8.2.dmg sha1:b08f10233d362e39f20b69f91d1d73f5e7b68a2c
iTunes 10.7 http://appldnld.apple.com/iTunes10/041-7195.20120912.d3uzQ/iTunes10.7.dmg sha1:0ff7c404f87122f89d49ed6c411b3692f1016e0a
Java for OS X 2012-005 http://support.apple.com/downloads/DL1572/en_US/JavaForOSX.dmg sha1:eff777cdc39b4e3336b3477f60e8ad769ded8532
OS X Mountain Lion 10.8.2 Supplemental Update http://support.apple.com/downloads/DL1600/en_US/OSXUpd10.8.2Supp.dmg sha1:ccd53770fd5beff7c457594599907d8a36e40807
Parsing the catalog files for 10.8_vanilla
iTunes 10.7
Java for OS X 2012-005
OS X Mountain Lion 10.8.2 Supplemental Update
Finding and validating the sources for 10.8_vanilla
iTunes 10.7 - found based on checksum and verified in 1 second
Java for OS X 2012-005 - found based on checksum and verified in less than one secondegabytes/sec)
OS X Mountain Lion 10.8.2 Supplemental Update - found based on checksum and verified in less than one secondegabytes/sec)
Finding the Installer disc for 10.8_vanilla
Found Installer Disc: /Volumes/Lacie/Lacie/Technical/instadmg/InstallerFiles/BaseOS/InstallESD.dmg
Setting up for 10.8_vanilla
Setting up InstaDMG folders
Running InstaDMG: /Volumes/Lacie/Lacie/Technical/instadmg/instadmg.bash -f -I /Volumes/Lacie/Lacie/Technical/instadmg/InstallerFiles/BaseOS/InstallESD.dmg -n Macintosh HD -m 10.8_vanilla.dmg -K /private/tmp/idmg_temp.mBirW1/items-BKIksA -o /Volumes/Lacie/Lacie/Technical/instadmg/OutputFiles
00:44:22 ###### InstaDMG build initiated ######
InstaDMG version 1.6rc1 (svn revision: 459)
Host OS: Mac OS X 10.8.2
Host Hardware: MacBookPro8,2
Output file name: 10.8_vanilla.dmg
Output disk name: Macintosh HD
00:44:24 ###### Finding main MacOS X installer disk ######
00:44:24 ###### Looking for a Cached Image ######
Mounting the shadow file (/private/tmp/idmg.vnAr/6191754E-5DCC-4557-8ED6-6BFD6A3994B7.shadowfile) onto the cached image (./Caches/BaseImageCache/843509E4.dmg)
Recovery Partition Found
2012-10-18 00:44:32.384 defaults[480:707]
The domain/default pair of (/private/tmp/idmg.vnAr/idmg_mp.soBa/Macintosh HD/System/Library/CoreServices/SystemVersion, ProductVersion) does not exist
2012-10-18 00:44:32.394 defaults[482:707]
The domain/default pair of (/private/tmp/idmg.vnAr/idmg_mp.soBa/Macintosh HD/System/Library/CoreServices/SystemVersion, ProductVersion) does not exist
2012-10-18 00:44:32.405 defaults[484:707]
The domain/default pair of (/private/tmp/idmg.vnAr/idmg_mp.soBa/Macintosh HD/System/Library/CoreServices/SystemVersion, ProductBuildVersion) does not exist
2012-10-18 00:44:32.415 defaults[485:707]
The domain/default pair of (/private/tmp/idmg.vnAr/idmg_mp.soBa/Macintosh HD/System/Library/CoreServices/SystemVersion, ProductName) does not exist
/Volumes/Lacie/Lacie/Technical/instadmg/instadmg.bash: line 674: [: 8: unary operator expected
Target OS: ()
WARNING: Chroot jails only work with 10.5, so disabling that functionality
WARNING: Installer daemon-jailing does not currently work with 10.7, disabling that functionality as well
00:44:32 ###### Beginning Update Installs from /private/tmp/idmg_temp.mBirW1/items-BKIksA ######
Working on folder 1 iTunes 10.7 (00:44:32)
Mounting the package dmg: iTunes10.7 sha1-0ff7c404f87122f89d49ed6c411b3692f1016e0a.dmg (/private/tmp/idmg_temp.mBirW1/items-BKIksA/1 iTunes 10.7) at: /private/tmp/idmg.vnAr/idmg_mp.tsnj
Installing Install iTunes.pkg
Folder 1 iTunes 10.7 done (00:44:35)
Working on folder 2 Java for OS X 2012-005 (00:44:35)
Mounting the package dmg: JavaForOSX sha1-eff777cdc39b4e3336b3477f60e8ad769ded8532.dmg (/private/tmp/idmg_temp.mBirW1/items-BKIksA/2 Java for OS X 2012-005) at: /private/tmp/idmg.vnAr/idmg_mp.pHlV
Installing JavaForOSX.pkg
Folder 2 Java for OS X 2012-005 done (00:44:37)
Working on folder 3 OS X Mountain Lion 10.8.2 Supplemental Update (00:44:37)
Mounting the package dmg: OSXUpd10.8.2Supp sha1-ccd53770fd5beff7c457594599907d8a36e40807.dmg (/private/tmp/idmg_temp.mBirW1/items-BKIksA/3 OS X Mountain Lion 10.8.2 Supplemental Update) at: /private/tmp/idmg.vnAr/idmg_mp.Nehn
Installing OSXUpd10.8.2Supp.pkg
Folder 3 OS X Mountain Lion 10.8.2 Supplemental Update done (00:44:39)
00:44:39 ###### Correcting some generic installer errors ######
Correcting symlinks that point off the disk
Closing programs that have opened files on the disk
Deleting Extensions.mkext cache file
Deleting cache files created during installations
00:45:09 ###### Creating the deployment DMG and scanning for ASR ######
Rename the deployment volume: Macintosh HD
Could not find disk for /private/tmp/idmg.vnAr/idmg_mp.soBa/Macintosh HD
Create a read-only image
cp: /private/tmp/idmg.vnAr/idmg_mp.soBa/Macintosh HD/private/var/log/InstaDMG_package.log: No such file or directory
The image did not eject cleanly, so I will force it
###### Failed to unmount the Target image image from /private/tmp/idmg.vnAr/idmg_mp.soBa/Macintosh HD, unable to continue ######
hdiutil: convert failed - Arkiv findes
Scanning image for ASR: /Volumes/Lacie/Lacie/Technical/instadmg/OutputFiles/10.8_vanilla.dmg
ASR image scan complete
00:45:10 ###### InstaDMG Complete ######
00:45:10 ###### Cleaning up ######
Ejecting images
Deleting scratch DMG
Done
And this is by running InstaDMG directly with only the files from the Vanilla catalog. Also without any luck. And I am running the newest version (just did an svn update).
sudo ./instadmg.bash
00:52:39 ###### InstaDMG build initiated ######
InstaDMG version 1.6rc1 (svn revision: 459)
Host OS: Mac OS X 10.8.2
Host Hardware: MacBookPro8,2
Output file name: 12-10-18.dmg
Output disk name: InstaDMG
###### A required folder is missing or was not a folder: CUSTOM_FOLDER: ./InstallerFiles/CustomPKG ######
Anderss-MacBook-Pro:instadmg anni1105$ sudo ./instadmg.bash
00:52:51 ###### InstaDMG build initiated ######
InstaDMG version 1.6rc1 (svn revision: 459)
Host OS: Mac OS X 10.8.2
Host Hardware: MacBookPro8,2
Output file name: 12-10-18.dmg
Output disk name: InstaDMG
00:52:51 ###### Finding main MacOS X installer disk ######
Found primary OS installer disk: /Volumes/Lacie/Lacie/Technical/instadmg/InstallerFiles/BaseOS/InstallESD.dmg
00:52:51 ###### Looking for a Cached Image ######
Mounting the shadow file (/private/tmp/idmg.Abcd/0CB375A3-6F46-46D1-94DB-770001E9ACE3.shadowfile) onto the cached image (./Caches/BaseImageCache/843509E4.dmg)
Recovery Partition Found
2012-10-18 00:52:59.655 defaults[2192:707]
The domain/default pair of (/private/tmp/idmg.Abcd/idmg_mp.w3sF/Macintosh HD/System/Library/CoreServices/SystemVersion, ProductVersion) does not exist
2012-10-18 00:52:59.666 defaults[2194:707]
The domain/default pair of (/private/tmp/idmg.Abcd/idmg_mp.w3sF/Macintosh HD/System/Library/CoreServices/SystemVersion, ProductVersion) does not exist
2012-10-18 00:52:59.675 defaults[2196:707]
The domain/default pair of (/private/tmp/idmg.Abcd/idmg_mp.w3sF/Macintosh HD/System/Library/CoreServices/SystemVersion, ProductBuildVersion) does not exist
2012-10-18 00:52:59.685 defaults[2197:707]
The domain/default pair of (/private/tmp/idmg.Abcd/idmg_mp.w3sF/Macintosh HD/System/Library/CoreServices/SystemVersion, ProductName) does not exist
./instadmg.bash: line 674: [: 8: unary operator expected
Target OS: ()
WARNING: Chroot jails only work with 10.5, so disabling that functionality
WARNING: Installer daemon-jailing does not currently work with 10.7, disabling that functionality as well
00:52:59 ###### Beginning Update Installs from ./InstallerFiles/BaseUpdates ######
Working on folder 1 iTunes 10.7 (00:52:59)
Mounting the package dmg: iTunes10.7 sha1-0ff7c404f87122f89d49ed6c411b3692f1016e0a.dmg (./InstallerFiles/BaseUpdates/1 iTunes 10.7) at: /private/tmp/idmg.Abcd/idmg_mp.QB2j
Installing Install iTunes.pkg
Folder 1 iTunes 10.7 done (00:53:01)
Working on folder 2 Java for OS X 2012-005 (00:53:01)
Mounting the package dmg: JavaForOSX sha1-eff777cdc39b4e3336b3477f60e8ad769ded8532.dmg (./InstallerFiles/BaseUpdates/2 Java for OS X 2012-005) at: /private/tmp/idmg.Abcd/idmg_mp.gifS
Installing JavaForOSX.pkg
Folder 2 Java for OS X 2012-005 done (00:53:03)
Working on folder 3 OS X Mountain Lion 10.8.2 Supplemental Update (00:53:03)
Mounting the package dmg: OSXUpd10.8.2Supp sha1-ccd53770fd5beff7c457594599907d8a36e40807.dmg (./InstallerFiles/BaseUpdates/3 OS X Mountain Lion 10.8.2 Supplemental Update) at: /private/tmp/idmg.Abcd/idmg_mp.C6nU
Installing OSXUpd10.8.2Supp.pkg
Folder 3 OS X Mountain Lion 10.8.2 Supplemental Update done (00:53:05)
00:53:05 ###### Beginning Update Installs from ./InstallerFiles/CustomPKG ######
00:53:05 ###### Correcting some generic installer errors ######
Correcting symlinks that point off the disk
Closing programs that have opened files on the disk
Deleting Extensions.mkext cache file
Deleting cache files created during installations
00:53:36 ###### Creating the deployment DMG and scanning for ASR ######
Rename the deployment volume: InstaDMG
Could not find disk for /private/tmp/idmg.Abcd/idmg_mp.w3sF/Macintosh HD
Create a read-only image
cp: /private/tmp/idmg.Abcd/idmg_mp.w3sF/Macintosh HD/private/var/log/InstaDMG_package.log: No such file or directory
The image did not eject cleanly, so I will force it
###### Failed to unmount the Target image image from /private/tmp/idmg.Abcd/idmg_mp.w3sF/Macintosh HD, unable to continue ######
hdiutil: convert failed - Arkiv findes
Scanning image for ASR: ./OutputFiles/12-10-18.dmg
ASR image scan complete
00:53:37 ###### InstaDMG Complete ######
00:53:37 ###### Cleaning up ######
Ejecting images
Deleting scratch DMG
I’ve also tried formatting my startdisk and reinstalling Mountain Lion 10.8.2 (including XCode) without any luck. I’m running the newest SVN of InstaDMG.
[QUOTE][u]Quote by: bw38[/u][p]Here are the flags that I found available for InstaUp2Date:
Flag/Option Information
-h or –help Print the usage information and exit.
-v or –version Print version information and quit.
-p or –process As described above, runs InstaDMG after successfully setting things up, along with any of the following options
-a FILE_PATH or –add-catalog=FILE_PATH Add the items in this catalog file to all catalog files processed. Can be called multiple times
–instadmg-scratch-folder=FOLDER_PATH Tell InstaDMG to use FOLDER_PATH as the scratch folder
–instadmg-output-folder=FOLDER_PATH Tell InstaDMG to place the output image in FOLDER_PATH
–add-catalog-folder=FILE_PATH Set the folders searched for catalog files
–set-cache-folder=FILE_PATH Set the folder used to store downloaded files
–add-source-folder=FILE_PATH Set the folders searched for items to install
–restore-onto-volume=VOLUME After creating the image, restore onto volume. WARNING: this will destroy all data on the volume
Doesn’t look like there is a way to turn off paranoid-mode using a flag at least. Or maybe I’m missing something obvious. I’m hoping someone else can provide a better answer.[/p][/QUOTE]
Hi bw38,
Thanks for your reply! I concluded the same, that it isn’t supported in InstaUpToDate. Since it is possible to skip checksumming using InstaDMG by itself, it would make sense that it would also be possible in InstaUpToDate…
[QUOTE][u]Quote by: bw38[/u][p]Could you post the catalog that is causing you the issue? An guess, would be to check and make sure lines are tabbed properly. I’d use a text editor like Text Wrangler.
Another possibility, some packages get modified after being run through InstaDMG. It could be something like a minor dummy file that was created. Don’t ask me why this happens. All I can say is that I’ve seen it before (with Office 2011). When this occurs, it causes the checksum to change as well which means you have to run a checksum on that package again and update the catalog accordingly.
But you’re saying this is happening with multiple packages so I’m guessing something else is at play here.
You can also try doing a restart of the machine. Sometimes that fixes weird error messages from InstaDMG.[/p][/QUOTE]
#Output Volume Name = Volume Name
#Output File Name = File Name
include-file: basic.catalog
OS Updates:
Apple Updates:
System Settings:
Third Party Software:
Library Library.pkg sha1:f34a95ce6f9673418f8bdcb9b5693a713ad79bae
User Template User Template.pkg sha1:c62fbc800445b0a017886b38112c181ccc9cdca9
createUser – Template createUser – Template.pkg sha1:7e1e464c7f161c00ba5706fcd07beb74c998c942
createUser – anni1105 createUser – anni1105.pkg sha1:2e2320b8b6e2234041759be6f8a91f22abc76d75
Localization-100210 Localization-100210.pkg sha1:36b31e5b58eed8f5c7f3e0179b97da84c6005253
firstboot firstboot.mpkg sha1:25ecf424e619564a3583754a5fe1b253bf1f9725
Postflight Script Postflight Script.pkg sha1:520fed0f314875058500bb351377b4175bfa53fa
Software Settings::[/code]
I have checked that the tabs are as they should be. I use Textmate for editing the catalog files. ANd the same catalog with the same packages used to work with earlier versions of instaDMG (updated instaDMG to newest SVN), so I’m suspecting it must be a bug in InstaDMG/InstaUpToDate. It does happen with multiple packages.
[quote]
CreateUserLion seemed to install succesfully. I’ll get back when I’ve tried logging in with the new user.[/quote]
Regarding CreateUserLion, I tried logging in on my newly created user and it worked just fine. The only problem seems to be that the user doesn’t appear on the login-screen. I have to press “Other” and then manually type in the username+password.
[QUOTE][u]Quote by: typofonic[/u][p][QUOTE][u]Quote by: Allister[/u][p]Just tried to send an email to the address on file with the forum, if you didn’t get it please let me know. Or ping me on twitter(if you’re into that sort of thing), @sacrilicious
Allister[/p][/QUOTE]
I assume it’s the instadmg-relimport.patch I should use. But how do I apply the patch?
And does it matter if I try building the Lion image from Snow Leopard?
B.t.w. I sent you a private message with my e-.mail address.[/p][/QUOTE]
I think I found out how to patch, but I got an error. See the output:
[code]Macintosh:instadmg anni1105$ cd /Volumes/Lacie/instadmg/AddOns/InstaUp2Date
Macintosh:InstaUp2Date anni1105$ patch < instadmg-relimport.patch can't find file to patch at input line 5
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|Index: AddOns/InstaUp2Date/Resources/actionTypes/pkgInstaller_test.py
|===================================================================
|--- AddOns/InstaUp2Date/Resources/actionTypes/pkgInstaller_test.py (revision 419)
|+++ AddOns/InstaUp2Date/Resources/actionTypes/pkgInstaller_test.py (working copy)
--------------------------
File to patch: instaUp2Date.py
patching file instaUp2Date.py
Hunk #1 FAILED at 2.
1 out of 1 hunk FAILED -- saving rejects to file instaUp2Date.py.rej
can't find file to patch at input line 24
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|Index: AddOns/InstaUp2Date/Resources/actionTypes/nakedApplication_test.py
|===================================================================
|--- AddOns/InstaUp2Date/Resources/actionTypes/nakedApplication_test.py (revision 419)
|+++ AddOns/InstaUp2Date/Resources/actionTypes/nakedApplication_test.py (working copy)
--------------------------
File to patch:
[/code]
CreateUserLion seemed to install succesfully. I'll get back when I've tried logging in with the new user.
[QUOTE][u]Quote by: Allister[/u][p]Just tried to send an email to the address on file with the forum, if you didn’t get it please let me know. Or ping me on twitter(if you’re into that sort of thing), @sacrilicious
Allister[/p][/QUOTE]
I assume it’s the instadmg-relimport.patch I should use. But how do I apply the patch?
And does it matter if I try building the Lion image from Snow Leopard?
B.t.w. I sent you a private message with my e-.mail address.
[QUOTE][u]Quote by: Allister[/u][p]Take MagerValp’s patch(found here, at the bottom of his post:)
[url]http://code.google.com/p/instadmg/issues/detail?id=92[/url]
and apply it to the newest svn download. Then change line 50 to have ‘disable_installd_chroot=false’ and try running instaup2date.py
And if you don’t have MagerValp’s createUser for Lion, please let me know. Thanks,
Allister[/p][/QUOTE]
Great! I will try that. I don’t have createuser though?
[QUOTE][u]Quote by: Allister[/u][p]As soon as I can. MagerValp may approve us bundling his createUser re-roll, and he’s posted a patch to the dev list for instaup2date, so you can help whenever you get a chance, it’d be greatly appreciated!
Recent Comments