aboutsummaryrefslogtreecommitdiffstats
path: root/make_boot/makeboot.sh
diff options
context:
space:
mode:
Diffstat (limited to 'make_boot/makeboot.sh')
-rwxr-xr-xmake_boot/makeboot.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/make_boot/makeboot.sh b/make_boot/makeboot.sh
index f1e88ed..135d978 100755
--- a/make_boot/makeboot.sh
+++ b/make_boot/makeboot.sh
@@ -32,12 +32,12 @@ DMG_FILE=./boot.sparseimage
echo "Creating disk image..."
hdiutil create "${DMG_FILE}" -volname "${VOL_NAME}"\
-size 5G -type SPARSE -fs HFS+ -stretch 10G\
- -uid 0 -gid 80 -mode 775 -layout NONE -ov 2>&1
+ -uid 0 -gid 80 -mode 775 -layout NONE -ov > /dev/null 2>&1
chmod 777 "${DMG_FILE}"
echo "Mounting disk image..."
-hdiutil attach "${DMG_FILE}" -mountpoint "${TMP_MOUNT_POINT_PATH}"
+hdiutil attach "${DMG_FILE}" -mountpoint "${TMP_MOUNT_POINT_PATH}" > /dev/null 2>&1
echo "Preparing disk image..."
mdutil -i off "${TMP_MOUNT_POINT_PATH}" > /dev/null 2>&1
@@ -53,7 +53,7 @@ echo "Cloning system (this will take a while)..."
echo "Doing boot things..."
-kextcache -l -m "${TMP_MOUNT_POINT_PATH}"/System/Library/Extensions.mkext\
+kextcache -a i386 -N -L -S -m "${TMP_MOUNT_POINT_PATH}"/System/Library/Extensions.mkext\
"${SOURCE}"/System/Library/Extensions
bless --folder "${TMP_MOUNT_POINT_PATH}"/System/Library/CoreServices\