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 E13B615808D for ; Sat, 23 Apr 2022 11:00:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6D117E08EC; Sat, 23 Apr 2022 11:00:07 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 5309FE08EC for ; Sat, 23 Apr 2022 11:00:06 +0000 (UTC) From: "Andreas K. Huettel" To: gentoo-catalyst@lists.gentoo.org Cc: Daniel Cordero Subject: Re: [gentoo-catalyst] [PATCH] create-iso.sh: split iso-level arguments Date: Sat, 23 Apr 2022 12:59:59 +0200 Message-ID: <2208736.iZASKD2KPV@pinacolada> Organization: Gentoo Linux In-Reply-To: <20220419174015.3958836-1-gentoo.catalyst@xxoo.ws> References: <20220419174015.3958836-1-gentoo.catalyst@xxoo.ws> 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: quoted-printable Content-Type: text/plain; charset="iso-8859-1" X-Archives-Salt: 9e24ab69-aa7a-4adc-a30e-e6e7fd80c87a X-Archives-Hash: 0d9f8505ab53a8117cbfde4431a3f241 Huh... fine of course and sorry about that. Strange that it worked though... Am Dienstag, 19. April 2022, 19:40:15 CEST schrieb Daniel Cordero: > From: Daniel Cordero >=20 > When enclosed in quotes and expanded with "${variable[@]}", the word is e= xpanded > to be a single argument, rather than two separate arguments. >=20 > i.e. argv[2] =3D "-iso-level 3" > instead of > argv[2] =3D "-iso-level" > argv[3] =3D "3" >=20 > 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 >=20 > This patch fixes commit 0b56dbe4d36c88b0b051d24451e15cd6b64c819d. > --- > targets/support/create-iso.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > 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 > =20 > - extra_opts=3D("-joliet" "-iso-level 3") > + extra_opts=3D("-joliet" "-iso-level" "3") > case ${clst_hostarch} in > sparc*) extra_opts+=3D("--sparc-boot") ;; > esac >=20 =2D-=20 Andreas K. H=FCttel dilfridge@gentoo.org Gentoo Linux developer (council, toolchain, base-system, perl, libreoffice)