From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6715B138359 for ; Thu, 29 Oct 2020 21:00:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 941F1E091F; Thu, 29 Oct 2020 21:00:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 77AF0E091C for ; Thu, 29 Oct 2020 21:00:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 94B34340E26 for ; Thu, 29 Oct 2020 21:00:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 33FF13EB for ; Thu, 29 Oct 2020 21:00:41 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1603577221.7e1ea3ac0107c349333d1ec887917eb3627af7a4.mattst88@gentoo> Subject: [gentoo-commits] proj/catalyst:wip/mattst88 commit in: targets/support/ X-VCS-Repository: proj/catalyst X-VCS-Files: targets/support/create-iso.sh X-VCS-Directories: targets/support/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 7e1ea3ac0107c349333d1ec887917eb3627af7a4 X-VCS-Branch: wip/mattst88 Date: Thu, 29 Oct 2020 21:00:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1f2b4bf5-b667-4e99-8608-debafd3cedf5 X-Archives-Hash: 41065f2dab39e8ac26cefb9d1b57b199 Message-ID: <20201029210041.Vxxor6Usa455hqZNJacX6lh3nA5J2WXv-ujn1XJ_LI8@z> commit: 7e1ea3ac0107c349333d1ec887917eb3627af7a4 Author: Daniel Cordero 0xdc io> AuthorDate: Fri Oct 23 09:18:45 2020 +0000 Commit: Matt Turner gentoo org> CommitDate: Sat Oct 24 22:07:01 2020 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=7e1ea3ac Build ISO with Joliet directory information Previous syslinux based CDs had this information. Necessary for direct kernel booting with virt-install --location. Fixes: 0a27a7a39a "targets: Use GRUB for BIOS boot" Signed-off-by: Daniel Cordero 0xdc.io> Signed-off-by: Matt Turner gentoo.org> targets/support/create-iso.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/targets/support/create-iso.sh b/targets/support/create-iso.sh index 9b1c7185..a5d5194e 100755 --- a/targets/support/create-iso.sh +++ b/targets/support/create-iso.sh @@ -191,12 +191,13 @@ case ${clst_hostarch} in amd64|ia64|ppc*|powerpc*|sparc*|x86) isoroot_checksum + extra_opts=("-joliet") case ${clst_hostarch} in - sparc*) extra_opts="--sparc-boot" ;; + sparc*) extra_opts+=("--sparc-boot") ;; esac echo ">> Running grub-mkrescue to create iso image...." - grub-mkrescue ${extra_opts} -o "${1}" "${clst_target_path}" + grub-mkrescue "${extra_opts[*]}" -o "${1}" "${clst_target_path}" ;; esac exit $?