cleanup
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 15 Mar 2011 13:48:23 +0000 (14:48 +0100)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 15 Mar 2011 13:48:23 +0000 (14:48 +0100)
macos/build-dmg.sh

index 836e062..fffa0ea 100755 (executable)
@@ -3,9 +3,6 @@
 # PURPOSE
 # package a combination of sfa+sface into a snow leopard dmg install disk
 # 
-# NOTES
-# we leverage the first similar packaging initially made by Baris Metin
-# 
 # REQUIREMENTS
 # sface-skel-snow-leopard<arch>.dmg is the skeleton that has Qt and all the other third-party software
 #   it is expected to be found in the local directory
 #   in order to retrieve the corresponding code and to label the resulting package properly
 #   alternatively, a build-dir and tags file can be used instead
 
+# NOTES
+# we initially leveraged the first similar packaging initially made by Baris Metin
+# as of sface-0.1-9 we have bootstrapped our own skeleton images, 
+#   i.e. you can use vn as a skeleton for vn+1
+# about that, the way the background image gets (or not) found 
+#   on the final system is as follows 
+#   before compressing the image, you should open the image through the finder
+#   and tweak it, as described in http://el-tramo.be/guides/fancy-dmg
+#   that's the raison d'ĂȘtre for the -i option
+# basically: open two finder windows, one on the .backgrounf dir (use cmd-shift G)
+#   and one on the image itself; then using Finder->view->show view options
+#   drag the background image as appropriate
+# the important point being that the filename for the background must 
+#   exist - and so be the same - on the target system.
+# that's why the image 'volname' is constant across versions
+
 # the place to search for the  skeleton
 SKEL_REPO=http://mirror.onelab.eu/third-party
 
@@ -169,9 +182,6 @@ Also make sure to trash the current one before retrying"
        read _
     fi
 
-    # this apparently requires xcode
-#    /Developer/Tools/SetFile -a V "$img_mnt"/$background_path
-
     hdiutil detach "$img_mnt"
     rm -f $img_dmg
     echo "Compressing..."