]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
update.sh: Don't allow update if reiserfs used
authorAdolf Belka <adolf.belka@ipfire.org>
Thu, 15 Jan 2026 14:00:08 +0000 (15:00 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 15 Jan 2026 14:40:47 +0000 (14:40 +0000)
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/core/200/update.sh

index 40e07cc8d0db21d37cf92f8e584fbbf303db9565..b9a1e14f0eb44b6fb6b1d79ad48cda9da6b1ebf7 100644 (file)
@@ -71,6 +71,10 @@ if [ $BOOTSIZE -lt 100000 ]; then
     exit_with_error "ERROR cannot update. BOOT partition is to small." 3
 fi
 
+# Check if reiser filesystem is used
+if [ `/bin/grep -c "reiserfs" /proc/self/mounts` > 0 ]; then
+       exit_with_error "ERROR cannot update because reiserfs no longer supported by kernel." 4
+
 # Remove the old kernel
 rm -rvf \
        /boot/System.map-* \