Vinícius Ferrão
445257c500
fix(destiny): keep a node on boot when its destiny is advanced again
...
When a chain has run down to a single remaining step, nextdestiny replaces that
step with 'standby'. For a completed provision the remaining step is 'boot',
which setdestiny writes into chain.currchain once an install or netboot destiny
is applied, so the replacement discards the destiny that boots the node.
Some installers advance the destiny more than once. On the extra advance the
node silently moves from 'boot' to 'standby' and no longer has a destiny that
boots the system it just installed.
Keep 'boot' when it is the remaining step, and leave every other exhausted
chain falling to 'standby' as before, so a finished install still does not
reinstall the node on its next boot.
Co-authored-by: Jarrod Johnson <10814490+jjohnson42@users.noreply.github.com >
2026-08-06 23:30:25 -03:00
..
2017-12-31 23:59:59 +00:00
2018-03-06 16:13:02 +08:00
2026-05-03 12:11:33 -03:00
2026-05-02 16:57:46 -03:00
2017-12-31 23:59:59 +00:00
2026-07-14 19:11:28 -03:00
2026-07-23 21:15:20 -03:00
2017-09-07 15:50:11 -04:00
2020-05-15 14:57:17 -04:00
2017-12-31 23:59:59 +00:00
2019-03-27 13:46:14 +08:00
2021-05-05 17:23:03 -04:00
2026-05-03 12:11:33 -03:00
2026-07-17 20:36:51 -03:00
2026-07-23 17:44:30 -03:00
2026-07-14 19:11:28 -03:00
2026-08-06 23:30:25 -03:00
2026-07-31 22:29:58 -03:00
2017-12-31 23:59:59 +00:00
2026-07-23 19:31:52 -03:00
2017-12-31 23:59:59 +00:00
2026-05-05 17:09:37 -03:00
2023-01-18 11:00:59 -05:00
2017-07-21 16:19:24 +08:00
2018-10-26 15:13:56 +08:00
2018-01-23 03:20:42 -06:00
2018-03-27 17:11:25 +08:00
2026-07-25 17:28:27 -03:00
2026-07-15 00:29:26 -03:00
2024-05-07 16:19:25 +02:00
2024-05-07 16:19:25 +02:00
2024-05-07 16:19:25 +02:00
2026-07-16 01:41:38 -03:00
2026-07-27 11:11:52 -03:00
2019-10-28 14:33:54 -04:00
2017-12-31 23:59:59 +00:00
2026-07-01 06:00:02 -03:00
2021-11-09 12:00:35 -05:00
2024-05-07 16:19:25 +02:00
2017-12-31 23:59:59 +00:00
2026-04-26 16:19:32 -03:00
2026-07-26 03:14:50 -03:00
2017-12-31 23:59:59 +00:00
2026-07-24 13:07:37 -03:00
2026-03-27 11:14:47 -03:00
2026-07-25 21:41:07 -03:00
2017-12-31 23:59:59 +00:00
2021-05-07 16:39:54 -04:00
2023-01-18 11:00:59 -05:00
2020-01-07 14:00:05 -05:00
2026-07-22 19:49:41 -03:00
2017-12-31 23:59:59 +00:00
2026-05-02 16:57:46 -03:00
2020-02-02 14:40:24 -05:00
2018-09-11 09:22:08 +08:00
2018-10-09 13:49:15 +08:00
2019-11-21 11:06:26 -05:00
2026-05-08 02:18:40 -03:00
2019-01-15 17:33:59 +08:00
2018-08-21 15:18:12 -04:00
2017-03-21 12:01:42 -04:00
2019-10-18 12:00:26 -04:00
2017-12-31 23:59:59 +00:00
2017-12-31 23:59:59 +00:00
2024-04-13 12:36:08 +05:30
2026-02-26 13:54:56 -03:00
2026-03-27 11:14:47 -03:00
2017-12-31 23:59:59 +00:00
2026-07-17 23:46:14 -03:00
2017-12-31 23:59:59 +00:00
2018-08-17 11:01:55 +08:00
2018-08-21 14:23:56 +08:00
2020-05-06 17:03:47 -04:00
2018-04-27 11:28:08 +08:00
2026-07-22 19:21:08 -03:00
2017-12-31 23:59:59 +00:00
2017-12-14 05:03:34 -06:00
2018-07-06 04:46:25 -04:00
2022-08-15 10:16:22 -04:00
2018-03-09 13:39:33 +08:00
2017-12-31 23:59:59 +00:00
2017-09-25 16:33:23 +08:00
2017-12-31 23:59:59 +00:00
2018-08-21 15:18:12 -04:00
2026-06-20 18:48:14 -03:00
2017-12-31 23:59:59 +00:00
2026-07-28 11:03:39 -03:00
2017-12-31 23:59:59 +00:00
2018-08-21 15:18:12 -04:00
2017-12-31 23:59:59 +00:00
2017-12-31 23:59:59 +00:00
2018-03-01 15:20:25 +08:00
2017-12-31 23:59:59 +00:00