index.cgi: Add warning about reiserfs deprecation and removal if reiserfs used

- Reiserfs was stopped in IPFire in Core Update 167. It has been announced that reiserfs
   will be removed from the kernel in 2025.
- This patch gives a warning about this deprecation and removal if reiserfs is used. The
   warning also requests that the user does a re-installation using either ext4 or xfs
   filesystems.
- Tested out on a vm installation with reiserfs, ext4 and xfs. Messgae shown on system
   with reiserfs filesystem but nopt on the other two.
- Warning message added into the English language file and ./make.sh lang run.

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Adolf Belka
2023-08-20 16:11:02 +02:00
committed by Michael Tremer
parent 5cfccb2c8c
commit 9149276b65
12 changed files with 44 additions and 1 deletions

View File

@@ -2,7 +2,7 @@
###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2014 IPFire Team <info@ipfire.org> #
# Copyright (C) 2007-2023 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
@@ -615,6 +615,13 @@ if ( -e "/var/run/need_reboot" ) {
print "</div>";
}
if ( `/bin/grep -c "reiserfs" /proc/self/mounts` > 0 ) {
print "<div style='text-align:center; color:blue;'>";
print "<br/><br/>$Lang::tr{'reiserfs warning1'}";
print "<br/>$Lang::tr{'reiserfs warning2'}";
print "</div>";
}
&Header::closebigbox();
&Header::closepage();