keeleysam / instadmg

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

Process doesn't work if BaseImageCache isn't named exactly "Macintosh HD" #117

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Delete all caches or use a clean copy of InstaDMG

2. Set up a catalog file, or modify an existing catalog file to make a new 
InstaDMG and specify the Output Volume Name to something other than Macintosh 
HD - for example Automatica SOE

3. Build your InstaDMG.

4. A BaseImageCache is created - if you mount this volume, the title of the 
disk is not Macintosh HD, it's whatever you specified as the Output Volume Name 
in the instaUp2Date catalog file.

5. If the catalog file specifies other packages or dmgs to install, they then 
fail to install as they are trying to install on 
/private/tmp/idmg.mEny/idmg_mp.OaNc/Macintosh HD whereas the disk is instead 
mounted at /private/tmp/idmg.mEny/idmg_mp.OaNc/Automatica SOE

6. The rest of the instaUp2Date process then fails to run.

7. Further to this, something doesn't get cleaned up correctly, so if you go to 
run InstaDMG or instaUp2Date again, it then fails to find the OS X installer. 
You need to reboot to sort this out.

What is the expected output? What do you see instead?
The expected output is either:
a) that the BaseImageCache is created as Macintosh HD and then the final image 
is renamed at the end of the process.
or
b) that the install process looks to see what the name of the disk is that's 
mounted for the BaseImageCache and installs into this disk rather than assuming 
it's going to be Macintosh HD. It's possible that this only became a problem 
with the fix to detect the Recovery HD partition in the BaseImageCache

What version of InstaDMG are you running? InstaDMG version 1.6rc1 (svn 
revision: 459)
What OS are you running on (booted from)? 10.8.3
What OS are you installing? 10.8.3

Original issue reported on code.google.com by kai.howells@gmail.com on 16 Mar 2013 at 6:16

GoogleCodeExporter commented 9 years ago
Sorry, I didn't check the issues before I posted this one. Can this please be 
merged with Issue 115
http://code.google.com/p/instadmg/issues/detail?id=115

Original comment by kai.howells@gmail.com on 16 Mar 2013 at 6:18

GoogleCodeExporter commented 9 years ago

Original comment by n8felton on 29 Dec 2013 at 2:21