]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
core160: add ssh changes and stop/start ipsec at update
authorArne Fitzenreiter <arne_f@ipfire.org>
Fri, 10 Sep 2021 11:12:03 +0000 (11:12 +0000)
committerArne Fitzenreiter <arne_f@ipfire.org>
Fri, 10 Sep 2021 16:57:06 +0000 (16:57 +0000)
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
config/rootfiles/core/160/filelists/libssh [new symlink]
config/rootfiles/core/160/filelists/openssh [new symlink]
config/rootfiles/oldcore/151/update.sh

diff --git a/config/rootfiles/core/160/filelists/libssh b/config/rootfiles/core/160/filelists/libssh
new file mode 120000 (symlink)
index 0000000..ecbb670
--- /dev/null
@@ -0,0 +1 @@
+../../../common/libssh
\ No newline at end of file
diff --git a/config/rootfiles/core/160/filelists/openssh b/config/rootfiles/core/160/filelists/openssh
new file mode 120000 (symlink)
index 0000000..d8c77fd
--- /dev/null
@@ -0,0 +1 @@
+../../../common/openssh
\ No newline at end of file
index 5fb05488b589f0594c96c2ad6e5c67a1ac6d90a9..cec3066c1df423debebecab716f11305e534bdeb 100644 (file)
 # along with IPFire; if not, write to the Free Software                    #
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA #
 #                                                                          #
-# Copyright (C) 2020 IPFire-Team <info@ipfire.org>.                        #
+# Copyright (C) 2021 IPFire-Team <info@ipfire.org>.                        #
 #                                                                          #
 ############################################################################
 #
 . /opt/pakfire/lib/functions.sh
 /usr/local/bin/backupctrl exclude >/dev/null 2>&1
 
-core=151
+core=160
 
 # Remove old core updates from pakfire cache to save space...
 for (( i=1; i<=$core; i++ )); do
@@ -32,13 +32,13 @@ for (( i=1; i<=$core; i++ )); do
 done
 
 # Remove files
-rm -rfv \
-       /usr/lib/perl5/site_perl/5.30.0/Locale \
-       /usr/lib/perl5/site_perl/5.30.0/*/Net/DNS \
-       /usr/lib/perl5/site_perl/5.30.0/*/Net/DNS.pm
+rm -vf /lib/udev/rules.d/85-regulatory.rules
+rm -vf /sbin/crda
+rm -vf /sbin/regdbdump
+rm -vf /usr/lib/libreg.so
 
 # Stop services
-/etc/init.d/ipsec stop
+/etc/init.d/ipsec start
 
 # Extract files
 extract_files
@@ -46,6 +46,9 @@ extract_files
 # update linker config
 ldconfig
 
+# restart init (glibc update)
+telinit u
+
 # Update Language cache
 /usr/local/bin/update-lang-cache
 
@@ -60,10 +63,6 @@ ldconfig
 if grep -q "ENABLED=on" /var/ipfire/vpn/settings; then
        /etc/init.d/ipsec start
 fi
-/etc/init.d/collectd restart
-
-# Reload sysctl.conf
-sysctl -p
 
 # This update needs a reboot...
 #touch /var/run/need_reboot