sandbox: Don't try distro_bootcmd by default
For the distro_bootcmds to succeed on the sandbox a bit of setup is required (e.g. network configured or host image bound), so running them by default isn't that useful. Add a -b/--boot command to the sandbox binary, which triggers the distro_bootcmds to run after the other command-line commands. Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
committed by
Simon Glass
parent
fa5b9baa0c
commit
ebaa832e99
@@ -125,6 +125,8 @@
|
||||
func(HOST, host, 1) \
|
||||
func(HOST, host, 0)
|
||||
|
||||
#define CONFIG_BOOTCOMMAND ""
|
||||
|
||||
#include <config_distro_bootcmd.h>
|
||||
|
||||
#define CONFIG_KEEP_SERVERADDR
|
||||
|
||||
Reference in New Issue
Block a user