From 1a9710963996e476790d7a351b57b090866c9b71 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 1 Apr 2021 14:24:12 +0200 Subject: mkarchiso: also add iso name in grub environment block --- archiso/mkarchiso | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'archiso/mkarchiso') diff --git a/archiso/mkarchiso b/archiso/mkarchiso index 439e8d0..f08d8f6 100755 --- a/archiso/mkarchiso +++ b/archiso/mkarchiso @@ -937,8 +937,9 @@ _make_version() { _msg_info "Creating files with iso version..." printf '%s\n' "${iso_version}" > "${airootfs_dir}/version" printf '%s\n' "${iso_version}" > "${isofs_dir}/${install_dir}/version" - printf '%.1024s' "$(printf '# GRUB Environment Block\nVERSION=%s\n%s' "${iso_version}" \ - "$(printf '%0.1s' "#"{1..1024})")" > "${isofs_dir}/${install_dir}/grubenv" + printf '%.1024s' "$(printf '# GRUB Environment Block\nNAME=%s\nVERSION=%s\n%s' \ + "${iso_name}" "${iso_version}" "$(printf '%0.1s' "#"{1..1024})")" \ + > "${isofs_dir}/${install_dir}/grubenv" _msg_info "Done!" } -- cgit v1.2.3-70-g09d2