Dear Stefan

Looking at the kernel code in init/main.c, it does look like HOME=/ TERM=linux is hard coded in the kernel with no way to override this from the command line.

I guess you are wrong.
HOME and TERM env vars can be overriden with boot params.

Anyway, if HOME=/ is hardcoded in the kernel then what is the reason for setting it in init command for the second time?

        putenv((char *) "HOME=/");

Did you check if you can actually set this to something else?

Yes, I did.
Please read this ticket:
https://gitlab.alpinelinux.org/alpine/aports/-/issues/13578

Regards,
jkm
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to