diff options
Diffstat (limited to 'draklive')
-rwxr-xr-x | draklive | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -656,6 +656,8 @@ sub create_efi_boot_image { my ($live) = @_; my $src_dir = $live->get_builddir . $live->{prefix}{build}{files} . '/EFI'; my $dst_dir = $live->get_builddir . $live->{prefix}{build}{files} . '/boot'; + my $label = $live->{media}->get_media_label; + run_("sed", "-i", "s/VOLUME_LABEL/$label/g", $src_dir . '/BOOT/grub.cfg'); mkdir_p($dst_dir); my $boot_image = $dst_dir . '/efiboot.img'; eval { rm_rf($boot_image) }; |