Since commit 90df2a955e3c ("defaultenv: Convert init script to C"), if
the legacy /env/bin/init script is still being used, any environment
variables that were set in the script (such as the PS1 prompt) disappear
when the script exits. I guess it is because the script is now run
directly by run_command(initfile) (initfile is "/env/bin/init") rather
than by run_command("source /env/bin/init").
--
-=( Ian Abbott <abbotti@xxxxxxxxx> || Web: www.mev.co.uk )=-
-=( MEV Ltd. is a company registered in England & Wales. )=-
-=( Registered number: 02862268. Registered address: )=-
-=( 15 West Park Road, Bramhall, STOCKPORT, SK7 3JZ, UK. )=-
_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox