Android ソースDL&ビルド環境
まとめ
ぼくの環境だけ??
http://source.android.com/source/initializing.htmlにて、
# hdiutil create -type SPARSE -fs 'Case-sensitive Journaled HFS+' -size 40g ~/android.dmg
をすると
This will create a .dmg (or possibly a .dmg.sparsefile) file
だ、とあるが、
ぼくの環境で出来たのは、.dmg.sparsefileではなく.dmg.sparseimageってファイルだった、、、
それに伴い、~/.bash_profileに追加した、mount用関数を
# mount the android file image function mountAndroid { hdiutil attach ~/android.dmg.sparseimage -mountpoint /Volumes/android; }
とした