From 07f81a2b4eb9cfd00817656c5756664ae1a3a0f8 Mon Sep 17 00:00:00 2001 From: Valentin Vidic Date: Tue, 29 Oct 2013 13:19:10 +0100 Subject: [PATCH] Manual kernel upgrade. --- src/actions/main.queue | 1 + src/data.sh | 2 +- src/functions.sh | 8 ++++++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/actions/main.queue b/src/actions/main.queue index 21b2e58..fc49cf1 100644 --- a/src/actions/main.queue +++ b/src/actions/main.queue @@ -37,6 +37,7 @@ pkg dovecot-cn upgrade_dovecot pkg bind9-cn upgrade_bind pkg fail2ban-cn upgrade_fail2ban pkg mailman-cn upgrade_mailman +pkg kernel-2.6-cn upgrade_kernel true upgrade_postgresql true upgrade first # neki paketi moraju rucno true upgrade second # neke pakete zelimo ranije diff --git a/src/data.sh b/src/data.sh index a767f56..9c6c170 100644 --- a/src/data.sh +++ b/src/data.sh @@ -55,7 +55,7 @@ clamav-cn clamav-daemon dovecot-cn freeradius-aai freeradius isc-dhcp-client -kernel-2.6-cn kernel-cn +kernel-cn monit-cn munin-cn mysql-cn mysql-client mysql-server diff --git a/src/functions.sh b/src/functions.sh index ce1aef8..d9c9734 100644 --- a/src/functions.sh +++ b/src/functions.sh @@ -981,6 +981,14 @@ upgrade_mailman() { fi } +# manual upgrade of kernel due to new packet name +upgrade_kernel() { + if pkg kernel-2.6-cn; then + pkgrm kernel-2.6-cn + pkgadd kernel-cn + fi +} + get_variable () { local name=$1 file=$2 val -- 1.7.10.4