Skip to content
This repository has been archived by the owner on Nov 10, 2017. It is now read-only.

Added --manual-install option #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions createOSXinstallPkg
Original file line number Diff line number Diff line change
Expand Up @@ -761,6 +761,10 @@ def main():
'--make-dmg', action='store_true', help='Optional. '
'Instead of creating an installer pkg, creates a disk image for use '
'with VMware Fusion to install a customized OS X. Experimental.')
parser.add_option(
'--manual-install', action='store_true', help='Optional. '
'Used with the --make-dmg option, causes the OS X installer to run '
'in a manual mode, allows access to utilities and package selection.')
options, arguments = parser.parse_args()

if arguments:
Expand Down Expand Up @@ -871,7 +875,7 @@ def main():

# Figure out where we will be writing this...
custom_tag = ''
additional_packages = options.packages or plist_options.get('Packages')
additional_packages = options.packages or plist_options.get('Packages') or []

if additional_packages:
custom_tag = '_custom'
Expand Down Expand Up @@ -966,7 +970,7 @@ def main():

if additional_packages or options.make_dmg:
create_minstallconfig = False
if options.make_dmg:
if options.make_dmg and not options.manual_install:
create_minstallconfig = True
try:
addPackagesToInstallESD(
Expand Down