Start Core Update 94

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2015-08-12 13:59:00 +01:00
parent 9b1643fc3f
commit 7383bf2b1b
16 changed files with 82 additions and 1 deletions

View File

@@ -1 +0,0 @@
../../../common/bind

View File

@@ -1 +0,0 @@
../../../common/daq

View File

@@ -1 +0,0 @@
../../../common/ddns

View File

@@ -1 +0,0 @@
../../../common/dnsmasq

View File

@@ -1,11 +0,0 @@
etc/system-release
etc/issue
opt/pakfire/pakfire
opt/pakfire/lib/functions.pl
srv/web/ipfire/html/themes/darkdos/include/functions.pl
srv/web/ipfire/html/themes/ipfire/include/css/style.css
srv/web/ipfire/html/themes/ipfire/include/functions.pl
srv/web/ipfire/html/themes/ipfire-legacy/include/functions.pl
srv/web/ipfire/html/themes/maniac/include/functions.pl
var/ipfire/backup/include
var/ipfire/langs

View File

@@ -1 +0,0 @@
../../../common/libpcap

View File

@@ -1 +0,0 @@
../../../common/pcre

View File

@@ -1 +0,0 @@
../../../common/squid

View File

@@ -0,0 +1,3 @@
etc/system-release
etc/issue
var/ipfire/langs

View File

@@ -25,27 +25,21 @@
/usr/local/bin/backupctrl exclude >/dev/null 2>&1
# Remove old core updates from pakfire cache to save space...
core=93
core=94
for (( i=1; i<=$core; i++ ))
do
rm -f /var/cache/pakfire/core-upgrade-*-$i.ipfire
done
# Stop services
/etc/init.d/squid stop
# Extract files
extract_files
# Remove libevent2 addon meta and rootfile. libevent2 is now in core.
rm -f /opt/pakfire/db/*/meta-libevent2
rm -f /opt/pakfire/db/rootfiles/libevent2
# Update Language cache
/usr/local/bin/update-lang-cache
# Start services
/etc/init.d/squid start
# This update need a reboot...
#touch /var/run/need_reboot
@@ -55,7 +49,7 @@ rm -f /opt/pakfire/db/rootfiles/libevent2
sendprofile
# Update grub config to display new core version
if [ -e /boot/grub/grub.cfg ]; then
grub-mkconfig > /boot/grub/grub.cfg
grub-mkconfig -o /boot/grub/grub.cfg
fi
sync