Index: branches/blackosx/package/Scripts/Standard/postinstall =================================================================== --- branches/blackosx/package/Scripts/Standard/postinstall (revision 1491) +++ branches/blackosx/package/Scripts/Standard/postinstall (revision 1492) @@ -292,13 +292,13 @@ if [ ${disksignature} == "00000000" ]; then echo "Executing command: fdisk440 -u -f /usr/standalone/i386/${diskloader} -y ${bootdisk}" - fdisk440 -u -f "${bootvolume}/usr/standalone/i386/${diskloader}" -y ${bootdisk} + "${bootresources}/Tools/fdisk440" -u -f "${bootvolume}/usr/standalone/i386/${diskloader}" -y ${bootdisk} else #--------------------------------------------------------------------- # If it exists then Windows is also installed on the HDD and we need to write boot0hfs #--------------------------------------------------------------------- echo "Executing command: fdisk440 -u -f /usr/standalone/i386/${diskloaderdualboot} -y ${bootdisk}" - fdisk440 -u -f "${bootvolume}/usr/standalone/i386/${diskloaderdualboot}" -y ${bootdisk} + "${bootresources}/Tools/fdisk440" -u -f "${bootvolume}/usr/standalone/i386/${diskloaderdualboot}" -y ${bootdisk} fi else echo "Diskupdate is false, so no stage 0 file was written" @@ -332,7 +332,7 @@ if [ ${disksignature} == "00000000" ]; then # echo "Windows is not installed so let's change the active partition" - partitionactive=$( fdisk440 -d ${bootrdisk} | grep -n "*" | awk -F: '{print $1}') + partitionactive=$( "${bootresources}/Tools/fdisk440" -d ${bootrdisk} | grep -n "*" | awk -F: '{print $1}') echo "Current Active Partition: ${partitionactive}" if [ "${partitionactive}" = "${bootslice}" ]; then @@ -342,7 +342,7 @@ # BadAxe requires EFI partition to be flagged active. # but it doesn't' hurt to do it for any non-windows partition. - fdisk440 -e ${bootrdisk} <<-MAKEACTIVE + "${bootresources}/Tools/fdisk440" -e ${bootrdisk} <<-MAKEACTIVE print flag ${bootslice} write Index: branches/blackosx/package/buildpkg.sh =================================================================== --- branches/blackosx/package/buildpkg.sh (revision 1491) +++ branches/blackosx/package/buildpkg.sh (revision 1492) @@ -94,7 +94,8 @@ mkdir -p ${1}/Standard/Root mkdir -p ${1}/Standard/Scripts/Tools cp -f ${pkgroot}/Scripts/Standard/* ${1}/Standard/Scripts - # ditto --arch i386 `which SetFile` ${1}/Standard/Scripts/Tools/SetFile + ditto --arch i386 `which SetFile` ${1}/Standard/Scripts/Tools/SetFile + ditto --noextattr --noqtn ${1%/*}/i386/fdisk440 ${1}/Standard/Scripts/Tools echo " [BUILD] Standard " buildpackage "${1}/Standard" "/" "${coresize}" "start_enabled=\"true\" start_selected=\"upgrade_allowed()\" selected=\"exclusive(choices['EFI']) && exclusive(choices['noboot'])\"" >/dev/null 2>&1 # End build standard package @@ -103,7 +104,8 @@ mkdir -p ${1}/EFI/Root mkdir -p ${1}/EFI/Scripts/Tools cp -f ${pkgroot}/Scripts/EFI/* ${1}/EFI/Scripts - # ditto --arch i386 `which SetFile` ${1}/EFI/Scripts/Tools/SetFile + ditto --arch i386 `which SetFile` ${1}/EFI/Scripts/Tools/SetFile + ditto --noextattr --noqtn ${1%/*}/i386/fdisk440 ${1}/Standard/Scripts/Tools echo " [BUILD] EFI " buildpackage "${1}/EFI" "/" "${coresize}" "start_visible=\"systemHasGPT()\" start_selected=\"false\" selected=\"exclusive(choices['Standard']) && exclusive(choices['noboot'])\"" >/dev/null 2>&1 # End build efi package