commit:     04c70a9df505718c7e97ca1484f7c03270e6824c
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Thu May  2 17:56:27 2024 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Thu May  2 17:58:38 2024 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=04c70a9d

create-iso.sh: restore ISO volume ID

When we switched to grub-mkrescue for the ISO generation, we lost the
volume ID.  Luckly grub-mkresce takes unrecognized parameters and passes
them to xorriso so we can just add the xorriso -volid parameter here.

Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 targets/support/create-iso.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/targets/support/create-iso.sh b/targets/support/create-iso.sh
index 74c24a1d..0468f965 100755
--- a/targets/support/create-iso.sh
+++ b/targets/support/create-iso.sh
@@ -200,7 +200,7 @@ case ${clst_hostarch} in
                esac
 
                echo ">> Running grub-mkrescue to create iso image...."
-               grub-mkrescue "${extra_opts[@]}" -o "${1}" "${clst_target_path}"
+               grub-mkrescue -volid "${clst_iso_volume_id}" "${extra_opts[@]}" 
-o "${1}" "${clst_target_path}"
        ;;
 esac
 exit  $?

Reply via email to