grub/grub-core/lib
Michael Marineau 44f54cbf43 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.
2016-09-23 12:25:53 -07:00
..
arc sgi support 2011-05-13 16:36:05 +02:00
arm * grub-core/kern/arm/cache.S: Don't switch back to ARM mode when 2013-11-16 17:37:06 +01:00
arm64 arm64/setjmp: Add missing license macro 2015-06-01 17:02:04 +01:00
efi ARM 64 port by Leif Lindholm 2013-11-16 20:52:55 +01:00
emu Add missing emu/halt.c 2010-08-30 00:54:15 +02:00
i386 i386/relocator: Remove unused extern grub_relocator64_rip_addr 2015-05-07 18:00:47 +02:00
ia64 * grub-core/lib/ia64/longjmp.S: Fix the name of longjmp function. 2013-03-02 15:31:17 +01:00
ieee1275 Fix pseries test. 2013-04-27 14:11:12 +02:00
libgcrypt Make rijndael.c respect aliasing rules. 2013-12-24 16:57:28 +01:00
libgcrypt_wrap Import libgcrypt 1.5.3. 2013-11-07 06:35:50 +01:00
minilzo Import minilzo library for LZO decompression support. 2011-08-14 11:39:31 +02:00
mips mips: Make setjmp code N32-compliant. 2015-10-11 13:20:26 +02:00
posix_wrap Remove libgcc dependency. 2015-03-03 20:50:37 +01:00
powerpc * grub-core/lib/powerpc/setjmp.S (grub_setjmp): Save r31. 2013-11-18 02:35:32 +01:00
sparc64 * grub-core/lib/sparc64/setjmp.S: Force spilling of current window. 2013-11-18 10:01:36 +01:00
uboot Add missing includes of loader.h. 2013-11-13 00:43:03 +01:00
x86_64 * grub-core/lib/x86_64/xen/relocator.S: Fix hypercall ABI violation. 2013-12-17 13:19:58 +01:00
xen Add new ports: i386-xen and x86_64-xen. This allows running GRUB in 2013-11-09 21:29:11 +01:00
xzembed * grub-core/lib/xzembed/xz_dec_stream.c: Remove variable length arrays. 2013-11-12 01:26:56 +01:00
adler32.c * grub-core/lib/adler32.c: Recode due to license unclearness. 2012-04-07 19:58:39 +02:00
arg.c * grub-core/lib/arg.c: Don't discard const attribute. 2013-12-21 13:28:52 +01:00
backtrace.c * grub-core/disk/ahci.c: Add needed explicit cast. 2013-08-21 21:02:14 +02:00
cmdline.c Rework TPM measurements 2016-03-23 17:03:43 -07:00
cmos_datetime.c CMOS support on sparc. 2011-07-05 20:24:20 +02:00
crc.c Remove several trivially-unnecessary uses of nested functions. 2012-12-31 17:31:38 +00:00
crc64.c Remove several trivially-unnecessary uses of nested functions. 2012-12-31 17:31:38 +00:00
crypto.c Fix security issue when reading username and password 2015-12-16 07:57:18 +03:00
disk.c * grub-core/lib/disk.c: Fix potential overflow. 2013-12-21 13:32:39 +01:00
division.c core: avoid NULL derefrence in grub_divmod64s 2015-04-06 19:30:51 +03:00
envblk.c * grub-core/commands/loadenv.c: Support skipping signature check 2013-09-27 02:08:32 +02:00
fake_module.c Add new all_video module. 2012-02-26 18:09:07 +01:00
fdt.c fdt.mod: Move license tag to the right file. 2015-11-09 16:15:30 +01:00
getline.c Implement syslinux parser. 2013-12-18 05:28:05 +01:00
gpt.c gpt: write backup GPT first, skip if inaccessible. 2016-09-23 12:25:53 -07:00
hexdump.c automake commit without merge history 2010-05-06 11:34:04 +05:30
legacy_parse.c Document intentional fallthroughs. 2015-01-27 17:17:58 +01:00
LzFind.c * grub-core/lib/LzFind.c (MatchFinder_GetIndexByte): Rename index to 2012-02-10 12:21:28 +01:00
LzmaDec.c * include/grub/lib/LzmaDec.h: Fix to include LzmaTypes.h and 2013-11-10 20:37:01 +01:00
LzmaEnc.c * conf/Makefile.common (CFLAGS_GNULIB): Add 2012-02-24 12:30:32 +01:00
pbkdf2.c grub-core/lib/pbkdf2.c (grub_crypto_pbkdf2): Check that hash len is not 0. 2015-01-21 17:42:12 +01:00
priority_queue.c * tests/priority_queue_unit_test.cc: New test. 2013-05-07 11:30:48 +02:00
progress.c progress: avoid NULL dereference for net files 2015-10-10 11:44:14 +03:00
reed_solomon.c reed_solomon: fix memory leak 2015-06-20 23:38:18 +03:00
relocator.c Replace few instances of memcmp/memcpy in the code that should be grub_memcmp/grub_memcpy. 2014-04-04 07:58:42 +02:00
setjmp.S ARM 64 port by Leif Lindholm 2013-11-16 20:52:55 +01:00
syslinux_parse.c syslinux_parse: assorted issues found by Coverity 2015-06-19 18:38:25 +03:00