diff options
| author | Joey Hess <joeyh@joeyh.name> | 2016-03-06 18:15:00 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2016-03-06 18:15:00 -0400 |
| commit | 4bbab3db9856b1c3fb4403add8b391179baf29c6 (patch) | |
| tree | b8b3ae409aef1bdad15b906703f3adae838f8c2a /src/Utility/FileMode.hs | |
| parent | 7899f23d991aa901c110b5bf276c0c7fb165799a (diff) | |
stop using --continue SimpleRun for spin
When spinning a remote host, we do want to rebuild propellor on it,
and this use of --continue that did a rebuild was different from all the
other uses of --continue that avoided a rebuild.
This fixes a build loop involving that special case. When --continue
SimpleRun ran a rebuild, it re-execed propellor with --continue SimpleRun,
and so would rebuild again, and re-exec again if the binary kept changing.
Backwards compatability should be ok; old versions of propellor,
when run with --serialized SimpleRun by the new version, do a buildFirst,
followed by another (redundant) buildFirst, and then run. The one redundant
buildFirst is not a problem in the upgrade scenario.
(Unfortunately, I can't rename SimpleRun to something nicer despite only
spin using it; backwards compatability does prevent that.)
Diffstat (limited to 'src/Utility/FileMode.hs')
0 files changed, 0 insertions, 0 deletions
