[PATCH] blspec: put blspec bootargs into a .dyn bootargs variable

Sascha Hauer s.hauer at pengutronix.de
Fri Feb 6 01:23:45 PST 2015


So that they get deleted later when something else is booted.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 common/blspec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/blspec.c b/common/blspec.c
index b9342d5..3506388 100644
--- a/common/blspec.c
+++ b/common/blspec.c
@@ -648,7 +648,7 @@ int blspec_boot(struct blspec_entry *entry, int verbose, int dryrun)
 	if (initrd)
 		data.initrd_file = asprintf("%s/%s", abspath, initrd);
 
-	globalvar_add_simple("linux.bootargs.blspec", options);
+	globalvar_add_simple("linux.bootargs.dyn.blspec", options);
 
 	pr_info("booting %s from %s\n", blspec_entry_var_get(entry, "title"),
 			entry->cdev ? dev_name(entry->cdev->dev) : "none");
-- 
2.1.4




More information about the barebox mailing list