~ruther/guix-local

ref: d663e5e6001fa3d23bb80848cd46560c92ea92c8 guix-local/gnu/system d---------
4c0416ae — Ludovic Courtès 10 years ago
guix system: Reduce size of image produced for 'vm' action.

This reduces the size of the image produced by 'guix system vm' from
26 MiB to 9 MiB.

* gnu/system/vm.scm (system-qemu-image/shared-store):
(system-qemu-image/shared-store-script): Change the default
value of #:disk-image-size to 30 MiB when not FULL-BOOT?.
* guix/scripts/system.scm (system-derivation-for-action): Likewise for
the 'vm' action.
ffba7d49 — Ludovic Courtès 10 years ago
mapped-devices: LUKS partitions can be designated by their UUID.

* gnu/system/mapped-devices.scm (device-mapping-service-type): Add
'modules' and 'imported-modules' fields to 'shepherd-service'.
(open-luks-device): Use 'find-partition-by-luks-uuid' to lookup the
partition when SOURCE is a bytevector.
* gnu/system/linux-initrd.scm (base-initrd): Augment 'use-modules'
form.
* doc/guix.texi (Mapped Devices): Give example with a UUID.
4da8c19e — Ludovic Courtès 10 years ago
mapped-devices: 'mapped-device-service' takes a <mapped-device>.

* gnu/system/mapped-devices.scm (device-mapping-service): Take a
<mapped-device> instead of 3 parameters.
(device-mapping-service-type): Adjust accordingly.
* gnu/system.scm (device-mapping-services): Adjust accordingly.
1ea507bc — Ludovic Courtès 10 years ago
services: Move 'device-mapping-service' to (gnu system mapped-devices).

* gnu/services/base.scm (device-mapping-service-type)
(device-mapping-service): Move to...
* gnu/system/mapped-devices.scm (device-mapping-service-type):
(device-mapping-service): ... here.  New variables.
374f14c2 — Ludovic Courtès 10 years ago
system: Move 'luks-device-mapping' to (gnu system mapped-devices).

* gnu/system.scm (open-luks-device, close-luks-device)
(luks-device-mapping): Move to...
* gnu/system/mapped-devices.scm: ... here.  New file.
060d62a7 — Ludovic Courtès 10 years ago
system: Add (gnu system mapped-devices).

* gnu/system/file-systems.scm (<mapped-device>, <mapped-device-type>):
Move to...
* gnu/system/mapped-devices.scm: ... here.  New file.
* gnu/system.scm, gnu/services/base.scm,
gnu/system/linux-initrd.scm: Use it.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* gnu.scm (%public-modules): Add it.
c82c060d — Ludovic Courtès 10 years ago
install: Use 'beta' instead of 'alpha'.

Suggested by Jelle Licht <jlicht@fsfe.org>.

* gnu/system/install.scm (installation-services): Say 'beta' instead of
'alpha' and make the warning less scary.
68abb9b0 — Ludovic Courtès 10 years ago
install: Use 'info-reader' instead of Texinfo 4.

* gnu/system/install.scm (installation-os)[packages]: Remove TEXINFO-4
since %BASE-PACKAGES already provides the Info reader.
(log-to-info): Use INFO-READER instead of TEXINFO-4.
0feefb53 — Ludovic Courtès 10 years ago
install: Remove cgroup and elogind file systems.

* gnu/system/install.scm (installation-os): Explicitly list three file
systems instead of using %BASE-FILE-SYSTEMS.
ee03b75d — Ludovic Courtès 10 years ago
install: Add /tmp as a tmpfs.

Fixes <http://bugs.gnu.org/23056>.
Reported by Michael Downey <shaggy814@yandex.com>
and Kei <kei@openmailbox.org>.

* gnu/system/install.scm (installation-os)[file-systems]: Add "/tmp".
d038b674 — Ludovic Courtès 10 years ago
doc: Add "lightweight desktop" OS config example.

