[syslinux] CHDIR Directive?
H. Peter Anvin
hpa at zytor.com
Wed Dec 12 18:00:47 PST 2012
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.
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
More information about the Syslinux
mailing list