Variables

From M L Vision Network Services Wiki

Jump to: navigation, search
Variable Arguments (default underlined) Description
dmg MacOSX105.dmg The original DMG file.
version 10.5.0_sleep Kernel xdelta to use.
useefi Yes No Setting to control the use of the EFI bootloader for both the DVD and HD installation.
usevanillakernel No Partial Yes This setting controls the installation of a custom kernel. When enabled ("Yes" or "Partial" are set), the kernel package will not be selected in the installer and the vanilla kernel will be used. It is recommended that this be set to "Partial". This will make the DVD use a custom kernel but the final install will be the vanilla kernel. Packages listed in "exclusions" will be unselected in the installer if "Yes" or "Partial" are selected.
optimise No Yes Removes PPC code from binaries on the install DVD. This frees up approximately 700MB space. Not recommended unless the Apple update is greater than 180MB and a single layer DVD is needed.
removexcode No Yes Keep Xcode on the final image. For single layer images this needs to be set to no. Xcode cannot be retained when creating an image using 10.4 due to resizing issues.
removeextensions AppleHWSensor AppleIntelCPUPowerManagement Controls which extensions are deleted from the image. This is important when needing to delete an extension but there is no actual replacement listed in the extensions directory.
excludepackages Kernel AppleACPIPlatform.kext Controls which exclusions are not selected by the installer. The packages are still created and if doing a custom install can be selected and installed. This is extremely useful for EFI installs where some stock files can be used.
removeprinters Brother Canon Epson FujiXerox Gutenprint HewlettPackard Lexmark Ricoh Samsung Xerox Removes printer packages
removelanguages BrazilianPortuguese Danish Dutch Finnish French German Italian Japanese Korean Norwegian Polish Portuguese Russian SimplifiedChinese Spanish Swedish TraditionalChinese DeTier Removes language packages
removeextras HP Guten lang.da lang.de lang.es lang.fi lang.fr lang.it lang.ja lang.ko lang.nl lang.no lang.pl lang.pt lang.pt_PT lang.ru lang.sv lang.zh_CN lang.zh_TW PrinterDriversGroup LanguageTranslations Removes extra sections that are linked to the printers and languages variable.
bootoptionsdvdkernelflags -v
bootoptionsdvdextra <key>Timeout</key>
<string>5</string>
bootoptionshdkernelflags
bootoptionshdextra <key>Timeout</key>
<string>5</string>
restorepoint
restorepointname
/dev/disk9s9
Image
These 2 variables are mostly used for internal testing but do serve a useful purpose for more advanced users. This allows you to install the DVD image to a hard drive so you don't need to burn a DVD. This allows for much quicker installs. Please be careful though, the device specified will be wiped. In the interests of preserving system integrity, I do not update the MBR micro code (so boot systems such as Grub and Acronis are not disabled) and I do not flag the partition active. If you are using this option you will understand what is necessary to complete the process.
convert Yes No Converts the original disk image to an editable image.
buildimage Yes No Builds the custom image.
generateiso Yes No Generates the bootable image.
deploy Yes No Deploys the image to a restore point partition. Do not use this unless you know what you are doing.