]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
Start Core Update 170
authorPeter Müller <peter.mueller@ipfire.org>
Sat, 25 Jun 2022 11:07:09 +0000 (11:07 +0000)
committerPeter Müller <peter.mueller@ipfire.org>
Sat, 25 Jun 2022 11:07:09 +0000 (11:07 +0000)
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
60 files changed:
config/rootfiles/core/170/core-files [moved from config/rootfiles/core/169/core-files with 100% similarity]
config/rootfiles/core/170/exclude [moved from config/rootfiles/core/169/exclude with 100% similarity]
config/rootfiles/core/170/filelists/core-files [moved from config/rootfiles/core/169/filelists/core-files with 100% similarity]
config/rootfiles/core/170/filelists/files [new file with mode: 0644]
config/rootfiles/core/170/update.sh [new file with mode: 0644]
config/rootfiles/oldcore/169/core-files [new file with mode: 0644]
config/rootfiles/oldcore/169/exclude [new file with mode: 0644]
config/rootfiles/oldcore/169/filelists/aarch64/binutils [moved from config/rootfiles/core/169/filelists/aarch64/binutils with 100% similarity]
config/rootfiles/oldcore/169/filelists/aarch64/gcc [moved from config/rootfiles/core/169/filelists/aarch64/gcc with 100% similarity]
config/rootfiles/oldcore/169/filelists/aarch64/glibc [moved from config/rootfiles/core/169/filelists/aarch64/glibc with 100% similarity]
config/rootfiles/oldcore/169/filelists/aarch64/linux [moved from config/rootfiles/core/169/filelists/aarch64/linux with 100% similarity]
config/rootfiles/oldcore/169/filelists/aarch64/u-boot [moved from config/rootfiles/core/169/filelists/aarch64/u-boot with 100% similarity]
config/rootfiles/oldcore/169/filelists/apache2 [moved from config/rootfiles/core/169/filelists/apache2 with 100% similarity]
config/rootfiles/oldcore/169/filelists/armv6l/binutils [moved from config/rootfiles/core/169/filelists/armv6l/binutils with 100% similarity]
config/rootfiles/oldcore/169/filelists/armv6l/gcc [moved from config/rootfiles/core/169/filelists/armv6l/gcc with 100% similarity]
config/rootfiles/oldcore/169/filelists/armv6l/glibc [moved from config/rootfiles/core/169/filelists/armv6l/glibc with 100% similarity]
config/rootfiles/oldcore/169/filelists/armv6l/linux [moved from config/rootfiles/core/169/filelists/armv6l/linux with 100% similarity]
config/rootfiles/oldcore/169/filelists/armv6l/u-boot [moved from config/rootfiles/core/169/filelists/armv6l/u-boot with 100% similarity]
config/rootfiles/oldcore/169/filelists/bind [moved from config/rootfiles/core/169/filelists/bind with 100% similarity]
config/rootfiles/oldcore/169/filelists/core-files [new symlink]
config/rootfiles/oldcore/169/filelists/curl [moved from config/rootfiles/core/169/filelists/curl with 100% similarity]
config/rootfiles/oldcore/169/filelists/files [moved from config/rootfiles/core/169/filelists/files with 100% similarity]
config/rootfiles/oldcore/169/filelists/fuse [moved from config/rootfiles/core/169/filelists/fuse with 100% similarity]
config/rootfiles/oldcore/169/filelists/iptables [moved from config/rootfiles/core/169/filelists/iptables with 100% similarity]
config/rootfiles/oldcore/169/filelists/keyutils [moved from config/rootfiles/core/169/filelists/keyutils with 100% similarity]
config/rootfiles/oldcore/169/filelists/krb5 [moved from config/rootfiles/core/169/filelists/krb5 with 100% similarity]
config/rootfiles/oldcore/169/filelists/libnetfilter_cthelper [moved from config/rootfiles/core/169/filelists/libnetfilter_cthelper with 100% similarity]
config/rootfiles/oldcore/169/filelists/libnetfilter_cttimeout [moved from config/rootfiles/core/169/filelists/libnetfilter_cttimeout with 100% similarity]
config/rootfiles/oldcore/169/filelists/libtiff [moved from config/rootfiles/core/169/filelists/libtiff with 100% similarity]
config/rootfiles/oldcore/169/filelists/libxml2 [moved from config/rootfiles/core/169/filelists/libxml2 with 100% similarity]
config/rootfiles/oldcore/169/filelists/libxslt [moved from config/rootfiles/core/169/filelists/libxslt with 100% similarity]
config/rootfiles/oldcore/169/filelists/libyang [moved from config/rootfiles/core/169/filelists/libyang with 100% similarity]
config/rootfiles/oldcore/169/filelists/lmdb [moved from config/rootfiles/core/169/filelists/lmdb with 100% similarity]
config/rootfiles/oldcore/169/filelists/logrotate [moved from config/rootfiles/core/169/filelists/logrotate with 100% similarity]
config/rootfiles/oldcore/169/filelists/lzip [moved from config/rootfiles/core/169/filelists/lzip with 100% similarity]
config/rootfiles/oldcore/169/filelists/misc-progs [moved from config/rootfiles/core/169/filelists/misc-progs with 100% similarity]
config/rootfiles/oldcore/169/filelists/oath-toolkit [moved from config/rootfiles/core/169/filelists/oath-toolkit with 100% similarity]
config/rootfiles/oldcore/169/filelists/openssl [moved from config/rootfiles/core/169/filelists/openssl with 100% similarity]
config/rootfiles/oldcore/169/filelists/openvpn [moved from config/rootfiles/core/169/filelists/openvpn with 100% similarity]
config/rootfiles/oldcore/169/filelists/perl-File-Remove [moved from config/rootfiles/core/169/filelists/perl-File-Remove with 100% similarity]
config/rootfiles/oldcore/169/filelists/perl-Imager [moved from config/rootfiles/core/169/filelists/perl-Imager with 100% similarity]
config/rootfiles/oldcore/169/filelists/perl-Imager-QRCode [moved from config/rootfiles/core/169/filelists/perl-Imager-QRCode with 100% similarity]
config/rootfiles/oldcore/169/filelists/perl-MIME-Base32 [moved from config/rootfiles/core/169/filelists/perl-MIME-Base32 with 100% similarity]
config/rootfiles/oldcore/169/filelists/perl-Module-Build [moved from config/rootfiles/core/169/filelists/perl-Module-Build with 100% similarity]
config/rootfiles/oldcore/169/filelists/perl-Module-Install [moved from config/rootfiles/core/169/filelists/perl-Module-Install with 100% similarity]
config/rootfiles/oldcore/169/filelists/perl-Module-ScanDeps [moved from config/rootfiles/core/169/filelists/perl-Module-ScanDeps with 100% similarity]
config/rootfiles/oldcore/169/filelists/perl-URI-Encode [moved from config/rootfiles/core/169/filelists/perl-URI-Encode with 100% similarity]
config/rootfiles/oldcore/169/filelists/perl-YAML-Tiny [moved from config/rootfiles/core/169/filelists/perl-YAML-Tiny with 100% similarity]
config/rootfiles/oldcore/169/filelists/poppler [moved from config/rootfiles/core/169/filelists/poppler with 100% similarity]
config/rootfiles/oldcore/169/filelists/qrencode [moved from config/rootfiles/core/169/filelists/qrencode with 100% similarity]
config/rootfiles/oldcore/169/filelists/sqlite [moved from config/rootfiles/core/169/filelists/sqlite with 100% similarity]
config/rootfiles/oldcore/169/filelists/squid [moved from config/rootfiles/core/169/filelists/squid with 100% similarity]
config/rootfiles/oldcore/169/filelists/tzdata [moved from config/rootfiles/core/169/filelists/tzdata with 100% similarity]
config/rootfiles/oldcore/169/filelists/unbound [moved from config/rootfiles/core/169/filelists/unbound with 100% similarity]
config/rootfiles/oldcore/169/filelists/x86_64/binutils [moved from config/rootfiles/core/169/filelists/x86_64/binutils with 100% similarity]
config/rootfiles/oldcore/169/filelists/x86_64/gcc [moved from config/rootfiles/core/169/filelists/x86_64/gcc with 100% similarity]
config/rootfiles/oldcore/169/filelists/x86_64/glibc [moved from config/rootfiles/core/169/filelists/x86_64/glibc with 100% similarity]
config/rootfiles/oldcore/169/filelists/x86_64/linux [moved from config/rootfiles/core/169/filelists/x86_64/linux with 100% similarity]
config/rootfiles/oldcore/169/filelists/xfsprogs [moved from config/rootfiles/core/169/filelists/xfsprogs with 100% similarity]
config/rootfiles/oldcore/169/update.sh [moved from config/rootfiles/core/169/update.sh with 100% similarity]

