From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1W765k-0007fS-PJ for mharc-grub-devel@gnu.org; Sat, 25 Jan 2014 11:28:20 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45441) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W765b-0007fF-8Q for grub-devel@gnu.org; Sat, 25 Jan 2014 11:28:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W765S-0007R1-R7 for grub-devel@gnu.org; Sat, 25 Jan 2014 11:28:11 -0500 Received: from mail-la0-x22a.google.com ([2a00:1450:4010:c03::22a]:63789) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W765S-0007Qv-Ie for grub-devel@gnu.org; Sat, 25 Jan 2014 11:28:02 -0500 Received: by mail-la0-f42.google.com with SMTP id hr13so3459210lab.1 for ; Sat, 25 Jan 2014 08:28:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type; bh=tFJ5Cw8E5W79vxuzieArBCWxeHCAsDROofzWJr85lLE=; b=MiWbeAqbu/bBCz9hO09tLo6J+Kmz+P8nLWfzBtyS1nyKFJ2rV04MXrrYGIOCg3zbAB gK1ldk5Z2IqVhglSBNETK544GS2UpurXwLyjAldom1F6PWmkc90xgzILUaS9GvOQJM3p UWxhdcMailefY4xevnuucVtEy8Um/OPJpcgh8Z8QesIis1mV+CsevH0SlWfnMPJfbST6 5qrIDdL2ySZ1Di7BdUGfkNkZBPlCrsVo7klYkTfl7vfgvukE0NNkefu11i4Xn9RCHPPR yn9OYjG5NQQaCXnKprzKfBMPqxyUK9pWOUDLawZ1gx9ZhRb2i2uMk1/DCM/BzMVwyHbF HSaA== X-Received: by 10.152.234.139 with SMTP id ue11mr5578379lac.26.1390667281103; Sat, 25 Jan 2014 08:28:01 -0800 (PST) Received: from opensuse.site (ppp91-76-154-95.pppoe.mtu-net.ru. [91.76.154.95]) by mx.google.com with ESMTPSA id mx3sm5279776lbc.14.2014.01.25.08.28.00 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Sat, 25 Jan 2014 08:28:00 -0800 (PST) Date: Sat, 25 Jan 2014 20:27:59 +0400 From: Andrey Borzenkov To: grub-devel@gnu.org Subject: Re: grub-shell: Pass -no-pad to xorriso when building floppy images Message-ID: <20140125202759.2d950b2d@opensuse.site> In-Reply-To: <52DFDFDA.7030703@gmail.com> References: <20140116124937.GP5883@riva.ucam.org> <701645057540198427@scdbackup.webframe.org> <20140116145347.GA28616@riva.ucam.org> <52DFDFDA.7030703@gmail.com> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.22; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/p7.s_Dw5WbL_yLIcCXo5P/H"; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22a X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jan 2014 16:28:19 -0000 --Sig_/p7.s_Dw5WbL_yLIcCXo5P/H Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable =D0=92 Wed, 22 Jan 2014 16:12:26 +0100 Vladimir '=CF=86-coder/phcoder' Serbinenko =D0=BF=D0=B8= =D1=88=D0=B5=D1=82: > On 16.01.2014 15:53, Colin Watson wrote: > > On Thu, Jan 16, 2014 at 03:05:44PM +0100, Thomas Schmitt wrote: > >> Hi, > >> > >>> + mkrescue_args=3D"${mkrescue_args} -- -no-pad" > >> > >> This "--" is most probably not what you want. > > [...] > >> mkrescue_args=3D"${mkrescue_args} -no-pad" > >=20 > > This doesn't work for me: > >=20 > > + pkgdatadir=3D. ./grub-mkrescue --output=3D/tmp/tmp.NiHozwqHYv --ove= rride-directory=3D./grub-core --rom-directory=3D/tmp/tmp.Z4Kx63yul8 --theme= s-directory=3D../../themes --compress=3Dxz --fonts=3D --locales=3D --themes= =3D -no-pad /boot/grub/grub.cfg=3D/tmp/tmp.pEYe6QbufK /boot/grub/testcase.c= fg=3D/tmp/tmp.8OxC8koxHb > > ./grub-mkrescue: invalid option -- 'n' > > Try 'grub-mkrescue --help' or 'grub-mkrescue --usage' for more inform= ation. > >=20 > Hm, that's annoying that xorrisofs has single-dash long parameters. > Perhaps we shouldn't use argp for parsing arguments in mkrescue but own, > simpler code. TBO I do not think it is worth it. Intermixing native and xorrisofs options is probably not a good idea anyway from usability point of view. Passing non-option arguments still works as before; and for options it is custom to use "--" to disambiguate non-option arguments starting with dash (and xorrisofs options are non-option argument for grub-mkrescue). --Sig_/p7.s_Dw5WbL_yLIcCXo5P/H Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlLj5g8ACgkQR6LMutpd94wgrgCcC46iMLOxEzGYDfC4tT67X2WD jW8AoLmdP755mszq0UDgeT+10BJJ+azQ =ID+M -----END PGP SIGNATURE----- --Sig_/p7.s_Dw5WbL_yLIcCXo5P/H--