Changeset 110 for trunk


Ignore:
Timestamp:
03/08/03 09:44:46 (22 years ago)
Author:
Nicholas Riley
Message:

Migrated Pester changes for partition map-less disk image, saves a few K on distribution

Location:
trunk/ICeCoffEE
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ICeCoffEE/package-ICeCoffEE.sh

    r78 r110  
    99find . -name \*~ -exec rm '{}' \; && \
    1010VERSION=`cat VERSION` && \
    11 DMG="$PRODUCT-$VERSION.dmg" VOL="$PRODUCT $VERSION" MOUNTPOINT="/Volumes/$VOL" && \
     11DMG="$PRODUCT-$VERSION.dmg" VOL="$PRODUCT $VERSION" && \
    1212DSTROOT="$PACKAGEDIR/$VOL" && \
    1313sudo rm -fr "$DSTROOT" && \
     
    2020cd "$PACKAGEDIR" && \
    2121rm -f "$DMG" && \
    22 hdiutil create "$DMG" -megabytes 5 -ov -type UDIF && \
    23 DISK=`hdid -nomount "$DMG" | sed -ne ' /Apple_partition_scheme/ s|^/dev/\([^ ]*\).*$|\1|p'` && \
    24 newfs_hfs -v "$VOL" "/dev/r${DISK}s2" && \
    25 hdiutil eject "$DISK" && \
    26 hdid "$DMG" && \
     22hdiutil create "$DMG" -megabytes 5 -ov -layout NONE -fs 'HFS+' -volname "$VOL" && \
     23MOUNT=`hdiutil attach "$DMG"` && \
     24DISK=`echo "$MOUNT" | sed -ne ' s|^/dev/\([^ ]*\).*$|\1|p'` && \
     25MOUNTPOINT=`echo "$MOUNT" | sed -ne 's|^.*\(/Volumes/.*\)$|\1|p'` && \
    2726ditto -rsrc "$DSTROOT" "$MOUNTPOINT" && \
    2827chmod -R a+rX,u+w "$MOUNTPOINT" && \
    2928openUp "$MOUNTPOINT" && \
    30 hdiutil eject $DISK && \
     29hdiutil detach $DISK && \
    3130hdiutil convert "$DMG" -format UDZO -imagekey zlib-level=9 -o "z$DMG" && \
    3231mv "z$DMG" "$DMG" && \
Note: See TracChangeset for help on using the changeset viewer.