Start Core Update 181 (with a kernel)

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2023-09-28 09:25:16 +00:00
parent 4322d0c727
commit db1ffe0f5f
54 changed files with 187 additions and 1 deletions

View File

@@ -0,0 +1,35 @@
boot/config.txt
boot/grub/grub.cfg
boot/grub/grubenv
boot/uEnv.txt
etc/alternatives
etc/collectd.custom
etc/default/grub
etc/ipsec.conf
etc/ipsec.secrets
etc/ipsec.user.conf
etc/ipsec.user.secrets
etc/localtime
etc/shadow
etc/snort/snort.conf
etc/ssl/openssl.cnf
etc/sudoers
etc/sysconfig/firewall.local
etc/sysconfig/rc.local
etc/udev/rules.d/30-persistent-network.rules
srv/web/ipfire/html/proxy.pac
var/ipfire/dma
var/ipfire/time
var/ipfire/firewall/locationblock
var/ipfire/fwhosts/customlocationgrp
var/ipfire/ovpn
var/ipfire/urlfilter/blacklist
var/ipfire/urlfilter/settings
var/lib/alternatives
var/lib/location/database.db
var/lib/location/ipset
var/log/cache
var/log/dhcpcd.log
var/log/messages
var/state/dhcp/dhcpd.leases
var/updatecache

View File

@@ -0,0 +1 @@
../../../../common/aarch64/binutils

View File

@@ -0,0 +1 @@
../../../../common/aarch64/boost

View File

@@ -0,0 +1 @@
../../../../common/aarch64/gcc

View File

@@ -0,0 +1 @@
../../../../common/aarch64/glibc

View File

@@ -0,0 +1 @@
../../../../common/aarch64/util-linux

View File

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

View File

@@ -0,0 +1,5 @@
etc/system-release
etc/issue
etc/os-release
srv/web/ipfire/cgi-bin/credits.cgi
var/ipfire/langs

View File

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

View File

@@ -0,0 +1,12 @@
etc/logrotate.conf
etc/rc.d/init.d/network
etc/rc.d/init.d/networking/any
etc/rc.d/init.d/networking/functions.network
etc/rc.d/init.d/networking/red
etc/rc.d/init.d/networking/red.up/99-pakfire-update
lib/udev/rules.d/61-extrahd.rules
opt/pakfire/lib/functions.pl
srv/web/ipfire/cgi-bin/extrahd.cgi
srv/web/ipfire/cgi-bin/index.cgi
var/ipfire/main/manualpages
var/ipfire/extrahd/bin/extrahd.pl

View File

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

View File

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

View File

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

View File

@@ -0,0 +1 @@
../../../common/iana-etc

View File

@@ -0,0 +1 @@
../../../common/json-c

View File

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

View File

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

View File

@@ -0,0 +1 @@
../../../common/libnl-3

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1 @@
../../../../common/riscv64/binutils

View File

@@ -0,0 +1 @@
../../../../common/riscv64/boost

View File

@@ -0,0 +1 @@
../../../../common/riscv64/gcc

View File

@@ -0,0 +1 @@
../../../../common/riscv64/glibc

View File

@@ -0,0 +1 @@
../../../../common/riscv64/util-linux

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1 @@
../../../common/wireless-regdb

View File

@@ -0,0 +1 @@
../../../../common/x86_64/binutils

View File

@@ -0,0 +1 @@
../../../../common/x86_64/boost

View File

@@ -0,0 +1 @@
../../../../common/x86_64/gcc

View File

@@ -0,0 +1 @@
../../../../common/x86_64/glibc

View File

@@ -0,0 +1 @@
../../../../common/x86_64/util-linux

View File

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

View File

@@ -0,0 +1,83 @@
#!/bin/bash
############################################################################
# #
# This file is part of the IPFire Firewall. #
# #
# IPFire is free software; you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation; either version 3 of the License, or #
# (at your option) any later version. #
# #
# IPFire is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with IPFire; if not, write to the Free Software #
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
# #
# Copyright (C) 2023 IPFire-Team <info@ipfire.org>. #
# #
############################################################################
#
. /opt/pakfire/lib/functions.sh
/usr/local/bin/backupctrl exclude >/dev/null 2>&1
core=180
# Remove old core updates from pakfire cache to save space...
for (( i=1; i<=$core; i++ )); do
rm -f /var/cache/pakfire/core-upgrade-*-$i.ipfire
done
# Create missing '/etc/monit.d'-directory (Bug #13246)
if [ -f /usr/bin/monit ]; then
mkdir -p /etc/monit.d
fi
# Stop services
# Extract files
extract_files
# Remove files
rm -rfv \
/usr/lib/libboost*.so.1.81.0
# update linker config
ldconfig
# Update Language cache
/usr/local/bin/update-lang-cache
# Filesytem cleanup
/usr/local/bin/filesystem-cleanup
# Start services
telinit u
/etc/rc.d/init.d/sshd restart
/etc/rc.d/init.d/vnstat restart
/etc/rc.d/init.d/unbound restart
if [ -f /var/ipfire/proxy/enable ]; then
/etc/init.d/squid restart
fi
/etc/rc.d/init.d/udev restart
/etc/rc.d/init.d/suricata restart
# This update needs a reboot...
#touch /var/run/need_reboot
# Finish
/etc/init.d/fireinfo start
sendprofile
# Update grub config to display new core version
if [ -e /boot/grub/grub.cfg ]; then
grub-mkconfig -o /boot/grub/grub.cfg
fi
sync
# Don't report the exitcode last command
exit 0