Lion企业应用测试(3): InstaDMG

Lion不支持当前InstaDMG(svn revision: 425及以前版本)中的instaUp2Date.py来制作网络部署镜像,临时方法是用instadmg.bash. 自己准备了一些软件包,打开Terminal, cd到instadmg目录. 以下是运行instadmg.bash的命令和镜像生成过程.

sudo ./instadmg.bash -s -I ./InstallerFiles/BaseOS/InstallESD.dmg -n "Macintosh HD" -m LionTest


12:16:58 ###### InstaDMG build initiated ######
    InstaDMG version 1.6rc1 (svn revision: 425)
    Host OS: Mac OS X Server 10.7
    Host Hardware: Macmini4,1
    Output file name: LionTest
    Output disk name: Macintosh HD
12:16:58 ###### Finding main MacOS X installer disk ######
12:16:58 ###### Looking for a Cached Image ######
    Mounting the shadow file (/private/tmp/idmg.oSro/38BCFEA8-E141-47CC-B76B-F830629BB1EA.shadowfile) onto the cached image (./Caches/BaseImageCache/48FC2F98.dmg)
    Target OS: Mac OS X 10.7 (11A511)
WARNING: Chroot jails only work with 10.5, so disabling that functionality
WARNING: Installer daemon-jailing does not currently work with 10.7, disabling that functionality as well
12:17:07 ###### Beginning Update Installs from ./InstallerFiles/BaseUpdates ######
    Working on folder 01 (12:17:08)
        Installing MacOSXUpd10.7.1.pkg
        Folder 01 done (12:27:05)
12:27:05 ###### Beginning Update Installs from ./InstallerFiles/CustomPKG ######
    Working on folder 01 (12:27:05)
        Installing clearReg.pkg
        Folder 01 done (12:27:14)
    Working on folder 02 (12:27:14)
        Installing CreateLionUser_LocalMacadm.pkg
        Folder 02 done (12:28:25)
    Working on folder 03 (12:28:25)
        Installing Office Installer.mpkg
        Folder 03 done (12:38:40)
    Working on folder 04 (12:38:40)
        Installing VolumeOffice2011.pkg
        Folder 04 done (12:38:56)
    Working on folder 05 (12:38:57)
        Installing Office 2011 14.0.1 Update.mpkg
        Folder 05 done (12:40:55)
    Working on folder 06 (12:40:55)
        Installing Office 2011 14.0.2 Update.mpkg
        Folder 06 done (12:42:46)
    Working on folder 07 (12:42:46)
        Installing Office 2011 14.1.0 Update.mpkg
        Folder 07 done (12:46:27)
    Working on folder 08 (12:46:27)
        Installing Office 2011 14.1.2 Update.mpkg
        Folder 08 done (12:49:21)
    Working on folder 09 (12:49:21)
        Installing Communicator Update.mpkg
        Folder 09 done (12:51:08)
    Working on folder 10 (12:51:08)
        Installing Communicator Installer.mpkg
        Folder 10 done (12:51:09)
    Working on folder 11 (12:51:09)
        Installing Communicator 13.1.2 Update.mpkg
        Folder 11 done (12:51:16)
    Working on folder 12 (12:51:16)
        Installing BindAD.pkg
        Folder 12 done (12:51:23)
12:51:24 ###### Correcting some generic installer errors ######
    Correcting symlinks that point off the disk
    Closing programs that have opened files on the disk
    Deleting Extensions.mkext cache file
    Deleting cache files created during installations
11:05:56 ###### Creating the deployment DMG and scanning for ASR ######
    Rename the deployment volume: Macintosh HD
    Create a read-only image
    Scanning image for ASR: ./OutputFiles/LionTest.dmg
    ASR image scan complete
11:18:38 ###### InstaDMG Complete ######
11:18:38 ###### Cleaning up ######
    Ejecting images
    Deleting scratch DMG






评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值