2009-12-21 Andreas Born <futur.andy@googlemail.com>
* kern/env.c (grub_env_context_open): Mark exported variable for reexport.
This commit is contained in:
parent
0175d51f49
commit
05d2154711
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2009-12-21 Andreas Born <futur.andy@googlemail.com>
|
||||||
|
|
||||||
|
* kern/env.c (grub_env_context_open): Mark exported variable for
|
||||||
|
reexport.
|
||||||
|
|
||||||
2009-12-21 Andreas Born <futur.andy@googlemail.com>
|
2009-12-21 Andreas Born <futur.andy@googlemail.com>
|
||||||
|
|
||||||
* kern/env.c (grub_env_export): Create nonexistent variables before
|
* kern/env.c (grub_env_export): Create nonexistent variables before
|
||||||
|
|
|
@ -101,6 +101,7 @@ grub_env_context_open (int export)
|
||||||
grub_env_context_close ();
|
grub_env_context_close ();
|
||||||
return grub_errno;
|
return grub_errno;
|
||||||
}
|
}
|
||||||
|
grub_env_export (var->name);
|
||||||
grub_register_variable_hook (var->name, var->read_hook, var->write_hook);
|
grub_register_variable_hook (var->name, var->read_hook, var->write_hook);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue