Skip to content
Snippets Groups Projects
Commit 59d03cb3 authored by Sjoerd Simons's avatar Sjoerd Simons Committed by Tom Rini
Browse files

config_distro_bootcmd.h: Use a private variable for bootpart


Hush has an oddity where using ${var} causes var to resolved in the the global
address space (iotw the environment) first and only afterwards will the local
variable space be searched.

This causes odd side-effects when iterating over the boot partitions
using ${bootpart} if the environment also has a bootpart variable (e.g. for
the various TI boards). Fix this by using the hopefully more unique
${distro_bootpart} instead of ${bootpart}.

Signed-off-by: default avatarSjoerd Simons <sjoerd.simons@collabora.co.uk>
Acked-by: default avatarStephen Warren <swarren@wwwdotorg.org>
parent 2da87ab3
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment