me
/
guix
Archived
1
0
Fork 0
Commit Graph

1 Commits (a581caa00d2a902b2d8a3049f53cb2908761bb4e)

Author SHA1 Message Date
Ludovic Courtès 1b0b1651b1
gnu: mtools: 'mformat' initializes boot sector before writing it.
This is the last bit fixing <https://bugs.gnu.org/35283>.

Previously, 'mformat' (used by 'grub-mkrescue') would pass uninitialized
bytes to write(2), leading to non-deterministic FAT image contents.
This patch fixes that.

* gnu/packages/patches/mtools-mformat-uninitialized.patch: New file.
* gnu/packages/mtools.scm (mtools)[source]: Use it.
* gnu/local.mk (dist_patch_DATA): Add it.
2019-04-21 00:51:19 +02:00