summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2019-06-12 10:43:33 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-07-03 08:47:53 +0200
commitf3a0ba62b015fe455648fb47561ad8a5e7945ebd (patch)
treea06ae41fc4a46ee407b049a12e382255a1c3b04c /Makefile
parentd755a24939eb1297a68c5bdec1ae1362b081dfd4 (diff)
downloadbarebox-f3a0ba62b015fe455648fb47561ad8a5e7945ebd.tar.gz
barebox-f3a0ba62b015fe455648fb47561ad8a5e7945ebd.tar.xz
startup: execute /env/bin/init as part of the initial shell
Commit 90df2a955e3c ("defaultenv: Convert init script to C") unintentionally changed the way the legacy "/env/bin/init" script is run, so that it runs in a sub-shell context, effectively changing `run_command("source /env/bin/init");` to `run_command("/env/bin/init");`. Therefore, any changes to shell environment variables made by the script are undone when the script exits. This patch reverts back to the old behavior. Fixes: 90df2a955e3c ("defaultenv: Convert init script to C") Cc: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions