« Previous | Next » 

Revision 4167825b

Parent 9a395a76
Child 6a4aa7c1

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


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences