Commit 771c409
config: Convert 'protected_packages' to an append option
This change is necessary because the list of protected packages started
being distributed across configuration files within a drop-in directory.
This led to a situation where a subsequent configuration file containing
`protected_packages` would overwrite any earlier settings.
This issue was previously encountered and resolved in **libdnf5**
approximately two years ago by changing `protected_packages` to
an append option. The same proven solution is implemented here to ensure
correct merging and prevent unexpected overwrites of earlier
configurations.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=24004881 parent f92daf8 commit 771c409
2 files changed
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
514 | 514 | | |
515 | 515 | | |
516 | 516 | | |
| 517 | + | |
517 | 518 | | |
518 | 519 | | |
519 | | - | |
520 | | - | |
521 | | - | |
| 520 | + | |
| 521 | + | |
522 | 522 | | |
523 | 523 | | |
524 | 524 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
149 | 155 | | |
150 | 156 | | |
151 | 157 | | |
| |||
0 commit comments