Commit f563df5e authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm full-upgrade: allow skip kernel update (via eepm.conf)

parent bdfe02b1
...@@ -47,6 +47,9 @@ epm_full_upgrade() ...@@ -47,6 +47,9 @@ epm_full_upgrade()
"--no-snap") # HELPCMD: skip snap update during full upgrade "--no-snap") # HELPCMD: skip snap update during full upgrade
full_upgrade_no_snap=1 full_upgrade_no_snap=1
;; ;;
"--no-kernel-update") # HELPCMD: skip kernel update during full upgrade
full_upgrade_no_kernel_update=1
;;
esac esac
shift shift
done done
...@@ -56,8 +59,10 @@ epm_full_upgrade() ...@@ -56,8 +59,10 @@ epm_full_upgrade()
[ -n "$quiet" ] || echo [ -n "$quiet" ] || echo
docmd epm upgrade || fatal "upgrading of the system is failed." docmd epm upgrade || fatal "upgrading of the system is failed."
[ -n "$quiet" ] || echo if [ -z "$full_upgrade_no_kernel_update" ] ; then
docmd epm update-kernel || fatal "updating of the kernel is failed." [ -n "$quiet" ] || echo
docmd epm update-kernel || fatal "updating of the kernel is failed."
fi
# disable epm play --update for non ALT Systems # disable epm play --update for non ALT Systems
[ "$BASEDISTRNAME" = "alt" ] || full_upgrade_no_epm_play=1 [ "$BASEDISTRNAME" = "alt" ] || full_upgrade_no_epm_play=1
......
...@@ -26,3 +26,4 @@ ...@@ -26,3 +26,4 @@
#full_upgrade_no_epm_play=1 #full_upgrade_no_epm_play=1
#full_upgrade_no_flatpack=1 #full_upgrade_no_flatpack=1
#full_upgrade_no_snap=1 #full_upgrade_no_snap=1
#full_upgrade_no_kernel_update=1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment