Loading nixos/doc/manual/development/what-happens-during-a-system-switch.chapter.md +4 −0 Original line number Diff line number Diff line Loading @@ -44,6 +44,10 @@ of actions is always the same: - Inspect what changed during these actions and print units that failed and that were newly started By default, some units are filtered from the outputs to make it less spammy. This can be disabled for development or testing by setting the environment variable `STC_DISPLAY_ALL_UNITS=1` Most of these actions are either self-explaining but some of them have to do with our units or the activation script. For this reason, these topics are explained in the next sections. Loading nixos/modules/system/activation/switch-to-configuration.pl +3 −1 Original line number Diff line number Diff line Loading @@ -599,9 +599,11 @@ while (my ($unit, $state) = each(%{$active_cur})) { $units_to_start{$unit} = 1; record_unit($start_list_file, $unit); # Don't spam the user with target units that always get started. if (($ENV{"STC_DISPLAY_ALL_UNITS"} // "") ne "1") { $units_to_filter{$unit} = 1; } } } # Stop targets that have X-StopOnReconfiguration set. # This is necessary to respect dependency orderings Loading Loading
nixos/doc/manual/development/what-happens-during-a-system-switch.chapter.md +4 −0 Original line number Diff line number Diff line Loading @@ -44,6 +44,10 @@ of actions is always the same: - Inspect what changed during these actions and print units that failed and that were newly started By default, some units are filtered from the outputs to make it less spammy. This can be disabled for development or testing by setting the environment variable `STC_DISPLAY_ALL_UNITS=1` Most of these actions are either self-explaining but some of them have to do with our units or the activation script. For this reason, these topics are explained in the next sections. Loading
nixos/modules/system/activation/switch-to-configuration.pl +3 −1 Original line number Diff line number Diff line Loading @@ -599,9 +599,11 @@ while (my ($unit, $state) = each(%{$active_cur})) { $units_to_start{$unit} = 1; record_unit($start_list_file, $unit); # Don't spam the user with target units that always get started. if (($ENV{"STC_DISPLAY_ALL_UNITS"} // "") ne "1") { $units_to_filter{$unit} = 1; } } } # Stop targets that have X-StopOnReconfiguration set. # This is necessary to respect dependency orderings Loading