diff --git a/config/rootfiles/core/170/filelists/files b/config/rootfiles/core/170/filelists/files
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/config/rootfiles/core/170/update.sh b/config/rootfiles/core/170/update.sh
new file mode 100644 (file)
index 0000000..8edb5ff
--- /dev/null
@@ -0,0 +1,67 @@
+#!/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) 2022 IPFire-Team <info@ipfire.org>.                        #
+#                                                                          #
+############################################################################
+#
+. /opt/pakfire/lib/functions.sh
+/usr/local/bin/backupctrl exclude >/dev/null 2>&1
+
+core=170
+
+# 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
+
+# Stop services
+
+# Remove files
+
+# Extract files
+extract_files
+
+# update linker config
+ldconfig
+
+# Update Language cache
+/usr/local/bin/update-lang-cache
+
+# Filesytem cleanup
+/usr/local/bin/filesystem-cleanup
+
+# Start services
+
+# 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
diff --git a/config/rootfiles/oldcore/169/core-files b/config/rootfiles/oldcore/169/core-files
new file mode 100644 (file)
index 0000000..0dec37e
--- /dev/null
@@ -0,0 +1,5 @@
+etc/system-release
+etc/issue
+etc/os-release
+srv/web/ipfire/cgi-bin/credits.cgi
+var/ipfire/langs
diff --git a/config/rootfiles/oldcore/169/exclude b/config/rootfiles/oldcore/169/exclude
new file mode 100644 (file)
index 0000000..b22e5e9
--- /dev/null
@@ -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
+usr/share/xt_geoip
+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/log/cache
+var/log/dhcpcd.log
+var/log/messages
+var/state/dhcp/dhcpd.leases
+var/updatecache
diff --git a/config/rootfiles/oldcore/169/filelists/core-files b/config/rootfiles/oldcore/169/filelists/core-files
new file mode 120000 (symlink)
index 0000000..709d6c1
--- /dev/null
@@ -0,0 +1 @@
+../core-files
\ No newline at end of file