ddodds / instadmg

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

Symbolic Link Support #45

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Instead placing full base disk image, put symlink in place to disk image
2. Run instadmg.bash

Get this:
###### Unable to find primary installer disk ######
line 464: MODIFIED_INSTALLD_PLIST_FOLDER: unbound variable

What is the expected output? What do you see instead?
Would be nice if I didn't have to create duplicates of my disk images...if I 
could use sylinks or aliases to files/disk images/packages...

What version of InstaDMG are you running? What revision number (this should
be the second line of your package log)?
InstaDMG version 1.6b2 (svn revision: 261)

What OS are you running on (booted from)?
10.6.4

What OS are you installing?
10.6.3 retail disk

Please provide any additional information below.

Original issue reported on code.google.com by jeremy.m...@gmail.com on 19 Jun 2010 at 12:06

GoogleCodeExporter commented 8 years ago
Hey there,
     Thanks for reporting this, and especially confirming all the facts of the process you're using to get your results.
     Please explain if you used Terminal and ln -s to make the symlink or a finder drag-drop while holding down option and command.
     I am changing this to an enhancement request, although this may actually be fulfilled by adding the "-b" flag and a path to wherever you're symlinking the installer disk from.  If you get a chance to test before I do, let us know your results.

Original comment by allister...@gtempaccount.com on 19 Jun 2010 at 2:53

GoogleCodeExporter commented 8 years ago
I just tested with rev302, and soft-links (relative ones at least) work fine. 
The other errors were fixed in revisions prior to that.

If you are using an alias (what the Finder generates), then that will never 
work. Aliases are not useable from command-line programs without far more work 
than they are worth.

And as Alister pointed out, you could use the -b switch to change the folder 
that InstaDMG looks for the installer disk from. But a better solution would be 
to use the -I (capital i) switch to just provide the direct path to the 
installer disk.

Original comment by kuehn.k...@gmail.com on 20 Jun 2010 at 5:57