~ruther/guix-local

ref: 4e169fc67aa6bb24403e28a8cd02bf77dc37b1da guix-local/gnu/system.scm -rw-r--r-- 40.0 KiB
ce380150 — Thomas Danckaert 8 years ago
system: operating-system-etc-service: Set XCURSOR_PATH.

* gnu/system.scm (operating-system-etc-service): Set XCURSOR_PATH environment
variable so that libxcursor finds cursors in user and system profiles.
* gnu/packages/xorg.scm (libxcursor): Add a TODO for better handling of
XCURSOR_PATH in other profiles.
ad3a937d — Marius Bakke 8 years ago
Merge branch 'master' into staging
90d23ed9 — Ludovic Courtès 8 years ago
system: Really filter out Linux device names for the store.

This is a followup to db4e8fd5d4a07d3be8ce68fb96722ef7077c0eee.
Fixes <https://bugs.gnu.org/28445>.
Reported by Mark H Weaver <mhw@netris.org>.

* gnu/system.scm (ensure-not-/dev): New procedure.
(read-boot-parameters)[ensure-not-/dev]: Remove.
(operating-system-boot-parameters): Use it.
ffcff272 — Marius Bakke 8 years ago
Merge branch 'master' into staging
db4e8fd5 — Ludovic Courtès 8 years ago
system: <boot-parameters> does not use "/dev" device names.

Fixes <https://bugs.gnu.org/28445>.
Reported by Mark H Weaver and Roel Janssen.

* gnu/system.scm (read-boot-parameters)[ensure-not-/dev]: New procedure.
Use it.
58366883 — Marius Bakke 8 years ago
Merge branch 'master' into staging
96bc6518 — Andy Wingo 8 years ago
gnu: system: Fix computation of boot parameters for LUKS devices.

* gnu/system.scm (read-boot-parameters): Fix store-device computation for root
devices of type "device", like the LUKS partition described in the manual.
From a patch from https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28445#23.

Signed-off-by: Andy Wingo <wingo@igalia.com>
c694520b — Thomas Danckaert 8 years ago
system: Create "/etc/hostname".

* gnu/system.scm (operating-system-etc-service): Add a plain-file with the
  operating-system-host-name.
c08da2ee — Ludovic Courtès 8 years ago
system: Define 'DICPATH' in /etc/profile.

* gnu/system.scm (operating-system-etc-service) <profile>: Define
'DICPATH'.
96da5d62 — Ludovic Courtès 8 years ago
system: Add gexp compiler for <operating-system>.

* gnu/system.scm (operating-system-compiler): New procedure.
7940188e — Ludovic Courtès 8 years ago
system: Fix typo in 'read-boot-parameters'.

Fixes a regression introduced in
commit 075681d3501082c6e22df8abf29dfe89d85effc1.

* gnu/system.scm (read-boot-parameters): For 'root-device', use
'device-sexp->device', not 'device->sexp'.
075681d3 — Ludovic Courtès 8 years ago
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.
9b336338 — Ludovic Courtès 8 years ago
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.
4028fd39 — Marius Bakke 8 years ago
Merge branch 'master' into staging
72e2815d — Marius Bakke 8 years ago
Merge branch 'core-updates'
aa9780da — Marius Bakke 8 years ago
Merge branch 'master' into core-updates
1975c754 — Danny Milosavljevic 8 years ago
bootloader: Use <menu-entry> for the bootloader side.

* gnu/bootloader.scm (menu-entry-device-mount-point): New variable.  Export it.
(<menu-entry>: New field "device".
* gnu/bootloader/grub.scm (grub-confgiuration-file): Handle <menu-entry>
entries.
* gnu/bootloader/extlinux.scm (extlinux-configuration-file): Handle
<menu-entry> entries.
* gnu/system.scm (menu->entry->boot-parameters): Delete variable.
(boot-parameters->menu-entry): New variable.  Export it.
(operating-system-bootcfg): Make OLD-ENTRIES a list of <menu-entry>.
* guix/script/system.scm (reinstall-bootloader): Fix bootcfg usage.
(perform-action): Fix bootcfg usage.
e081e2dd — Leo Famulari 8 years ago
Merge branch 'master' into core-updates
fd900d68 — Efraim Flashner 8 years ago
gnu: Add support for aarch64's compiled kernel.

* gnu/packages/linux.scm (linux-libre)[arguments]: Add to the regex to
find and install the aarch64-linux kernel.
* gnu/system.scm (system-linux-image-file-name): Add entry for aarch64.
6c1a317e — Leo Famulari 8 years ago
Merge branch 'master' into core-updates
Next