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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 622EC15808D for ; Tue, 19 Apr 2022 17:40:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 19597E0894; Tue, 19 Apr 2022 17:40:49 +0000 (UTC) Received: from rs234.mailgun.us (rs234.mailgun.us [209.61.151.234]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E361BE0894 for ; Tue, 19 Apr 2022 17:40:37 +0000 (UTC) DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=0xdc.io; q=dns/txt; s=smtp; t=1650390036; h=Content-Transfer-Encoding: MIME-Version: Message-Id: Date: Subject: Subject: To: To: From: From: Sender: Sender; bh=cnl7bhDqpW/VAax0TW3usQz+LU++a4jdghXbxLMuEkI=; b=FC5+m9OX2TcMKllH1lJsncIs+6HN+e6U74q01V4apUCiEPjCjKHPcI2ttH7IvhOcGLPP/MlN W2N4ZDlV4YZyb/6e09n0mMvPoWp6vbtnCUU5f2Hktv5ZDl5FeS4xwCTHQCTgvBY44c6Igqm1 sHOQnsM5p/GsdfXS2saoFaewJIw= X-Mailgun-Sending-Ip: 209.61.151.234 X-Mailgun-Sid: WyJiZmIxMyIsICJnZW50b28tY2F0YWx5c3RAbGlzdHMuZ2VudG9vLm9yZyIsICJmNjc0NGUiXQ== Received: from mail.0xdc.io (mail.0xdc.io [54.37.0.172]) by smtp-out-n03.prod.us-east-1.postgun.com with SMTP id 625ef40f514839a81953d0d5 (version=TLS1.3, cipher=TLS_AES_128_GCM_SHA256); Tue, 19 Apr 2022 17:40:31 GMT Sender: gentoo.catalyst=xxoo.ws@0xdc.io Received: from pulsar (5.b.0.d.c.4.e.f.f.f.1.0.5.8.8.4.0.a.4.7.9.0.c.0.0.b.8.0.1.0.0.2.ip6.arpa [IPv6:2001:8b0:c09:74a0:4885:1ff:fe4c:d0b5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.0xdc.io (Postfix) with ESMTPSA id 990CF1023FC for ; Tue, 19 Apr 2022 17:42:20 +0000 (UTC) From: Daniel Cordero To: gentoo-catalyst@lists.gentoo.org Subject: [gentoo-catalyst] [PATCH] create-iso.sh: split iso-level arguments Date: Tue, 19 Apr 2022 17:40:15 +0000 Message-Id: <20220419174015.3958836-1-gentoo.catalyst@xxoo.ws> X-Mailer: git-send-email 2.35.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: 7dc3a13a-81b8-44b3-8a29-63c411f8853c X-Archives-Hash: 23d51d2370b9aba7ef441246bf741a0b From: Daniel Cordero When enclosed in quotes and expanded with "${variable[@]}", the word is expanded to be a single argument, rather than two separate arguments. i.e. argv[2] = "-iso-level 3" instead of argv[2] = "-iso-level" argv[3] = "3" This lead to the failure: xorriso : FAILURE : -as mkisofs: Unrecognized option '-iso-level 3' xorriso : aborting : -abort_on 'FAILURE' encountered 'FAILURE' grub-mkrescue: error: `xorriso` invocation failed This patch fixes commit 0b56dbe4d36c88b0b051d24451e15cd6b64c819d. --- 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 45ef1696..9991b930 100755 --- a/targets/support/create-iso.sh +++ b/targets/support/create-iso.sh @@ -194,7 +194,7 @@ case ${clst_hostarch} in amd64|arm64|ia64|ppc*|powerpc*|sparc*|x86) isoroot_checksum - extra_opts=("-joliet" "-iso-level 3") + extra_opts=("-joliet" "-iso-level" "3") case ${clst_hostarch} in sparc*) extra_opts+=("--sparc-boot") ;; esac -- 2.35.1