AFP548 Changing the world one server at a time.

Rev 383

Home › Forums › Software › InstaDMG › Rev 383

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #379569
    golbiga
    Member

    So yesterday I tried out the newest rev, but I noticed that my installerchoices file didn’t work when placed in the same folder as the 10D575 10.6.3 Reference DVD. I did notice that after using the newest importdisk and not applying –legacy, the dmg was placed in InstallerDiscs instead of BaseOS. Should I be placing that installer in another folder with the InstallerChoices? Thanks

    Allen

    #379570
    golbiga
    Member

    Nevermind, I just figured it out. Keep the installerchoices.xml in the BaseOS Folder. I’m guessing this is going to change eventually as well?

    Allen

    #379589
    jeffbearer
    Participant

    I’m having continued problems with r383. It’s in findInstallerDisk.py where it says it can’t find my base dmg file. I thought maybe it was because it was a legacy image, so I ripped a new one but i’m having very similar problem Here is where it’s getting lost.

                          # find the item that matches the frontmost allowedBuilds item
                            for thisItem in innerSearchItems:
                                    print('\n\n ' + thisItem + ' \n\n')
                                    baseImageCandidate = None
    
                                    if hasattr(thisItem, 'isContainerType'):
                                            baseImageCandidate = thisItem
                                            print "--a--"
                                    else:
                                            print "--b--"
                                            try:
                                                    print "--c--"
                                                    baseImageCandidate = containerController.newContainerForPath(thisItem)
                                            except:
                                                    print "--d--"
                                                    continue
    
                                    if not baseImageCandidate.isContainerType('dmg'):
                                            print "--e--"
                                            continue

    And here is the output:

     /Users/jeff/instadmg/InstallerFiles/InstallerDiscs/.svn 
    --b--
    --c--
    --e--
     /Users/jeff/instadmg/InstallerFiles/InstallerDiscs/MacOS X Client 10.6 10A432.dmg 
    --b--
    --c--
    --e--
     /Users/jeff/instadmg/InstallerFiles/BaseOS/.DS_Store 
    --b--
    --c--
    --e--
     /Users/jeff/instadmg/InstallerFiles/BaseOS/.svn 
    --b--
    --c--
    --e--
     /Users/jeff/instadmg/InstallerFiles/BaseOS/InstallerChoices.xml 
    --b--
    --c--
    --e--

    It looks like the:

     if not baseImageCandidate.isContainerType('dmg'):

    is always evaluating true even when it hits the dmg file. However I’m stymied at trying to dig into isContainerType.

    That installer disk was generated with importDisk.py -a

    #379599
    jeffbearer
    Participant

    Apparently I needed a reboot it worked today where it wasn’t working last week.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.