[PATCH 2/4] blspec: only reset variable locations, not paths
Rouven Czerwinski
r.czerwinski at pengutronix.de
Sat Sep 12 03:12:39 EDT 2020
Configuration of the loadaddresses for image oftree and initrd can not
be done inside the bootloader spec yet, so using bootloader spec should
not override settings from the environment.
Signed-off-by: Rouven Czerwinski <r.czerwinski at pengutronix.de>
---
common/blspec.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/common/blspec.c b/common/blspec.c
index 9e1036c834..b3b1fe422e 100644
--- a/common/blspec.c
+++ b/common/blspec.c
@@ -137,9 +137,9 @@ static int blspec_boot(struct bootentry *be, int verbose, int dryrun)
};
globalvar_set_match("linux.bootargs.dyn.", "");
- globalvar_set_match("bootm.image", "");
- globalvar_set_match("bootm.oftree", "");
- globalvar_set_match("bootm.initrd", "");
+ globalvar_set_single("bootm.image", "");
+ globalvar_set_single("bootm.oftree", "");
+ globalvar_set_single("bootm.initrd", "");
bootm_data_init_defaults(&data);
--
2.28.0
More information about the barebox
mailing list