Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • Simon Glass's avatar
    3a8a02be
    Allow newlines within command environment vars · 3a8a02be
    Simon Glass authored
    
    Any environment variable can hold commands to be executed by the 'run'
    command. The environment variables preboot, bootcmd and menucmd have
    special code for triggering execution in certain circumstances.
    
    We adjust these calls to use run_command_list() instead of run_command().
    This change permits these variables to have embedded newlines so that
    they work the same as the 'source' command.
    
    Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
    3a8a02be
    History
    Allow newlines within command environment vars
    Simon Glass authored
    
    Any environment variable can hold commands to be executed by the 'run'
    command. The environment variables preboot, bootcmd and menucmd have
    special code for triggering execution in certain circumstances.
    
    We adjust these calls to use run_command_list() instead of run_command().
    This change permits these variables to have embedded newlines so that
    they work the same as the 'source' command.
    
    Signed-off-by: default avatarSimon Glass <sjg@chromium.org>