* gnu/system/examples/desktop.tmpl (packages): Remove XFCE and
RATPOISON.
(services): Add 'gnome-desktop-service' and 'xfce-desktop-service'.
* gnu/system/examples/lightweight-desktop.tmpl: New file.
* Makefile.am (EXAMPLES): Add it.
* doc.am (OS_CONFIG_EXAMPLES_TEXI): Add
doc/os-config-lightweight-desktop.texi.
* gnu/system/install.scm (/etc/configuration-files)[directory]: Add
lightweight-desktop.tmpl.
e71ef7ad — Ludovic Courtès 10 years ago
system: Make sure fonts are searched for in the system profile.

This fixes a bug whereby fonts in /run/current-system/profile would be
invisible to Fontconfig.

* gnu/packages/fontutils.scm (fontconfig): Add comment about system
profile not being searched.
* gnu/system/shadow.scm (default-skeletons)[fonts.conf-content,
fonts.conf]: New variable.
Add FONTS.CONF to the skeletons.
4e8b7502 — Ludovic Courtès 10 years ago
system: Allow account skeletons to be directories.

* gnu/system/shadow.scm (skeleton-directory): Use 'copy-recursively'
instead of 'copy-file'.
* gnu/build/activation.scm (copy-account-skeletons): Likewise.
a7e50a2a — Andy Wingo 10 years ago
gnu: system: Add elogind cgroup mount.

* gnu/system/file-systems.scm (%elogind-file-systems): Add elogind
  cgroup mount.
944d2b17 — Christopher Allan Webber 10 years ago
vm: Only pass "-enable-kvm" to qemu if /dev/kvm is present.

Fixes <http://bugs.gnu.org/22633>.

* gnu/build/vm.scm (load-in-linux-vm): Only pass "-enable-kvm" flag to qemu
  if "/dev/kvm" is present.
* gnu/system/vm.scm (common-kvm-options): Same as above.
3a9cfba8 — Tobias Geerinckx-Rice 10 years ago
install: Add btrfs-progs to the image.

* gnu/system/install.scm (installation-os)[packages]: Add BTRFS-PROGS.

Signed-off-by: Leo Famulari <leo@famulari.name>
c96ba2cf — Ludovic Courtès 10 years ago
install: Do not cache lookup failures.

Possibly fixes <http://bugs.gnu.org/22209>.

* gnu/system/install.scm (%nscd-minimal-caches)[negative-time-to-live]:
Set to zero.
f5582b2c — Ludovic Courtès 10 years ago
system: Selected locale is automatically built.

Fixes <http://bugs.gnu.org/22572>.
Reported by Mark H Weaver <mhw@netris.org>.

* gnu/system/locale.scm (%not-dot): New variable.
(denormalize-codeset, locale-name->definition): New procedures.
* gnu/system.scm (locale-name->definition*): New procedure.
(operating-system-locale-directory): Instead of raising an error, add
the missing locale.
* doc/guix.texi (Locales): Adjust accordingly.
1f1ff6a0 — Ludovic Courtès 10 years ago
linux-container: Accept file systems with a UUID 'source'.

* gnu/system/linux-container.scm (containerized-operating-system)[user-file-systems]:
Check whether SOURCE is a string before calling 'string-prefix?'.
6eb43907 — Ludovic Courtès 10 years ago
file-systems: Spawn a Bournish REPL upon fsck failure.

Fixes <http://bugs.gnu.org/22588>.
Reported by Mark H Weaver <mhw@netris.org>.

* gnu/build/file-systems.scm (check-file-system): Pass
%BOURNISH-LANGUAGE as the argument to 'start-repl'.
* gnu/services.scm (activation-script): Add (guix build bournish).
* gnu/services/base.scm (file-system-shepherd-service)[imported-modules]:
Likewise.
* gnu/system/linux-container.scm (container-script): Likewise.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Likewise.
Next