[syslinux] CHDIR Directive?
H. Peter Anvin
hpa at zytor.com
Fri Dec 14 10:17:08 PST 2012
On 12/12/2012 06:00 PM, H. Peter Anvin wrote:
> On 12/12/2012 01:27 PM, Shao Miller wrote:
>> Perhaps it could be useful to have a "CHDIR" config-file directive? I'm
>> thinking it'd override anything passed by config.c32. I'm also thinking
>> it'd be a config-file-global, rather than a LABEL-specific, option.
>> Then a
>> config-file could set its own working directory without using
>> config.c32 as
>> an intermediate step. Does this seem like a reasonable feature to
>> have? -
>> Shao
>>
>> P. S. Maybe this already exists and I haven't read about it. If so, then
>> oops.
>>
>
> The problem with CHDIR is that it makes it very hard to deal with the
> fact that it suddenly matters "when" a certain patch is interpreted. The
> reason this is currently mixed with the CONFIG directive is that that is
> a natural reset point anyway.
>
s/patch/path/
-hpa
More information about the Syslinux
mailing list