Index: branches/azimutz/Package/package/Scripts/Standard/postinstall =================================================================== --- branches/azimutz/Package/package/Scripts/Standard/postinstall (revision 1427) +++ branches/azimutz/Package/package/Scripts/Standard/postinstall (revision 1428) @@ -1,6 +1,5 @@ #!/bin/bash - diskloader="boot0" diskloaderdualboot="boot0md" partitionloaderhfs="boot1h" @@ -231,11 +230,11 @@ echo "*************************************" if [ "$( fstyp ${bootdev} | grep hfs )" ]; then - echo "${bootdev} is a currently formatted as HFS" + echo "${bootdev} is currently formatted as HFS" efiformat="hfs" fi if [ "$( fstyp ${bootdev} | grep msdos )" ]; then - echo "${bootdev} is currently formatted as msdos" + echo "${bootdev} is currently formatted as msdos" #Azipkg: hum... it's not really msdos, but ok... efiformat="msdos" fi echo "-----------------------------------------------" @@ -287,7 +286,7 @@ echo "Diskupdate = true, so yes" #--------------------------------------------------------------------- # Check bytes 438-446 of the GPTdiskProtectiveMBR for a Windows Disk Signature - # If thereีs no Windows disk signature then we can write boot0 + # If there's no Windows disk signature then we can write boot0 #--------------------------------------------------------------------- if [ ${disksignature} == "00000000" ]; then @@ -311,14 +310,18 @@ if [ ${efiformat} = "msdos" ]; then echo "Executing command: dd if=/usr/standalone/i386/${partitionloaderfat} of=${bootrdev}" + #Azipkg: just like this??... no preparation??? dd if="${bootvolume}/usr/standalone/i386/${partitionloaderfat}" of=${bootrdev} fi echo "Executing command: cp /usr/standalone/i386/${filesystemloader} ${bootvolume}" cp "${bootvolume}/usr/standalone/i386/${filesystemloader}" "${bootvolume}" -echo "Executing command: ${bootresources}/Tools/SetFile -a V ${bootvolume}/${filesystemloader}" -"${bootresources}/Tools/SetFile" -a V "${bootvolume}/${filesystemloader}" +#Azipkg: at this point, we don't know if the user has setfile installed... +# and it looks like it's not found on "booteresources" ??? +# do we really want to hide "boot"?... i never do...! IS THIS DONE HERE ??? SEE AT THE END OF THE FILE... +#echo "Executing command: ${bootresources}/Tools/SetFile -a V ${bootvolume}/${filesystemloader}" +#"${bootresources}/Tools/SetFile" -a V "${bootvolume}/${filesystemloader}" echo "-----------------------------------------------" echo "" @@ -329,6 +332,7 @@ echo "Set Active Partition ONLY if Windows is not installed" echo "*****************************************************" +#Azipkg: works for EFI, but does it work for other GPT partitions?... check, was under the impression that NO??! if [ ${disksignature} == "00000000" ]; then # echo "Windows is not installed so let's change the active partition" @@ -358,6 +362,7 @@ echo "" # hide boot file +#Azipkg: do we really want to hide "boot"?... i never do... chflags hidden "${3}/boot" echo "boot file hidden ${3}/boot" Index: branches/azimutz/Package/package/Scripts/Post/postinstall =================================================================== --- branches/azimutz/Package/package/Scripts/Post/postinstall (revision 1427) +++ branches/azimutz/Package/package/Scripts/Post/postinstall (revision 1428) @@ -33,8 +33,8 @@ dest_vol="$3" fi -# delee the temporary Chameleon folder +# delete the temporary Chameleon folder -rm -rf "$dest_vol/tmpcham" +rm -rf "$dest_vol/tmpcham" #Azipkg: were's this? sandbox??? echo "Done..." \ No newline at end of file Index: branches/azimutz/Package/package/buildpkg.sh =================================================================== --- branches/azimutz/Package/package/buildpkg.sh (revision 1427) +++ branches/azimutz/Package/package/buildpkg.sh (revision 1428) @@ -74,7 +74,7 @@ ditto --noextattr --noqtn ${1%/*}/i386/boot ${1}/Core/Root/usr/standalone/i386 ditto --noextattr --noqtn ${1%/*}/i386/boot0 ${1}/Core/Root/usr/standalone/i386 ditto --noextattr --noqtn ${1%/*}/i386/boot0md ${1}/Core/Root/usr/standalone/i386 -# ditto --noextattr --noqtn ${1%/*}/i386/boot0hf ${1}/Core/Root/usr/standalone/i386 +# ditto --noextattr --noqtn ${1%/*}/i386/boot0hf ${1}/Core/Root/usr/standalone/i386 #Azipkg ditto --noextattr --noqtn ${1%/*}/i386/boot1f32 ${1}/Core/Root/usr/standalone/i386 ditto --noextattr --noqtn ${1%/*}/i386/boot1h ${1}/Core/Root/usr/standalone/i386 ditto --noextattr --noqtn ${1%/*}/i386/boot1he ${1}/Core/Root/usr/standalone/i386 @@ -86,6 +86,8 @@ ditto --noextattr --noqtn ${1%/*}/i386/bdmesg ${1}/Core/Root/usr/local/bin #Azipkg local coresize=$( du -hkc "${1}/Core/Root" | tail -n1 | awk {'print $1'} ) echo " [BUILD] i386 " +#Azipkg: relocatable=\"false\" were to place it ??? needed ??? +# $1 Path to package to build containing Root and or Scripts $2 Install Location $3 Size $4 Options buildpackage "${1}/Core" "/" "0" "start_visible=\"false\" start_selected=\"true\"" >/dev/null 2>&1 # build Chameleon package