EFI: Add VolumeIcon to EFI system partition

Change-Id: Idc50cfee16db5f7c0dbea625a7739ad42b2d7bf0
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2249
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
This commit is contained in:
Alexander von Gluck IV 2020-02-16 20:46:51 -06:00 committed by Alex von Gluck IV
parent 987f40eb8f
commit b9db31f649
2 changed files with 7 additions and 0 deletions

View File

@ -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
}

Binary file not shown.