On 7/12/26 11:35, Michael Tokarev wrote:
On 7/12/26 10:55, Michael Tokarev wrote:

So it looks lie we have, apparently, a single place in d-i which
preseeds the debconf vars from environment and the preseed.cfg
file, which uses `set', where it should be using `env' instead.

and indeed this is the case.  preseed, env2debconf:

for line in $(set); do

changing this to

for line in $(env); do

makes the kernel parameters to be recognized as preseed variables
again, with unpatched busybox.

And here, instead of using env or set, it should be possible to use
`cat /proc/cmdline' instead, to avoid all nonstandard/questionable
behavior.  Including hostname= which will be in cmdline but not in
environment (see the first part of env2debconf).  I guess it is the
way to go here.

But for now, s/set/env/ in this line will do.

Thanks,

/mjt

Reply via email to