vaseboot/grub-core
Michael Marineau eb28d32081 gpt: write backup GPT first, skip if inaccessible.
Writing the primary GPT before the backup may lead to a confusing
situation: booting a freshly updated system could consistently fail and
next boot will fall back to the old system if writing the primary works
but writing the backup fails. If the backup is written first and fails
the primary is left in the old state so the next boot will re-try and
possibly fail in the exact same way. Making that repeatable should make
it easier for users to identify the error.

Additionally if the firmware and OS disagree on the disk size, making
the backup inaccessible to GRUB, then just skip writing the backup.
When this happens the automatic call to `coreos-setgoodroot` after boot
will take care of repairing the backup.
2018-03-29 22:18:54 -04:00
..
boot Fix boot when there's no TPM 2018-03-29 22:18:53 -04:00
bus usbtrans: Fix memory coherence and use-after-free. 2016-02-27 13:40:52 +01:00
commands gpt: rename and update documentation for grub_gpt_update 2018-03-29 22:18:54 -04:00
disk biosdisk: add verbose debug logging 2018-03-29 22:18:53 -04:00
efiemu Add smbios command 2018-03-29 22:18:53 -04:00
font Document intentional fallthroughs. 2015-01-27 17:17:58 +01:00
fs btrfs: avoid "used uninitialized" error with GCC7 2017-04-04 19:22:32 +03:00
gdb i386, x86_64, ppc: fix switch fallthrough cases with GCC7 2017-04-04 19:23:55 +03:00
gettext * grub-core/gettext/gettext.c (main_context), (secondary_context): 2013-11-07 01:01:47 +01:00
gfxmenu gfxmenu: fix memory leak 2016-01-12 21:52:50 +03:00
gnulib i386, x86_64, ppc: fix switch fallthrough cases with GCC7 2017-04-04 19:23:55 +03:00
hello * grub-core/commands/gptsync.c: Fix typographic quoting. 2012-03-03 13:05:08 +01:00
hook * grub-core/hook/datehook.c (grub_read_hook_datetime): Small stylistic 2011-11-11 21:03:49 +01:00
io gzio: Optimize by removing division. 2015-02-26 22:10:09 +01:00
kern set cmddevice when cmdpath is set 2018-03-29 22:18:53 -04:00
lib gpt: write backup GPT first, skip if inaccessible. 2018-03-29 22:18:54 -04:00
loader Rework TPM measurements 2018-03-29 22:18:53 -04:00
mmap Translate UEFI persistent memory type 2015-12-15 10:25:34 +03:00
net net: add client arch and fix user class/terminator 2018-03-29 22:18:53 -04:00
normal charset: Trim away RLM and LRM. 2017-01-31 19:29:31 +01:00
osdep osdep/linux: handle autofs entries in /proc/self/mountinfo 2017-01-24 20:05:19 +03:00
partmap disk/ldm, partmap/msdos.c: fix spelling error 2015-08-22 21:22:41 +02:00
parttool * grub-core/net/http.c: Add TRANSLATORS comments. 2012-03-05 16:42:26 +01:00
script Rework TPM measurements 2018-03-29 22:18:53 -04:00
term gfxterm: Fix clearing of cursor. 2017-01-31 18:49:37 +01:00
tests Increase version to 2.02. 2017-04-25 16:23:16 +02:00
video i386, x86_64, ppc: fix switch fallthrough cases with GCC7 2017-04-04 19:23:55 +03:00
Makefile.am Core TPM support 2018-03-29 22:18:53 -04:00
Makefile.core.def grub-core: enable getenv for all efi targets 2018-03-29 22:18:53 -04:00
gdb_grub.in * grub-core/gdb_grub.in: Fix overflow and wrong field. 2013-10-14 03:40:20 +02:00
genemuinit.sh use MODULE_FILES for genemuinit* instead of MOD_FILES 2014-01-18 23:15:40 +04:00
genemuinitheader.sh use MODULE_FILES for genemuinit* instead of MOD_FILES 2014-01-18 23:15:40 +04:00
genmod.sh.in grub-module-verifier: Ignore all_video emptiness on xen. 2017-01-30 00:13:41 +00:00
genmoddep.awk genmoddep.awk: Add a test that we have no circular dependencies 2015-11-08 20:00:27 +01:00
gensyminfo.sh.in * grub-core/gensyminfo.sh.in: Handle the case of portable output 2013-11-11 23:05:53 +01:00
gensymlist.sh Make 'make check' work on emu. 2013-04-27 02:00:16 +02:00
gentrigtables.c * grub-core/gentrigtables.c: Make tables const. 2013-03-01 11:15:09 +01:00
gmodule.pl.in * grub-core/gmodule.pl.in: Accept newer binutils which output 2014-09-21 18:23:23 +02:00
gnulib-fix-gcc7-fallthrough.diff Add gnulib-fix-gcc7-fallthrough.diff 2017-04-04 19:37:47 +03:00
gnulib-fix-null-deref.diff Import new gnulib. 2013-04-11 21:12:46 +02:00
gnulib-fix-width.diff Import new gnulib. 2013-04-11 21:12:46 +02:00
gnulib-no-abort.diff Import new gnulib. 2013-04-11 21:12:46 +02:00
gnulib-no-gets.diff Import new gnulib. 2013-04-11 21:12:46 +02:00
modinfo.sh.in modinfo.sh.in: Add missing config variables. 2015-03-27 12:18:25 +01:00