]> gitweb.fluxo.info Git - bootless.git/commitdiff
Checks for memtest differences
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 13 Jul 2016 19:55:41 +0000 (16:55 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 13 Jul 2016 19:55:41 +0000 (16:55 -0300)
files/bootless
todo.mdwn

index 320b2f7b5367c04319626a9e6bba6f8349433f13..900eb323bb1d1598f4e3d8fe19ae95210ad39665 100755 (executable)
@@ -193,6 +193,11 @@ function bootless_image {
   echo "Checking for changes in upstream grub.cfg, in which case you might want to update it..."
   diff -Naur $APP_BASE/templates/grub.cfg $BOOTLESS_DIR/grub/grub.cfg
 
+  if [ -f "/boot/memtest86+.bin" ]; then
+    echo "Checking for changes with system's /boot/memtest86+.bin..."
+    diff -q /boot/memtest86+.bin $BOOTLESS_DIR/default/memtest/memtest86+.bin
+  fi
+
   echo "Done."
 }
 
index 075437fe4f1ab1ca8c36b022af07b843664667dd..83161b44be2c9417489bd155b14020c7332973fd 100644 (file)
--- a/todo.mdwn
+++ b/todo.mdwn
@@ -1,5 +1,4 @@
 [[!meta title="TODO"]]
 
 - Merge Debian Jessie FDE case into `bootfde`.
-- Check differences on default images like memtest.
 - Implement per image/device signature checking.