guix-devel/gnu/system
Ludovic Courtès 6c5790a2fa
uuid: 'fat-uuid->string' preserves leading zeros.
Fixes <https://bugs.gnu.org/35582>.
Reported by sirgazil <sirgazil@zoho.com>.

Previously, leading zeros would be removed, leading to an "invalid"
UUID:

  (uuid->string (uuid "00CA-050E" 'fat32))
  ⇒ "CA-50E"
  (string->uuid "CA-50E" 'fat32)
  ⇒ #f

* gnu/system/uuid.scm (fat-uuid->string): Pad digits with zeros.
* tests/uuid.scm ("uuid, FAT32, leading zeros preserved"): New test.
2019-05-07 12:18:44 +02:00
..
examples vm-image: Add 'label' field. 2019-05-01 09:33:54 +02:00
accounts.scm accounts: Add default value for the 'home-directory' field of <user-account>. 2019-03-25 23:37:06 +01:00
file-systems.scm install: Use (guix store database) instead of 'guix-register'. 2018-06-14 11:16:59 +02:00
install.scm install: Add node name in Castellano. 2019-04-25 00:45:34 +02:00
keyboard.scm Add (gnu system keyboard). 2019-03-24 23:06:11 +01:00
linux-container.scm linux-container: Remove '%containerized-shepherd-service' hack. 2019-04-23 16:38:12 +02:00
linux-initrd.scm system: Initialize console keyboard layout in the initrd. 2019-03-24 23:06:12 +01:00
locale.scm system: Put locales where libc will find them. 2018-01-24 11:18:49 -05:00
mapped-devices.scm linux-modules: Factorize 'missing-modules'. 2019-03-13 23:12:43 +01:00
nss.scm nss: Remove '%compat' from the defaults. 2018-03-27 23:26:15 +02:00
pam.scm services: Move 'session-environment-service-type' to pam.scm. 2017-09-22 00:05:08 +02:00
shadow.scm services: account: Make 'user-homes' a one-shot service. 2019-04-23 16:38:12 +02:00
uuid.scm uuid: 'fat-uuid->string' preserves leading zeros. 2019-05-07 12:18:44 +02:00
vm.scm vm: Build ISOs and VM images in a UTF-8 environment. 2019-05-01 21:11:22 +02:00