« Previous | Next » 

Revision 4167825b

ID4167825be8d425ffc1a5738cd9ba61cb50c47be9

Added by Iustin Pop over 16 years ago

Split the hooks env building in two parts

This patch moves some of the environment processing from _BuildEnv to a
new _RunWrapper command which does the stringification and adds the
sstore variables.

The reasoning is that the sstore can be fresher than before the
execution (e.g. in case of cluster init).

In order to support thise, we also need to modify cmdlib.LUInitCluster:
- memorize the sstore and cfgw newly created in the Exec function
- no need to build the custom environment in the BuildHooks

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences