Maxim Cournoyer
66e5570037
gnu: emacs-emms: Fix metadata retrieval for MP3 and FLAC files.
...
* gnu/packages/emacs.scm (emacs-emms): Reference find, mpg321 and metaflac by
their complete file path.
[inputs]: Add flac.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-09-15 18:31:53 +02:00
Stefan Reichör
24d158136f
gnu: Add python-schedule.
...
* gnu/packages/python.scm (python-schedule, python2-schedule): New variables.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-09-15 18:31:53 +02:00
Stefan Reichör
893f9d240a
gnu: Add pydf.
...
* gnu/packages/disk.scm (pydf): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-09-15 18:31:53 +02:00
Efraim Flashner
56bf42fb40
gnu: libzip: Fix building on 32-bit architectures.
...
* gnu/packages/compression.scm (libzip)[arguments]: New field, add phase
to skip tests which are known to have issues on 32-bit architectures.
2017-09-15 15:19:42 +03:00
Mark H Weaver
daca2ec4bb
gnu: linux-libre: Update to 4.13.2.
...
* gnu/packages/linux.scm (%linux-libre-version): Update to 4.13.2.
(%linux-libre-hash): Update hash.
(linux-libre, linux-libre-arm-generic): Remove patch.
2017-09-15 00:31:15 -04:00
Mark H Weaver
c2ab0f8950
gnu: linux-libre@4.9: Update to 4.9.50.
...
* gnu/packages/linux.scm (linux-libre-4.9): Update to 4.9.50. Remove patch.
2017-09-15 00:30:21 -04:00
Mark H Weaver
d22a843f57
gnu: linux-libre@4.4: Update to 4.4.88.
...
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.88. Remove patch.
2017-09-15 00:29:23 -04:00
Efraim Flashner
2206bd340b
gnu: Add gnucobol.
...
* gnu/packages/cobol.scm (gnucobol): New variable.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
2017-09-15 06:36:21 +03:00
Efraim Flashner
14728ab78f
gnu: Update default gcc-objc and gcc-objc++.
...
* gnu/packages/gcc.scm (gcc-objc, gcc-objc++): Update default to 5.
2017-09-15 06:36:19 +03:00
Efraim Flashner
e05f8d2fb3
gnu: Add gcc-objc++@7.
...
* gnu/packages/gcc.scm (gcc-objc++@7): New variable.
2017-09-15 06:36:17 +03:00
Efraim Flashner
ce9afe2b3b
gnu: Add gcc-objc@7.
...
* gnu/packages/gcc.scm (gcc-objc@7): New variable.
2017-09-15 06:36:15 +03:00
Efraim Flashner
7a7c630856
gnu: Add gcc-objc++@6.
...
* gnu/packages/gcc.scm (gcc-objc++@6): New variable.
2017-09-15 06:36:12 +03:00
Efraim Flashner
4072c10bee
gnu: Add gcc-objc@6.
...
* gnu/packages/gcc.scm (gcc-objc@6): New variable.
2017-09-15 06:36:07 +03:00
Efraim Flashner
ed8cdab870
gnu: Add gcc-objc++@5.
...
* gnu/packages/gcc.scm (gcc-objc++@5): New variable.
2017-09-15 06:36:04 +03:00
Efraim Flashner
f51d01e1c3
gnu: Add gcc-objc@5.
...
* gnu/packages/gcc.scm (gcc-obj@5): New variable.
2017-09-15 06:36:01 +03:00
Kei Kebreau
db7f7eb8ca
gnu: graphicsmagick: Fix CVE-2017-{11403,14103}.
...
* gnu/packages/imagemagick.scm (graphicsmagick)[source]: Add patch.
* gnu/packages/patches/graphicsmagick-CVE-2017-11403+CVE-2017-14103.patch:
New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2017-09-14 09:23:19 -04:00
ng0
c61794cf45
gnu: Add cpputest.
...
* gnu/packages/check.scm (cpputest): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-09-14 14:07:25 +02:00
Stefan Reichör
205441eb0e
gnu: Add stgit.
...
* gnu/packages/version-control.scm (stgit): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-09-14 14:07:25 +02:00
R H
6fcf8c2d70
gnu: mpv: Update to 0.27.0.
...
* gnu/packages/video.scm (mpv): Update to 0.27.0.
2017-09-14 14:07:25 +02:00
Peter Mikkelsen
194b4e7d65
gnu: Add godot.
...
* gnu/packages/game-development.scm (godot): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-09-14 14:07:25 +02:00
Efraim Flashner
4b052c6a4d
gnu: sudo: Update to 1.8.21p2.
...
* gnu/packages/admin.scm (sudo): Update to 1.8.21p2.
2017-09-14 09:50:04 +03:00
Eric Bavier
eb28a777b5
gnu: Add John the Ripper.
...
* gnu/packages/password-utils.scm (john-the-ripper-jumbo): New variable.
2017-09-13 22:07:21 -05:00
Arun Isaac
aa90375afe
gnu: Add os-prober.
...
* gnu/packages/bootloaders.scm (os-prober): New variable.
2017-09-14 04:35:15 +05:30
Christopher Baines
909dcf5b46
gnu: Add ikiwiki.
...
* gnu/packages/web.scm (ikiwiki): New variable.
2017-09-13 18:19:31 +01:00
Christopher Baines
f0539b66fe
gnu: Add perl-cgi-session.
...
* gnu/packages/web.scm (perl-cgi-session): New variable.
2017-09-13 18:19:31 +01:00
Christopher Baines
86bd64b613
gnu: Add perl-yaml-libyaml.
...
* gnu/packages/perl.scm (perl-yaml-libyaml): New variable.
2017-09-13 18:19:31 +01:00
Christopher Baines
4f0ee1b4df
gnu: Add perl-html-scrubber.
...
* gnu/packages/web.scm (perl-html-scrubber): New variable.
2017-09-13 18:19:30 +01:00
Christopher Baines
7d1f9c91e6
gnu: Add perl-test-eol.
...
* gnu/packages/perl.scm (perl-test-eol): New variable.
2017-09-13 18:19:30 +01:00
Christopher Baines
88002553ae
gnu: Add perl-test-notabs.
...
* gnu/packages/perl.scm (perl-test-notabs): New variable.
2017-09-13 18:19:30 +01:00
Christopher Baines
3d74955842
gnu: Add perl-test-memory-cycle.
...
* gnu/packages/perl.scm (perl-test-memory-cycle): New variable.
2017-09-13 18:19:30 +01:00
Christopher Baines
b4387d868b
gnu: Add perl-devel-cycle.
...
* gnu/packages/perl.scm (perl-devel-cycle): New variable.
2017-09-13 18:19:30 +01:00
Christopher Baines
d5b50202d7
gnu: Add perl-test-cpan-meta.
...
* gnu/packages/perl.scm (perl-test-cpan-meta): New variable.
2017-09-13 18:19:29 +01:00
Christopher Baines
19d81cf7dc
gnu: Add perl-test-cpan-meta-json.
...
* gnu/packages/perl.scm (perl-test-cpan-meta-json): New variable.
2017-09-13 18:19:29 +01:00
Christopher Baines
9d46919f9c
gnu: Add perl-text-markdown-discount.
...
* gnu/packages/markdown.scm (perl-text-markdown-discount): New variable.
* gnu/packages/patches/perl-text-markdown-discount-use-system-markdown.patch:
New file.
2017-09-13 18:19:29 +01:00
Christopher Baines
31d3a7c729
gnu: Add discount.
...
This is required by perl-text-markdown-discount, which is required by ikiwiki.
* gnu/packages/markdown.scm (discount) New variable.
2017-09-13 18:19:29 +01:00
Mark H Weaver
921bb359ba
gnu: linux-libre@4.9: Fix hash.
...
The linux-libre-4.9.49 tarball on the distribution site was repacked using a
non-deterministic process, thus changing the tarball hash, although the
contents of the files in the tarball were not changed.
* gnu/packages/linux.scm (linux-libre-4.9): Update hash.
2017-09-13 12:55:14 -04:00
Mark H Weaver
be2b2dff21
gnu: linux-libre: Fix CVE-2017-1000251.
...
* gnu/packages/linux.scm (linux-libre, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-generic): Add patch.
2017-09-13 12:52:50 -04:00
Jan Nieuwenhuizen
1c05aab473
gnu: cuirrass: Default port to 8081.
...
* gnu/services/cuirass.scm (<cuirass-configuration>): Default port to 8081.
Fixes conflict with guix-publish default.
* doc/guix.texi (Continuous Integration): Update.
2017-09-13 18:33:46 +02:00
Efraim Flashner
ad057b79dd
gnu: xorriso: Update to 1.4.8.
...
* gnu/packages/cdrom.scm (xorriso): Update to 1.4.8.
2017-09-13 18:46:44 +03:00
Mark H Weaver
27236a4348
gnu: bluez: Add replacement to fix CVE-2017-1000250.
...
* gnu/packages/patches/bluez-CVE-2017-1000250.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/linux.scm (bluez)[replacement]: New field.
(bluez/fixed): New variable.
2017-09-13 10:43:03 -04:00
Efraim Flashner
35daddede1
gnu: gcc@7: Update description.
...
* gnu/packages/gcc.scm (gcc@7)[description]: Remove Java from the list
of supported languages.
2017-09-13 08:55:49 +03:00
Efraim Flashner
ab53bdf01c
gnu: isl: Update to 0.18.
...
* gnu/packages/gcc.scm (isl): Update to 0.18.
(isl-0.11): New variable.
(gcc@4.8, cloog)[inputs]: Use isl-0.11.
2017-09-13 08:55:47 +03:00
Efraim Flashner
2b8d4ce819
gnu: gcc: Clean up inputs.
...
* gnu/packages/gcc.scm (gcc@4.7)[inputs]: Remove isl, cloog.
(gcc@4.8)[inputs]: Add isl, cloog.
(gcc@6)[inputs]: Remove cloog.
2017-09-13 08:55:45 +03:00
Efraim Flashner
dd4efefdb0
gnu: gcc@4.9: Inherit from gcc@4.8.
...
* gnu/packages/gcc.scm (gcc@4.9)[inherit]: Inherit from gcc@4.8.
[supported-systems]: Remove field.
2017-09-13 08:55:42 +03:00
Tobias Geerinckx-Rice
3f9a4eaf92
gnu: awscli: Update to 1.11.151.
...
* gnu/packages/python.scm (awscli): Update to 1.11.151.
2017-09-13 04:30:32 +02:00
Tobias Geerinckx-Rice
46841c07ec
gnu: python-s3transfer: Update to 0.1.11.
...
* gnu/packages/python.scm (python-s3transfer): Update to 0.1.11.
2017-09-13 04:30:32 +02:00
Tobias Geerinckx-Rice
01fc102e37
gnu: python-botocore: Update to 1.7.9.
...
* gnu/packages/python.scm (python-botocore): Update to 1.7.9.
2017-09-13 04:30:31 +02:00
Christopher Baines
c9ce8e1766
gnu: Update signing-party.
...
Also add more inputs to make the caff program run. I haven't successfully used
it yet though.
* gnu/packages/gnupg.scm (signing-party)[version]: Update to 2.6.
[source]: Update origin sha256.
[native-inputs]: Add autoconf and automake.
[inputs]: Add perl-text-template, perl-mime-tools, perl-gnupg-interface and
perl-net-idn-encode as these are required by caff. Also add libmd as this is
required by TODO.
[arguments]: Add the change-directory and wrap-programs phase, and fix a
regex and Makefile path in the configure phase.
2017-09-12 22:59:38 +01:00
Christopher Baines
329779159b
gnu: Add libmd.
...
* gnu/packages/crypto.scm (libmd): New variable.
2017-09-12 22:59:38 +01:00
Christopher Baines
34ef575590
gnu: Add perl-gnupg-interface.
...
* gnu/packages/gnupg.scm (perl-gnupg-interface): New variable.
2017-09-12 22:59:37 +01:00
Christopher Baines
996364fb4e
gnu: Add perl-text-template.
...
* gnu/packages/perl.scm (perl-text-template): New variable.
2017-09-12 22:59:37 +01:00
Christopher Baines
24c1c51334
gnu: Add perl-net-idn-encode.
...
* gnu/packages/perl.scm (perl-net-idn-encode): New variable.
2017-09-12 22:59:37 +01:00
Christopher Baines
a6fe930452
gnu: Add perl-mime-tools.
...
* gnu/packages/perl.scm (perl-mime-tools): New variable.
2017-09-12 22:59:37 +01:00
Christopher Baines
d6daca0ee5
gnu: Add perl-mailtools.
...
* gnu/packages/perl.scm (perl-mailtools): New variable.
2017-09-12 22:59:37 +01:00
Christopher Baines
2d6125ed4d
gnu: Add perl-convert-binhex.
...
* gnu/packages/perl.scm (perl-convert-binhex): New variable.
2017-09-12 22:59:36 +01:00
Christopher Baines
b7206dd362
gnu: Add perl-moox-late.
...
* gnu/packages/perl.scm (perl-moox-late): New variable.
2017-09-12 22:59:36 +01:00
Christopher Baines
40db2394b2
gnu: Add perl-moox-handlesvia.
...
* gnu/packages/perl.scm (perl-moox-handlesvia): New variable.
2017-09-12 22:59:36 +01:00
Christopher Baines
3565756f44
gnu: Add perl-data-perl.
...
* gnu/packages/perl.scm (perl-data-perl): New variable.
2017-09-12 22:59:36 +01:00
Christopher Baines
3a58f45502
gnu: Add perl-moox.
...
* gnu/packages/perl.scm (perl-moox): New variable.
2017-09-12 22:59:36 +01:00
Ludovic Courtès
1fda01ef42
gnu: texinfo: Add 6.5.
...
* gnu/packages/texinfo.scm (texinfo-latest): New variable.
2017-09-12 23:56:34 +02:00
Ludovic Courtès
960c40de21
doc: Use Screen and OpenSSH in the bare-bones example.
...
* gnu/system/examples/bare-bones.tmpl (packages): Remove TCPDUMP; add
SCREEN and OPENSSH.
* doc/guix.texi (Using the Configuration System): Adjust explanation
accordingly.
2017-09-12 23:56:34 +02:00
Ludovic Courtès
4e854b1814
install: Include the whole bare-bones OS in the image.
...
* gnu/system/install.scm (%installation-services): Load
"example/bare-bones.tmpl". Add a 'gc-root-service-type' instance.
2017-09-12 23:56:33 +02:00
Ludovic Courtès
96da5d6296
system: Add gexp compiler for <operating-system>.
...
* gnu/system.scm (operating-system-compiler): New procedure.
2017-09-12 23:56:33 +02:00
Tobias Geerinckx-Rice
bbb1246fd8
gnu: youtube-dl: Update to 2017.09.11.
...
* gnu/packages/video.scm (youtube-dl): Update to 2017.09.11.
2017-09-12 23:36:24 +02:00
Tobias Geerinckx-Rice
097b80e180
gnu: gtksourceview: Update to 3.24.4.
...
* gnu/packages/gtk.scm (gtksourceview): Update to 3.24.4.
2017-09-12 23:36:24 +02:00
Tobias Geerinckx-Rice
db122a9b5e
gnu: libpeas: Update to 1.22.0.
...
* gnu/packages/gnome.scm (libpeas): Update to 1.22.0.
[inputs]: Remvoe libxml2.
2017-09-12 23:36:23 +02:00
Tobias Geerinckx-Rice
0f8c520408
gnu: network-manager: Update to 1.8.2.
...
* gnu/packages/gnome.scm (network-manager): Update to 1.8.2.
2017-09-12 23:36:23 +02:00
Tobias Geerinckx-Rice
8fc5cdc6a0
gnu: tracker: Update to 1.12.3.
...
* gnu/packages/gnome.scm (tracker): Update to 1.12.3.
2017-09-12 23:36:23 +02:00
Tobias Geerinckx-Rice
9c2d0a1aa8
gnu: gnome-shell-extensions: Update to 3.24.3.
...
* gnu/packages/gnome.scm (gnome-shell-extensions): Update to 3.24.3.
2017-09-12 23:36:22 +02:00
Tobias Geerinckx-Rice
bd38e6a560
gnu: gnome-settings-daemon: Update to 3.24.3.
...
* gnu/packages/gnome.scm (gnome-settings-daemon): Update to 3.24.3.
2017-09-12 23:36:22 +02:00
Tobias Geerinckx-Rice
f97e96ae8b
gnu: gsettings-desktop-schemas: Update to 3.24.1.
...
* gnu/packages/gnome.scm (gsettings-desktop-schemas): Update to 3.24.1.
2017-09-12 23:36:22 +02:00
Marius Bakke
790ba6d3e1
gnu: imagemagick: Update to 6.9.9-12.
...
* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.9-12.
2017-09-12 22:55:05 +02:00
Marius Bakke
8d3975459d
gnu: libraw: Update to 0.18.4.
...
* gnu/packages/photo.scm (libraw): Update to 0.18.4.
2017-09-12 22:55:05 +02:00
Marius Bakke
40c2653375
gnu: ffmpeg: Update to 3.3.4.
...
* gnu/packages/video.scm (ffmpeg): Update to 3.3.4.
2017-09-12 22:55:05 +02:00
Marius Bakke
51fcc6d2ae
gnu: feh: Update to 2.20.
...
* gnu/packages/image-viewers.scm (feh): Update to 2.20.
2017-09-12 22:55:05 +02:00
Marius Bakke
493f2cbf06
gnu: notmuch: Update to 0.25.1.
...
* gnu/packages/mail.scm (notmuch): Update to 0.25.1.
2017-09-12 22:55:05 +02:00
Marius Bakke
777f485ee6
gnu: python-django: Update to 1.10.8 [fixes CVE-2017-12794].
...
* gnu/packages/django.scm (python-django): Update to 1.10.8.
2017-09-12 22:55:05 +02:00
ng0
8b8702c939
gnu: neomutt: Update to 20170912.
...
* gnu/packages/mail.scm (neomutt): Update to 20170912.
2017-09-12 21:17:55 +02:00
Dave Love
b08952f1bb
gnu: openmpi: Configure without builtin atomics.
...
See https://www.mail-archive.com/users@lists.open-mpi.org//msg31400.html
* gnu/packages/mpi.scm (openmpi)[arguments]: Don't configure with
--enable-builtin-atomics.
Signed-off-by: Ludovic Courtès <ludovic.courtes@inria.fr>
2017-09-12 14:56:59 +02:00
Dave Love
a247fe7b0d
gnu: openmpi: Remove Valgrind from closure.
...
* gnu/packages/mpi.scm (openmpi)[arguments]: Elide romio config info to
avoid reference to valgrind.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-09-12 08:58:27 +02:00
ng0
b5831eb771
gnu: Add mate.
...
* gnu/packages/mate.scm (mate): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2017-09-12 09:55:42 +03:00
ng0
16cd07c163
gnu: Add mate-control-center.
...
* gnu/packages/mate.scm (mate-control-center): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2017-09-12 09:55:40 +03:00
ng0
4d553e0a93
gnu: Add mate-media.
...
* gnu/packages/mate.scm (mate-media): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2017-09-12 09:55:37 +03:00
ng0
da78e01b87
gnu: Add mate-applets.
...
* gnu/packages/mate.scm (mate-applets): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2017-09-12 09:55:34 +03:00
ng0
0bb3d6bf3a
gnu: Add mate-settings-daemon.
...
* gnu/packages/mate.scm (mate-settings-daemon): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2017-09-12 09:55:31 +03:00
ng0
9c9909effb
gnu: Add libmatekbd.
...
* gnu/packages/mate.scm (libmatekbd): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2017-09-12 09:55:28 +03:00
ng0
133cb8766c
gnu: Add libmatemixer.
...
* gnu/packages/mate.scm (libmatemixer): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2017-09-12 09:55:25 +03:00
ng0
c3812bec8e
gnu: Add mate-panel.
...
* gnu/packages/mate.scm (mate-panel): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2017-09-12 09:55:23 +03:00
ng0
a8376ca5bf
gnu: Add mate-session-manager.
...
* gnu/packages/mate.scm (mate-session-manager): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2017-09-12 09:55:21 +03:00
ng0
4d26a340b5
gnu: Add marco.
...
* gnu/packages/mate.scm (marco): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2017-09-12 09:55:20 +03:00
ng0
17df429ce6
gnu: Add mate-terminal.
...
* gnu/packages/mate.scm (mate-terminal): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2017-09-12 09:55:18 +03:00
ng0
42a6eaaceb
gnu: Add caja.
...
* gnu/packages/mate.scm (caja): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2017-09-12 09:55:10 +03:00
Efraim Flashner
fa7647c631
gnu: monero: Fix building on aarch64-linux.
...
* gnu/packages/finance.scm (monero)[arguments]: Add a configure-flag to
set architecture type on aarch64.
2017-09-12 09:55:07 +03:00
Jan Nieuwenhuizen
f435379762
gnu: mes: Update to 0.10.
...
* gnu/packages/mes.scm (mes): Update to 0.10.
2017-09-11 18:03:42 -04:00
Ludovic Courtès
7940188ebf
system: Fix typo in 'read-boot-parameters'.
...
Fixes a regression introduced in
commit 075681d350
.
* gnu/system.scm (read-boot-parameters): For 'root-device', use
'device-sexp->device', not 'device->sexp'.
2017-09-11 23:00:40 +02:00
Ludovic Courtès
5f7fe1c57e
vm: Generate a UUID to identify the root file system.
...
This makes collisions less likely than when using a label to look up the
partition. See <https://bugs.gnu.org/27735 >.
* gnu/system/vm.scm (operating-system-uuid): New procedure.
(system-disk-image): Define 'root-uuid' and use it for the root file
system. Pass it to 'iso9660-image' and 'qemu-image'.
2017-09-11 22:26:29 +02:00
Ludovic Courtès
fd3b4b985d
vm: Allow users to specify a UUID for the root partition.
...
* gnu/system/vm.scm (qemu-image): Add #:file-system-uuid parameter; pass
it as the 'uuid' field of the root partition.
2017-09-11 22:26:24 +02:00
Ludovic Courtès
ce094b4663
uuid: 'uuid' macro supports more UUID types.
...
* gnu/system/uuid.scm (string->uuid): Turn 'type' into an optional
argument.
(uuid): Add clauses to allow for an optional 'type' parameter.
2017-09-11 22:24:47 +02:00
Ludovic Courtès
075681d350
system: Serialize the UUID type in the "parameters" file.
...
* gnu/system.scm (read-boot-parameters)[device->sexp]: New procedure.
Use it for 'root-device' and 'store-device'.
(device->sexp): Serialize the UUID type in addition to its bytevector.
2017-09-11 22:24:47 +02:00
Ludovic Courtès
9b336338cd
system: Introduce a disjoint UUID type.
...
Conceptually a UUID is just a bytevector. However, there's software out
there such as GRUB that relies on the string representation of different
UUID types (e.g., the string representation of DCE UUIDs differs from
that of ISO-9660 UUIDs, even if they are actually bytevectors of the
same length). This new <uuid> record type allows us to preserve
information about the type of UUID so we can eventually convert it to a
string using the right representation.
* gnu/system/uuid.scm (<uuid>): New record type.
(bytevector->uuid): New procedure.
(uuid): Return calls to 'make-uuid'.
(uuid->string): Rewrite using 'match-lambda*' to accept a single 'uuid?'
argument.
* gnu/bootloader/grub.scm (grub-root-search): Check for 'uuid?' instead
of 'bytevector?'.
* gnu/system.scm (bootable-kernel-arguments): Check whether ROOT-DEVICE
is 'uuid?'.
(read-boot-parameters): Use 'bytevector->uuid' when the
store device is a bytevector.
(read-boot-parameters-file): Check for 'uuid?' instead of 'bytevector?'.
(device->sexp): New procedure.
(operating-system-boot-parameters-file): Use it for 'root-device' and
'store'.
(operating-system-bootcfg): Remove conditional in definition of
'root-device'.
* gnu/system/file-systems.scm (file-system->spec): Check for 'uuid?' on
DEVICE and take its bytevector.
* gnu/system/mapped-devices.scm (open-luks-device): Likewise.
* gnu/system/vm.scm (iso9660-image): Call 'uuid-bytevector' for the
#:volume-uuid argument.
2017-09-11 22:24:46 +02:00