ddodds / instadmg

Automatically exported from code.google.com/p/instadmg
0 stars 0 forks source link

10.7/11C74: Unable to find OS Installer disc in any provided folder #98

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hello Folks,

I'm trying to get InstaDMG (svn version @439) to work on my OSX Lion server 
1.7.3.

First I create a DMG file with imporDisk:

serv:instadmg admin$ sudo AddOns/InstaUp2Date/importDisk.py -a
Image "MacOS X Client 10.7.2 11C74.dmg" created in 17 minutes 9 seconds

Which works fine, but now if I want to run instaUp2Date.py and build the 
vanilla catalog, it fails with the following error:

serv:instadmg admin$ sudo AddOns/InstaUp2Date/instaUp2Date.py -p 10.7_vanilla

Parsing the catalog files for 10.7_vanilla
    OS X Lion Update 10.7.3
    AirPort Utility 6.0
    iTunes 10.5.3
    Java For Mac OS X 10.7

Finding and validating the sources for 10.7_vanilla
    OS X Lion Update 10.7.3 - found based on checksum and verified in 5 seconds
    AirPort Utility 6.0 - found based on checksum and verified in less than one second
    iTunes 10.5.3 - found based on checksum and verified in less than one second
    Java For Mac OS X 10.7 - found based on checksum and verified in less than one second

Finding the Installer disc for 10.7_vanilla
Traceback (most recent call last):
  File "AddOns/InstaUp2Date/instaUp2Date.py", line 716, in <module>
    main()
  File "AddOns/InstaUp2Date/instaUp2Date.py", line 678, in main
    foundInstallerDiscs = findInstallerDisc.findInstallerDisc(allowedBuilds=thisController.installerDiscBuilds)
  File "/Users/admin/instadmg/AddOns/InstaUp2Date/Resources/findInstallerDisc.py", line 201, in findInstallerDisc
    raise commonExceptions.FileNotFoundException('Unable to find OS Installer disc in any provided folder: %s%s' % (str(searchItems), folderString))
Resources.commonExceptions.FileNotFoundException: Unable to find OS Installer 
disc in any provided folder: 
['/Users/admin/instadmg/InstallerFiles/InstallerDiscs', 
'/Users/admin/instadmg/InstallerFiles/BaseOS'] (['.DS_Store', '.svn', 
'InstallESD.dmg', 'MacOS X Client 10.7.2 11C74.dmg'], ['.svn'])

At the time of execution there are no images mounted (there seems to be 
problems when this is the case I read).

serv:instadmg admin$ mount 
/dev/disk2 on / (hfs, local, journaled)
devfs on /dev (devfs, local, nobrowse)
map -hosts on /net (autofs, nosuid, automounted, nobrowse)
map auto_home on /home (autofs, automounted, nobrowse)
map -fstab on /Network/Servers (autofs, automounted, nobrowse)

The build of my DMG also seems to be supported:

MacOS X Client 10.7.2 11C74.dmg/System/Library/CoreServices/SystemVersion.plist

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" 
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>ProductBuildVersion</key>
    <string>11C74</string>
    <key>ProductCopyright</key>
    <string>1983-2011 Apple Inc.</string>
    <key>ProductName</key>
    <string>Mac OS X</string>
    <key>ProductUserVisibleVersion</key>
    <string>10.7.2</string>
    <key>ProductVersion</key>
    <string>10.7.2</string>
</dict>
</plist>

The catalog file, is the original one:

Installer Disc Builds:  11A511, 11B26, 11C74, 11D50

Any ideas on how I can get it to work?

Original issue reported on code.google.com by stson...@gmail.com on 9 Mar 2012 at 8:42