aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2010-02-20 14:41:55 +0200
committerFilipp Lepalaan <filipp@mac.com>2010-02-20 14:41:55 +0200
commit3343446f4604c96f3b184e6b8261ee7738ef72b7 (patch)
tree3c1d39926d42ddae9918a4c1755fa44c6a1dd561
parent7b26b9a14c77ab0c4802ddfb5dd3d5b849f5e944 (diff)
downloadmtk-3343446f4604c96f3b184e6b8261ee7738ef72b7.tar.gz
mtk-3343446f4604c96f3b184e6b8261ee7738ef72b7.tar.bz2
mtk-3343446f4604c96f3b184e6b8261ee7738ef72b7.zip
Bug fixes, thinner image
-rwxr-xr-xmake_boot/include.txt2
-rwxr-xr-xmake_boot/makeboot.sh6
2 files changed, 5 insertions, 3 deletions
diff --git a/make_boot/include.txt b/make_boot/include.txt
index d7a9fc0..cdd3676 100755
--- a/make_boot/include.txt
+++ b/make_boot/include.txt
@@ -85,6 +85,8 @@ usr/share/sandbox
usr/share/terminfo
usr/share/zoneinfo
+usr/standalone/i386
+
bin
etc
private
diff --git a/make_boot/makeboot.sh b/make_boot/makeboot.sh
index cc67b52..f1e88ed 100755
--- a/make_boot/makeboot.sh
+++ b/make_boot/makeboot.sh
@@ -40,9 +40,9 @@ echo "Mounting disk image..."
hdiutil attach "${DMG_FILE}" -mountpoint "${TMP_MOUNT_POINT_PATH}"
echo "Preparing disk image..."
-mdutil -i off "${TMP_MOUNT_POINT_PATH}"
-mdutil -E "${TMP_MOUNT_POINT_PATH}"
-mkdir -p "${TMP_MOUNT_POINT_PATH}/Library/Caches"
+mdutil -i off "${TMP_MOUNT_POINT_PATH}" > /dev/null 2>&1
+mdutil -E "${TMP_MOUNT_POINT_PATH}" > /dev/null 2>&1
+mkdir -p "${TMP_MOUNT_POINT_PATH}"/Library/Caches
defaults write "${TMP_MOUNT_POINT_PATH}"/.Spotlight-V100/_IndexPolicy Policy -int 3
echo "Cloning system (this will take a while)..."