mirror of
https://git.yoctoproject.org/poky
synced 2026-03-19 13:49:41 +01:00
isoimage-isohybrid.py: Parameterize ESP label
Add "esp_label" plugin parameter so that caller may override default ESP partition label 'EFIimg'. (From OE-Core rev: 6b3b9042a55d47205b16ef792f93a9bb240fd7cb) Signed-off-by: Haris Okanovic <haris.okanovic@ni.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
290e90d5a2
commit
36bb63c3d2
@@ -347,8 +347,10 @@ class IsoImagePlugin(SourcePlugin):
|
||||
# dosfs image for EFI boot
|
||||
bootimg = "%s/efi.img" % isodir
|
||||
|
||||
dosfs_cmd = 'mkfs.vfat -n "EFIimg" -S 512 -C %s %d' \
|
||||
% (bootimg, blocks)
|
||||
esp_label = source_params.get('esp_label', 'EFIimg')
|
||||
|
||||
dosfs_cmd = 'mkfs.vfat -n \'%s\' -S 512 -C %s %d' \
|
||||
% (esp_label, bootimg, blocks)
|
||||
exec_native_cmd(dosfs_cmd, native_sysroot)
|
||||
|
||||
mmd_cmd = "mmd -i %s ::/EFI" % bootimg
|
||||
|
||||
Reference in New Issue
Block a user