sysupdate: In the auto-enable service, don't enable all features
The auto-enable service should activate suggested components and features but enabled all features which includes the default components unsuggested features and any unsuggested features of the suggested components. This is unexpected behavior and we rather want this service to be limited to suggested features. Switch the service flag to suggested and make the wording more explicit in the man page. Also fix the wrong statement that it operates on enabled components, it operates on all components, also explicitly disabled ones.
This commit is contained in:
@@ -89,7 +89,7 @@
|
||||
separately.</para>
|
||||
|
||||
<para>The <filename>systemd-sysupdate-auto-enable.service</filename> system service automatically enables all
|
||||
suggested components and all features of the enabled components before each update. It is ordered before and
|
||||
suggested components and all suggested features of all components before each update. It is ordered before and
|
||||
pulled in by <filename>systemd-sysupdate-update.service</filename>, and is not enabled by default. Enable it
|
||||
if newly suggested components and features shall be picked up automatically as they become available, rather
|
||||
than requiring manual <command>enable-component</command>/<command>enable-feature</command> invocations.</para>
|
||||
|
||||
@@ -15,7 +15,7 @@ Before=systemd-sysupdate-update.service
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=systemd-sysupdate enable-component --component-suggested
|
||||
ExecStart=systemd-sysupdate enable-feature --component-all --feature-all
|
||||
ExecStart=systemd-sysupdate enable-feature --component-all --feature-suggested
|
||||
|
||||
[Install]
|
||||
WantedBy=systemd-sysupdate-update.service
|
||||
|
||||
Reference in New Issue
Block a user