Commit 3a10a14
committed
kernel.spec: add '-e' option to %preun for kernel-core and kernel-uki-virt
JIRA: https://issues.redhat.com/browse/RHEL-107668
Because kernel-install from systemd (see PR 37897) now takes a new argument '--entry-type type1|type2'.
Only scriptlet %preun section needs to add.
This is useful both kernel-core and kernel-uki-virt are installed for the same kernel version
In this context, 'type1' refers to core, and 'type2' refers to uki.
Resolve: RHEL-104228
Refer to systemd/systemd#37897
Signed-off-by: Xuemin Li <xuli@redhat.com>
(cherry picked from commit bf6016e7a04a18da5b1886e07ab112c58619dc7d)
Signed-off-by: Xuemin Li <xuli@redhat.com>1 parent 052851f commit 3a10a14
1 file changed
+14
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3287 | 3287 | | |
3288 | 3288 | | |
3289 | 3289 | | |
3290 | | - | |
| 3290 | + | |
| 3291 | + | |
| 3292 | + | |
3291 | 3293 | | |
3292 | | - | |
| 3294 | + | |
3293 | 3295 | | |
3294 | | - | |
| 3296 | + | |
| 3297 | + | |
| 3298 | + | |
| 3299 | + | |
| 3300 | + | |
| 3301 | + | |
3295 | 3302 | | |
3296 | 3303 | | |
3297 | 3304 | | |
| |||
3300 | 3307 | | |
3301 | 3308 | | |
3302 | 3309 | | |
3303 | | - | |
| 3310 | + | |
3304 | 3311 | | |
3305 | 3312 | | |
3306 | | - | |
| 3313 | + | |
3307 | 3314 | | |
3308 | 3315 | | |
3309 | 3316 | | |
| |||
3349 | 3356 | | |
3350 | 3357 | | |
3351 | 3358 | | |
3352 | | - | |
| 3359 | + | |
3353 | 3360 | | |
3354 | | - | |
| 3361 | + | |
3355 | 3362 | | |
3356 | 3363 | | |
3357 | 3364 | | |
| |||
0 commit comments