Merge "Make sure, the realtime element removes the default kernel"
This commit is contained in:
commit
fd70072385
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -eux
|
||||
|
||||
# Uninstalling the default kernel in chroot might fail, if it is the same
|
||||
# kernel that runs in the host. Therefore we are forcing it here by
|
||||
# disabling the protected_packages config.
|
||||
# The machine suffix is required to not accidentally remove the
|
||||
# kernel-rt again in case the default kernel is not installed.
|
||||
yum -v -y --setopt=protected_packages= erase kernel.$(uname -m)
|
|
@ -1,5 +1,3 @@
|
|||
kernel-rt:
|
||||
kernel-rt-kvm:
|
||||
tuned-profiles-nfv-host:
|
||||
kernel:
|
||||
uninstall: True
|
||||
|
|
Loading…
Reference in New Issue