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.
22 lines
757 B
Desktop File
22 lines
757 B
Desktop File
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
#
|
|
# This file is part of systemd.
|
|
#
|
|
# systemd is free software; you can redistribute it and/or modify it
|
|
# under the terms of the GNU Lesser General Public License as published by
|
|
# the Free Software Foundation; either version 2.1 of the License, or
|
|
# (at your option) any later version.
|
|
|
|
[Unit]
|
|
Description=Automatically Enable All Suggested Components & Features for System Updates
|
|
Documentation=man:systemd-sysupdate-auto-enable.service(8)
|
|
Before=systemd-sysupdate-update.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=systemd-sysupdate enable-component --component-suggested
|
|
ExecStart=systemd-sysupdate enable-feature --component-all --feature-suggested
|
|
|
|
[Install]
|
|
WantedBy=systemd-sysupdate-update.service
|