␉selectedDestination="$3"␊ |
␉targetDevice="$4"␊ |
␉targetVolume="$5"␊ |
␉#targetResources="$6"␊ |
␉echo "DEBUG: passed argument for espformat = $espformat"␊ |
␉echo "DEBUG: passed argument for stage2Loader = $stage2Loader"␊ |
␉echo "DEBUG: passed argument for selectedDestination = $selectedDestination"␊ |
␉echo "DEBUG: passed argument for targetDevice = $targetDevice"␊ |
␉echo "DEBUG: passed argument for targetVolume = $targetVolume"␊ |
␉#echo "DEBUG: passed argument for targetResources = $targetResources"␊ |
fi␊ |
␊ |
# check to see if install to EFI system partition was selected␊ |
|
if [ -f "${selectedDestination}"/.Chameleon/nullhideboot ]; then␊ |
␊ |
␉echo "Executing command: SetFile -a V ${targetVolume}/${stage2Loader}"␊ |
␉SetFile -a V "${targetVolume}"/"${stage2Loader}"␊ |
␉"${selectedDestination}"/.Chameleon//Tools/SetFile -a V "${targetVolume}"/"${stage2Loader}"␊ |
fi␊ |
␊ |
echo "-----------------------------------------------"␊ |