diff --git a/build/jam/ImageRules b/build/jam/ImageRules index 0d208a2652..ff636891bf 100644 --- a/build/jam/ImageRules +++ b/build/jam/ImageRules @@ -1632,7 +1632,13 @@ actions BuildCDBootPPCImage1 bind MAPS rule BuildEfiSystemPartition image : efiLoader { + local macVolumeIcon = [ FDirName + $(HAIKU_TOP) data artwork VolumeIcon.icns ] ; + Depends $(image) : $(efiLoader) ; + Depends $(image) : $(macVolumeIcon) ; + + EFIICON on $(image) = $(macVolumeIcon) ; BuildEfiSystemPartition1 $(image) : $(efiLoader) ; } @@ -1644,5 +1650,6 @@ actions BuildEfiSystemPartition1 mformat -i $(<) -f 2880 mmd -D s -i $(<) ::/EFI mmd -D s -i $(<) ::/EFI/BOOT + mcopy -D o -i $(<) $(EFIICON) ::/.VolumeIcon.icns mcopy -D o -i $(<) $(>) ::/EFI/BOOT/BOOTX64.EFI } diff --git a/data/artwork/VolumeIcon.icns b/data/artwork/VolumeIcon.icns new file mode 100644 index 0000000000..ef17bf9fd7 Binary files /dev/null and b/data/artwork/VolumeIcon.icns differ