~ruther/guix-local

ref: d759cf6774efd4f321efe78f0bfcfeaa33f30e79 guix-local/gnu/system.scm -rw-r--r-- 20.6 KiB
29fce8b6 — Ludovic Courtès 11 years ago
system: Use (guix profiles) to build the system profile.

* gnu/system.scm (union): Remove.
  (operating-system-profile): Use 'profile-derivation' and related
  procedures instead of 'union'.
c8fa3426 — Ludovic Courtès 11 years ago
system: Add the 'system?' field for user groups.

Suggested by Mark H. Weaver.

* gnu/system/shadow.scm (<user-group>)[system?]: New field.
  (%base-groups): Introduce 'system-group' macro, and use it.
* gnu/system.scm (user-group->gexp): Pass the 'system?' field.
* guix/build/activation.scm (add-group): Add #:system? and honor it.
  (activate-users+groups): Handle the 'system?' field.
* gnu/system/file-systems.scm (%tty-gid): Choose an ID below 1000.
* doc/guix.texi (User Accounts): Document the 'system?' field.
2c071ce9 — Ludovic Courtès 11 years ago
system: Recognize more file system flags.

* guix/build/linux-initrd.scm (MS_NOSUID, MS_NODEV, MS_NOEXEC): New
  variables.
  (mount-flags->bit-mask): New procedure.
  (mount-file-system)[flags->bit-mask]: Remove.
  Use 'mount-flags->bit-mask' instead.
  In /etc/mtab, use the empty string when OPTIONS is false.
* gnu/services/base.scm (file-system-service): Add #:flags parameter and
  honor it.
* gnu/system.scm (other-file-system-services): Pass FLAGS to
  'file-system-service'.
4e469051 — Ludovic Courtès 11 years ago
system: Add 'create-mount-point?' file system option.

* gnu/system/file-systems.scm (<file-system>)[create-mount-point?]: New
  field.
* gnu/services/base.scm (file-system-service): Add #:create-mount-point?
  parameter and honor it.
* gnu/system.scm (other-file-system-services): Update
  'file-system-service' call accordingly.
* doc/guix.texi (File Systems): Document it.
b63dbd44 — Ludovic Courtès 11 years ago
system: Add e2fsprogs to the base packages.

* gnu/system.scm (%base-packages): Add E2FSPROGS.
03e9998f — Ludovic Courtès 11 years ago
system: Use kmod instead of module-init-tools.

* gnu/system.scm (%base-packages): Use kmod instead of
  module-init-tools.
55e70e65 — Ludovic Courtès 11 years ago
system: Add 'nano' and 'lsof' to the base packages.

* gnu/system.scm (%base-packages): Add NANO and LSOF.
89a0d00a — Ludovic Courtès 11 years ago
system: Add 'which' to the base packages.

* gnu/system.scm (%base-packages): Add WHICH.
f111b327 — Ludovic Courtès 11 years ago
system: Remove erroneous system binding in profile maker.

Partly fixes <http://bugs.gnu.org/18002>.
Reported by David Thompson <dthompson2@worcester.edu>.

* gnu/system.scm (union): Remove #:system parameter, which was unused.
060238ae — Ludovic Courtès 11 years ago
linux-initrd: Rename 'qemu-initrd' to 'base-initrd'.

* gnu/system/linux-initrd.scm (qemu-initrd): Rename to...
  (base-initrd): ... this.
* gnu/system.scm (<operating-system>)[initrd]: Update accordingly.
* gnu/system/vm.scm (expression->derivation-in-linux-vm,
  system-disk-image, virtualized-operating-system): Likewise.
62f0a479 — Ludovic Courtès 11 years ago
system: Set $LINUX_MODULE_DIRECTORY as a function or /run/booted-system.

* gnu/system.scm (etc-directory): Remove #:kernel parameter.  Set
  LINUX_MODULE_DIRECTORY as a function or /run/booted-system.
  (operating-system-etc-directory): Update accordingly.
459dd9ea — Ludovic Courtès 11 years ago
system: Add a 'system?' field to user accounts.

* gnu/system/shadow.scm (<user-account>)[system?]: New field.
* gnu/system.scm (user-account->gexp): Add it.
* guix/build/activation.scm (add-user): Add #:system? parameter and
  honor it.
  (activate-users+groups): Handle the 'system?' part of user tuples.
  Pass it to 'add-user'.  Don't create PROFILE-DIR when SYSTEM? is
  true.
* gnu/services/dbus.scm (dbus-service): Add 'system?' field for
  "messagebus" account.
* gnu/services/base.scm (guix-build-accounts): Likewise.
* gnu/services/avahi.scm (avahi-service): Likewise.
8a6d2731 — Ludovic Courtès 11 years ago
system: Adjust the set of fields with default values.

* gnu/system.scm (<operating-system>)[file-systems]: Remove default.
  [locale]: Add default value.
b25937e3 — Ludovic Courtès 11 years ago
guix system: Add 'reconfigure' action.

* guix/scripts/system.scm (%system-profile): New variable.
  (switch-to-system, previous-grub-entries): New procedures.
  (unless-file-not-found): New macro.
  (show-help): Add 'reconfigure'.
  (guix-system): Handle it.
* gnu/system.scm: Export 'operating-system-activation-script'.
* doc/guix.texi (Invoking guix system): Document it.
fe6e3fe2 — Ludovic Courtès 11 years ago
system: Support the addition of old entries in the GRUB menu.

* gnu/system.scm (operating-system-grub.cfg): Add 'old-entries'
  parameter.  Pass it to 'grub-configuration-file'.
* gnu/system/grub.scm (grub-configuration-file): Add #:old-entries
  parameter.  Honor it.
64e40dbb — Ludovic Courtès 11 years ago
system: Store boot parameters in the system derivation.

* gnu/system.scm (operating-system-parameters-file): New procedure.
  (operating-system-derivation): Use it to produce a 'parameters' files.
2d23e6f0 — Ludovic Courtès 11 years ago
system: Factorize GRUB menu entry label.

* gnu/system.scm (kernel->grub-label): New procedure.
  (operating-system-grub.cfg): Use it.
151a2c07 — Ludovic Courtès 11 years ago
services: Add udev service, and add it to '%base-services'.

* gnu/services/base.scm (udev-service): New procedure.
  (%base-services): Use it.
* gnu/system.scm (%base-packages): Add UDEV.
773e956d — Ludovic Courtès 11 years ago
system: Augment the default set of groups.

* gnu/system/shadow.scm (%base-groups): New variable.
* gnu/system.scm (<operating-system>)[groups]: Use it as the default.
f513527a — Ludovic Courtès 11 years ago
Merge branch 'core-updates'
Next