Changeset 29353 for other-projects


Ignore:
Timestamp:
10/08/14 18:09:38 (6 years ago)
Author:
ak19
Message:

Format the expeditee DMG file as read-only, since applications are not supposed to be extracted inside their DMG. This will also avoid the problem of the DMG not having enough space to install in, which was worked around in #29339. It may be necessary to make the installer script check if the current filesystem is read-only and display a help message.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/expeditee-release-kits/kits/rke/ant-scripts/wrap.xml

    r29339 r29353  
    175175            </exec>
    176176            <math result="dmg.size" operand1="${app.size}" operation="+" operand2="${dmg.overhead}" datatype="int"/>
    177             <math result="java.kbsize" operand1="${component.bytesize.java}" operation="/" operand2="1024" datatype="int"/>
    178             <math result="dmg.size" operand1="${dmg.size}" operation="+" operand2="${java.kbsize}" datatype="int"/>
     177            <!-- this allows space for extracting the jre inside the dmg -->
     178            <!--
     179            <math result="java.kbsize" operand1="${component.bytesize.java}" operation="/" operand2="1024" datatype="int"/>
     180            <math result="dmg.size" operand1="${dmg.size}" operation="+" operand2="${java.kbsize}" datatype="int"/>
     181            -->
    179182
    180183            <!-- create disk image -->
     
    211214                <arg line="detach /Volumes/${dmg.name}"/>
    212215            </exec>
     216            <!-- format as readonly -->
     217            <exec executable="hdiutil" failonerror="true">
     218                <arg line="convert ${dmg.name}.dmg -format UDRO -o ${dmg.name}.dmg"/>
     219            </exec>
     220
    213221        </if></else></if></else></if>
    214222
    215 
    216223    </target>
    217224
Note: See TracChangeset for help on using the changeset viewer.