mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
Start Core Update 94
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -1 +0,0 @@
|
||||
../../../common/bind
|
||||
@@ -1 +0,0 @@
|
||||
../../../common/daq
|
||||
@@ -1 +0,0 @@
|
||||
../../../common/ddns
|
||||
@@ -1 +0,0 @@
|
||||
../../../common/dnsmasq
|
||||
@@ -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
|
||||
@@ -1 +0,0 @@
|
||||
../../../common/libpcap
|
||||
@@ -1 +0,0 @@
|
||||
../../../common/pcre
|
||||
@@ -1 +0,0 @@
|
||||
../../../common/squid
|
||||
3
config/rootfiles/core/94/filelists/files
Normal file
3
config/rootfiles/core/94/filelists/files
Normal file
@@ -0,0 +1,3 @@
|
||||
etc/system-release
|
||||
etc/issue
|
||||
var/ipfire/langs
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user