From: Andrey Borzenkov <arvidjaar@gmail.com>
To: grub-devel@gnu.org
Subject: Re: grub-shell: Pass -no-pad to xorriso when building floppy images
Date: Sat, 25 Jan 2014 20:27:59 +0400 [thread overview]
Message-ID: <20140125202759.2d950b2d@opensuse.site> (raw)
In-Reply-To: <52DFDFDA.7030703@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1426 bytes --]
В Wed, 22 Jan 2014 16:12:26 +0100
Vladimir 'φ-coder/phcoder' Serbinenko <phcoder@gmail.com> пишет:
> 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="${mkrescue_args} -- -no-pad"
> >>
> >> This "--" is most probably not what you want.
> > [...]
> >> mkrescue_args="${mkrescue_args} -no-pad"
> >
> > This doesn't work for me:
> >
> > + pkgdatadir=. ./grub-mkrescue --output=/tmp/tmp.NiHozwqHYv --override-directory=./grub-core --rom-directory=/tmp/tmp.Z4Kx63yul8 --themes-directory=../../themes --compress=xz --fonts= --locales= --themes= -no-pad /boot/grub/grub.cfg=/tmp/tmp.pEYe6QbufK /boot/grub/testcase.cfg=/tmp/tmp.8OxC8koxHb
> > ./grub-mkrescue: invalid option -- 'n'
> > Try 'grub-mkrescue --help' or 'grub-mkrescue --usage' for more information.
> >
> 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).
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
prev parent reply other threads:[~2014-01-25 16:28 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-16 12:49 [PATCH] grub-shell: Pass -no-pad to xorriso when building floppy images Colin Watson
2014-01-16 14:05 ` Thomas Schmitt
2014-01-16 14:53 ` Colin Watson
2014-01-16 16:17 ` Thomas Schmitt
2014-01-16 16:28 ` Thomas Schmitt
2014-01-16 18:21 ` Andrey Borzenkov
2014-01-16 18:56 ` Thomas Schmitt
2014-01-16 19:13 ` Andrey Borzenkov
2014-01-16 19:43 ` Thomas Schmitt
2014-01-22 15:12 ` Vladimir 'φ-coder/phcoder' Serbinenko
2014-01-22 15:36 ` Thomas Schmitt
2014-01-25 16:27 ` Andrey Borzenkov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140125202759.2d950b2d@opensuse.site \
--to=arvidjaar@gmail.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.