Generic solution for the YaST needed packages (bsc#885496) #204
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This is a generic solution for checking the packages/patterns required by YaST itself. See the original bug report for the bootloader module.
Currently only the bootloader module checks for unselected packages, this is a generic solution for all YaST modules. (The bootloader specific part will be removed after merging this PR.)
Screenshots
The proposal contains an error message with list of missing packages or patterns if user deselects some needed items:
After clicking the
Install
button the installation is blocked, user must resolve the problem either by selecting the packages back or by adjusting the respective YaST configuration (e.g. do not install any bootloader and disable the firewall).