mirror of
https://review.haiku-os.org/haiku
synced 2024-11-23 15:28:58 +01:00
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:
parent
987f40eb8f
commit
b9db31f649
@ -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
|
||||
}
|
||||
|
BIN
data/artwork/VolumeIcon.icns
Normal file
BIN
data/artwork/VolumeIcon.icns
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user