From 71f05dbb5f371c371bc52f98e490e042f2bde7e6 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Thu, 29 Mar 2018 12:14:26 +0200 Subject: [PATCH] Implementing remove_uek_packages() in bin/postinst --- bin/postinst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/bin/postinst b/bin/postinst index f606297..45480e7 100644 --- a/bin/postinst +++ b/bin/postinst @@ -494,6 +494,16 @@ install_openvm_tools() { } +#----------------------------------------------------------- +remove_uek_packages() { + + echo + log "Removing UEK packages ..." + + yum remove -y *-uek-* + +} + #----------------------------------------------------------- dist_upgrade() { @@ -607,6 +617,7 @@ main() { install_legato_networker install_ntp install_openvm_tools + remove_uek_packages dist_upgrade install_puppet -- 2.39.5