diff options
author | Ahmad Fatoum <ahmad@a3f.at> | 2021-04-04 13:18:30 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-04-13 09:43:07 +0200 |
commit | a4b55aaf7829534d0e8755c2dcdda89b1c996fbe (patch) | |
tree | 685471dd3d2b441c6c938de54502ac48b98873e2 /arch | |
parent | c78a717d77e57f8ee9a120633046a455746042ef (diff) | |
download | barebox-a4b55aaf7829534d0e8755c2dcdda89b1c996fbe.tar.gz barebox-a4b55aaf7829534d0e8755c2dcdda89b1c996fbe.tar.xz |
sandbox: env: set nv.autoboot=abort to drop to shell
barebox on sandbox defaults to network boot, which fails either due to
missing TAP support (like not having CAP_NET_ADMIN) or because the files
couldn't be fetched.
Arguably, the most user-friendly thing is to drop to shell. Do so.
Users can still override nv.autoboot if they want to boot differently.
Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.pengutronix.de/20210404111831.592821-1-ahmad@a3f.at
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sandbox/board/env/nv/autoboot | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sandbox/board/env/nv/autoboot b/arch/sandbox/board/env/nv/autoboot new file mode 100644 index 0000000000..f7d13fd046 --- /dev/null +++ b/arch/sandbox/board/env/nv/autoboot @@ -0,0 +1 @@ +abort |