summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-stm32mp/include
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-06-13 07:56:50 +0200
commitafa8665f9f1a5666c63db762fcad53e7425126ef (patch)
tree993ddf12fe378ab1f8ddb87ffb5b6aac98e2a3c0 /arch/arm/mach-stm32mp/include
parentb8740d6022fee0523310ac15104e7f81f0e19246 (diff)
downloadbarebox-afa8665f9f1a5666c63db762fcad53e7425126ef.tar.gz
barebox-afa8665f9f1a5666c63db762fcad53e7425126ef.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 'arch/arm/mach-stm32mp/include')
0 files changed, 0 insertions, 0 deletions