[arch-commits] Commit in syslinux/trunk (syslinux-install_update)

Anatol Pomozov anatolik at archlinux.org
Sat Apr 22 16:47:00 UTC 2017


    Date: Saturday, April 22, 2017 @ 16:47:00
  Author: anatolik
Revision: 293941

FS#53436 check if ext4 formatted with 64bit option. If yes bail out as syslinux does not support this feature.

Modified:
  syslinux/trunk/syslinux-install_update

-------------------------+
 syslinux-install_update |    5 +++++
 1 file changed, 5 insertions(+)

Modified: syslinux-install_update
===================================================================
--- syslinux-install_update	2017-04-22 16:45:09 UTC (rev 293940)
+++ syslinux-install_update	2017-04-22 16:47:00 UTC (rev 293941)
@@ -203,6 +203,11 @@
         echo "Could not find filesystem on / (root) or /boot."
         exit 1
     fi
+
+    if [[ $bootfs = ext4 && -n "$(tune2fs -l $bootpart | grep 64bit)" ]]; then
+        echo "64 bit option on EXT filesystem is not supported by Syslinux, see http://www.syslinux.org/wiki/index.php?title=Filesystem#ext";
+        exit 1
+fi
 }
 
 # We store the partition table type either gpt or mbr in var ptb



More information about the arch-commits mailing list