~ruther/guix-local

ref: bc3a2e3503b5bc18d988b3cd516bea0f91237384 guix-local/gnu/system.scm -rw-r--r-- 30.0 KiB
6655a743 — 宋文武 10 years ago
Merge branch 'master' into gnome-updates
b2fef041 — Ludovic Courtès 10 years ago
system: Add procedures to access user accounts and service names.

* gnu/system.scm (operating-system-user-accounts)
(operating-system-shepherd-service-names): New procedures.
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.
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.
ae05e366 — Ludovic Courtès 10 years ago
system: Define 'GTK_DATA_PREFIX' globally.

Fixes <http://bugs.gnu.org/23200>.
Reported by Chris Marusich <cmmarusich@gmail.com>.

* gnu/system.scm (operating-system-environment-variables): Add
'GTK_DATA_PREFIX'.
02683c33 — Ludovic Courtès 10 years ago
system: Use 'info-reader' instead of Texinfo to avoid dragging Perl.

* gnu/system.scm (%base-packages): Use INFO-READER instead of TEXINFO.
453cdf86 — Alex Kost 10 years ago
system: Do not create "site-start.el".

After commits 004ea62 and 092dd65, Emacs can find packages in a system
profile, so it autoloads guix code without additional hacks, which can
be removed now.

* gnu/system.scm (emacs-site-file, emacs-site-directory): Remove.
(operating-system-etc-service): Adjust accordingly.
(operating-system-environment-variables): Remove EMACSLOADPATH.
cd6cc144 — Ludovic Courtès 10 years ago
Merge branch 'security-updates'
255f7308 — Ludovic Courtès 10 years ago
gnu: eudev: Add dependency on blkid.

* gnu/packages/linux.scm (eudev)[inputs]: Add UTIL-LINUX.
(eudev-with-blkid): Remove.
* gnu/services/base.scm (udev-service): Use EUDEV instead of
EUDEV-WITH-BLKID.
* gnu/system.scm (%base-packages): Likewise.
11202482 — Ludovic Courtès 10 years ago
system: Explicitly set umask to 022 in /etc/profile.

Fixes <http://bugs.gnu.org/22650>.
Reported by myglc2 <myglc2@gmail.com>.

* gnu/system.scm (operating-system-etc-service)[profile]: Invoke
'umask'.
d0a65256 — Petter 10 years ago
system: GRUB menu entry says "beta" instead of "alpha"

* gnu/system.scm (kernel->grub-label): Change "alpha" to "beta'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
16cc9961 — Ludovic Courtès 10 years ago
system: Add rfkill to '%base-packages'.

* gnu/system.scm (%base-packages): Add RFKILL.
5dccaffe — Alex Kost 10 years ago
system: Add iproute to '%base-packages'.

* gnu/system.scm (%base-packages): Add iproute.
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.
939c5c31 — Ludovic Courtès 10 years ago
system: Add Texinfo to '%base-packages'.

Fixes <http://bugs.gnu.org/22598>.
Reported by myglc2 <myglc2@gmail.com>.

* gnu/system.scm (%base-packages): Add TEXINFO.
b3fee145 — Alex Kost 10 years ago
system: Fix EMACSLOADPATH.

After commit 13fe4891fa247d306e203ee14c6886513bd86b52, Emacs package
includes "site-start.el", and it has a priority over
"/etc/emacs/site-start.el" on GuixSD because "/etc/emacs" is added to
the end of 'load-path'.

* gnu/system.scm (operating-system-environment-variables): Change
  EMACSLOADPATH to prepend "/etc/emacs" to 'load-path' instead of
  appending.
2a5f0db4 — Ludovic Courtès 10 years ago
system: /etc/profile reads /etc/environment for the sake of lshd.

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

* gnu/system.scm (operating-system-etc-service)[profile]: Add hack to
define variables from /etc/environment.
400ed6ac — Ludovic Courtès 10 years ago
gnu: eudev: Add variant that depends on libblkid.

This fixes a bug whereby /dev/disk/by-{label,id} would be missing on
GuixSD (/dev/disk/by-id would still contain device-mapped partitions
though.)

Reported by Mark H Weaver <mhw@netris.org>.

* gnu/packages/linux.scm (eudev-with-blkid): New variable.
* gnu/services/base.scm (udev-service): #:udev defaults to
EUDEV-WITH-BLKID.
* gnu/system.scm (%base-packages): Replace EUDEV with EUDEV-WITH-BLKID.
81fc64da — Federico Beffa 10 years ago
gnu: aspell: Wrap binary to find dictionaries.

* gnu/packages/aspell.scm (aspell): Add 'wrap-aspell' phase.
* gnu/system.scm (operating-system-etc-service): Remove 'ASPELL_CONF'
definition.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Next