~ruther/guix-local

ref: 34260a10d70c4eae87fc48419b7134fbbb4bbd30 guix-local/gnu/system d---------
b1a30793 — Mathieu Othacehe 8 years ago
system: vm: Use 2^32 - 1 as hash size.

* gnu/system/vm.scm (operating-system-uuid): Use 2^32 - 1 instead of
  2^32 as hash size.

On some 32 bit system (ARM for example), 2^32 exceeds hash max
size (ULONG_MAX = 2^32 - 1).
2c16be56 — Marius Bakke 8 years ago
system: Return early in skeleton '.bashrc' when the shell is non-interactive.

* gnu/system/shadow.scm (default-skeletons)[bashrc]: Add return statement.
0ab59dd8 — Marius Bakke 8 years ago
system: Test for interactive shell instead of `cat` in skeleton '.bashrc'.

* gnu/system/shadow.scm (default-skeletons)[bashrc]: Wrap $SSH_CLIENT test in
a conditional testing for interactive shell.
9b396c0c — Ludovic Courtès 8 years ago
vm: Always use GRUB/i386.

Fixes <https://bugs.gnu.org/28768>.
Reported by Oleg Pykhalov <go.wigust@gmail.com>.

* gnu/system/vm.scm (virtualized-operating-system): Override the
'bootloader' field.
50fcf37c — Ludovic Courtès 8 years ago
doc: Give an example with a FAT UUID.

* gnu/system/examples/lightweight-desktop.tmpl <file-systems>: Add a
UUID for the /boot/efi partition.
* doc/guix.texi (Using the Configuration System): Mention it.
03f66aea — Ludovic Courtès 8 years ago
uuid: Change "fat32" to "fat".

* gnu/system/uuid.scm (%fat32-endianness): Rename to...
(%fat-endianness): ... this.
(fat32-uuid->string): Rename to...
(fat-uuid->string): ... this.
(%fat32-uuid-rx): Rename to..
(%fat-uuid-rx): ... this.
(string->fat32-uuid): Rename to...
(string->fat-uuid): ... this.
(%uuid-parsers, %uuid-printers): Add 'fat16.
9976c76a — Ludovic Courtès 8 years ago
file-systems: Preserve UUID types when serializing.

Reported by Roel Janssen <roel@gnu.org>
at <https://lists.gnu.org/archive/html/help-guix/2017-09/msg00094.html>.

* gnu/system/file-systems.scm (file-system->spec): When DEVICE is a
UUID, serialize it in a way that preserves its type.
(spec->file-system): Adjust accordingly.
* gnu/build/file-systems.scm (canonicalize-device-spec): Add case for
when SPEC is 'uuid?'.
1c65cca5 — Ludovic Courtès 8 years ago
file-systems: 'mount-file-system' now takes a <file-system> object.

* gnu/build/file-systems.scm (mount-file-system): Rename 'spec' to 'fs'
and assume it's a <file-system>.
* gnu/build/linux-boot.scm (boot-system): Assume MOUNTS is a list of
<file-system> and adjust accordingly.
* gnu/build/linux-container.scm (mount-file-systems): Remove
'file-system->spec' call.
* gnu/services/base.scm (file-system-shepherd-service): Add
'spec->file-system' call.  Add (gnu system file-systems) to 'modules'.
* gnu/system/linux-initrd.scm (raw-initrd): Use (gnu system
file-systems).  Add 'spec->file-system' call for #:mounts.
b36e06c2 — Christopher Baines 8 years ago
linux-initrd: Ensure that the guile used in the initrd is referenced.

By referencing guile from the initrd output explicitly, it will be present in
the store when this initrd is used. If the exact guile used within the initrd
isn't present in the store, then after root is switched during the boot
process, loading modules (such as (ice-9 popen)) won't work.

This fixes guix-patches bug #28399, "Fix mysql activation, and add a basic
test".

* gnu/system/linux-initrd.scm (expression->initrd)[builder]: Write out a file
  called references in to the initrd output, which includes the store path for
  guile.
6a317919 — Marius Bakke 8 years ago
Merge branch 'master' into staging
dd41a7f8 — Ludovic Courtès 8 years ago
file-systems: Add a 'location' field to <file-system>.

* gnu/system/file-systems.scm (<file-system>)[location]: New field.
aed1f1b0 — Ludovic Courtès 8 years ago
uuid: Add 'uuid=?' and use it.

* gnu/system/uuid.scm (uuid=?): New procedure.
* tests/uuid.scm ("uuid=?"): New test.
* gnu/build/file-systems.scm (partition-uuid-predicate)
(luks-partition-uuid-predicate): Use it instead of 'bytevector=?'.
7716ccd5 — Marius Bakke 8 years ago
Merge branch 'master' into staging
eb152070 — Christopher Baines 8 years ago
vm: Add disk-image-size to <virtual-machine>.

* gnu/system/vm.scm (<virtual-machine>): Add disk-image-size.
  (port-forwardings->qemu-options): Use disk-image-size from
  <virtual-machine>.
0c75a4de — Christopher Baines 8 years ago
vm: Add a minimum root size.

* gnu/system/vm.scm (qemu-image): When guessing the root-size, use a lower
  bound of 20 MiB, otherwise the root file system size is sometimes 0 MiB in
  size.
ffcff272 — Marius Bakke 8 years ago
Merge branch 'master' into staging
8a7d81a5 — Ludovic Courtès 8 years ago
uuid: Add a parser for FAT32 UUIDs.

* gnu/system/uuid.scm (%fat32-uuid-rx): New variable.
(string->fat32-uuid): New procedure.
(%uuid-parsers): Add it.
* tests/uuid.scm ("uuid, FAT32, format preserved"): New test.
fbc31dc1 — Ludovic Courtès 8 years ago
services: Move 'session-environment-service-type' to pam.scm.

* gnu/services/base.scm (environment-variables->environment-file)
(session-environment-service-type)
(session-environment-service): Move to...
* gnu/system/pam.scm: ... here.
58366883 — Marius Bakke 8 years ago
Merge branch 'master' into staging
960c40de — Ludovic Courtès 8 years ago
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.
Next