[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/4] Accept environment variables on the command line for Xen
From: |
Vladimir 'φ-coder/phcoder' Serbinenko |
Subject: |
Re: [PATCH 2/4] Accept environment variables on the command line for Xen. |
Date: |
Thu, 12 Dec 2013 20:50:39 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10 |
On 12.12.2013 20:12, Colin Watson wrote:
> On Thu, Dec 12, 2013 at 06:58:23PM +0100, Vladimir 'φ-coder/phcoder'
> Serbinenko wrote:
>> My response was terse and it seems that you misunderstood it, sorry. I
>> meant more along the lines that define:
>> cmdline.# as number of arguments
>> cmdline.1,..., cmdline.N are the raw arguments
>> cmdline.var.<name> are parsed variants of <name>=<value>
>
> That seems unnecessarily cumbersome. I can see why you'd want them to
> be specifically identified, but why require the count rather than just
> taking as many cmdline.foo arguments as are present? I don't really see
> what you're trying to achieve here.
>
> (Also, cmdline.* is odd naming given that the whole thing arrives on a
> command line anyway.)
>
As discussed on IRD what I meant is how command line is exported to GRUB
environment.
Colin proposed on IRC to use already existing $*, $@ and $# but it poses
other problems with shadowing in source, configfile, menuentry and function.
@Jordan: your opinion since you do a lot of GRUB scripting?
signature.asc
Description: OpenPGP digital signature
- Re: [PATCH] add --boot-directory option to grub-mkstandalone, (continued)
- [PATCH 2/4] Accept environment variables on the command line for Xen., Colin Watson, 2013/12/12
- Re: [PATCH 2/4] Accept environment variables on the command line for Xen., Andrey Borzenkov, 2013/12/12
- Re: [PATCH 2/4] Accept environment variables on the command line for Xen., Vladimir 'phcoder' Serbinenko, 2013/12/12
- Re: [PATCH 2/4] Accept environment variables on the command line for Xen., Andrey Borzenkov, 2013/12/12
- Re: [PATCH 2/4] Accept environment variables on the command line for Xen., Vladimir 'φ-coder/phcoder' Serbinenko, 2013/12/12
- Re: [PATCH 2/4] Accept environment variables on the command line for Xen., Colin Watson, 2013/12/12
- Re: [PATCH 2/4] Accept environment variables on the command line for Xen.,
Vladimir 'φ-coder/phcoder' Serbinenko <=
[PATCH 3/4] Build grub.xen., Colin Watson, 2013/12/12
- Re: [PATCH 3/4] Build grub.xen., Vladimir 'phcoder' Serbinenko, 2013/12/12
- Re: [PATCH 3/4] Build grub.xen., Colin Watson, 2013/12/12
- Re: [PATCH 3/4] Build grub.xen., Vladimir 'phcoder' Serbinenko, 2013/12/12
- Fwd: Re: [PATCH 3/4] Build grub.xen., Vladimir 'phcoder' Serbinenko, 2013/12/12
- Re: [PATCH 3/4] Build grub.xen., Colin Watson, 2013/12/12
- Re: [PATCH 3/4] Build grub.xen., Andrey Borzenkov, 2013/12/12
- Re: [PATCH 3/4] Build grub.xen., Vladimir 'φ-coder/phcoder' Serbinenko, 2013/12/12
Re: [PATCH 3/4] Build grub.xen., Colin Watson, 2013/12/13