~ruther/guix-local

ref: ec79018e6831babef249ab883e9f9a71bebe1193 guix-local/gnu/system.scm -rw-r--r-- 36.8 KiB
239db054 — David Thompson 10 years ago
gnu: system: Add Linux container module.

* gnu/system/linux-container.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* gnu/system.scm: Export 'operating-system-etc-directory',
  'operating-system-boot-script', 'operating-system-locale-directory', and
  'file-union'.
  (operating-system-boot-script): Add #:container? keyword argument.
  (operating-system-activation-script): Add #:container?  keyword argument.
  Don't call 'activate-firmware' or 'activate-ptrace-attach' when activating a
  container.
3b65abac — Mark H Weaver 10 years ago
Revert "PRELIMINARY: Add three programs to %setuid-programs."

This reverts commit fb1e06fc5f7648ab3078876f009fa7a983b17c41.
fb1e06fc — Mark H Weaver 10 years ago
PRELIMINARY: Add three programs to %setuid-programs.
57082417 — Mark H Weaver 10 years ago
system: Default to newest linux-libre.

* gnu/system.scm (<operating-system>)[kernel]: Change default to
  LINUX-LIBRE.
5b9da1f9 — Ludovic Courtès 10 years ago
system: Add 'ping6' to %SETUID-PROGRAMS.

* gnu/system.scm (%setuid-programs): Add 'ping6'.
dcd9c250 — Ludovic Courtès 10 years ago
system: Default to Linux-libre 4.0.

* gnu/system.scm (<operating-system>)[kernel]: Change default to
  LINUX-LIBRE-4.0.
1b4e48d4 — Mark H Weaver 10 years ago
Merge branch 'master' into core-updates
e51710d1 — Ludovic Courtès 10 years ago
file-systems: Add a 'dependencies' field to <file-system>.

* gnu/system/file-systems.scm (<file-system>)[dependencies]: New field.
* gnu/system.scm (other-file-system-services)[requirements]: Honor
  'file-system-dependencies'.
* doc/guix.texi (File Systems): Document it.
ee2a6304 — Ludovic Courtès 10 years ago
system: Add 'kernel-arguments' field.

* gnu/system.scm (<operating-system>)[kernel-arguments]: New field.
  (operating-system-grub.cfg): Honor it.
  (operating-system-parameters-file): Add 'kernel-arguments' to the parameters
  file.
* guix/scripts/system.scm (previous-grub-entries)[system->grub-entry]: Read
  the 'kernel-arguments' field of the parameters file, when available.
* gnu/system/vm.scm (system-qemu-image/shared-store-script):
  Use (operating-system-kernel-arguments os) in '-append'.
* doc/guix.texi (operating-system Reference): Document it.
85c3127f — David Thompson 10 years ago
build: file-systems: Import (guix build syscalls) for non-static Guiles.

* gnu/build/file-systems.scm: Import (guix build syscalls) when 'mount' is not
  defined.
* gnu/system.scm (operating-system-activation-script): Include (guix build
  syscalls) module in derivation.
c05c4321 — Alex Kost 10 years ago
system: Fix typo.

* gnu/system.scm (etc-directory): Fix typo in a comment.
49dc60f8 — 宋文武 10 years ago
system: emacs-site-file: Use 'geiser-install to load geiser.

Suggested by Alex Kost <alezost@gmail.com>.

* gnu/system.scm (emacs-site-file): Use 'geiser-install to load geiser
  instead of setting 'geiser-guile-load-path' manually.
2abf6786 — Mark H Weaver 10 years ago
Merge branch 'master' into core-updates
f5a9ffa0 — Alex Kost 10 years ago
system: Rename 'sudoers' into 'sudoers-file'.

* gnu/system.scm (<operating-system>): Rename record field.
  (etc-directory): Rename argument.
  (operating-system-etc-directory): Adjust accordingly.
* doc/guix.texi (operating-system Reference): Likewise.
14928016 — Mark H Weaver 10 years ago
Merge branch 'master' into core-updates
24e02c28 — Ludovic Courtès 10 years ago
system: 'hosts-file' is now a file-like object.

Partly fixes <http://bugs.gnu.org/20720>.
Reported by Alex Kost <alezost@gmail.com>.

* gnu/system.scm (default-/etc/hosts): Change 'text-file' to 'plain-file'.
  (maybe-file->monadic): New procedure.
  (operating-system-etc-directory): Use it.
* doc/guix.texi (operating-system Reference, Networking Services): Adjust
  accordingly.
84765839 — Ludovic Courtès 10 years ago
system: 'sudoers' is now a file-like object.

Partly fixes <http://bugs.gnu.org/20720>
Reported by Alex Kost <alezost@gmail.com>.

* gnu/system.scm (etc-directory): Change default #:sudoers value to a
  'plain-file'.  Don't bind it.  Remove #~#$.
  (maybe-string->file): New procedure.
  (operating-system-etc-directory): Use it.
  (%sudoers-specification): Use 'plain-file'.
* doc/guix.texi (operating-system Reference): Adjust accordingly.
bf87f38a — Ludovic Courtès 10 years ago
system: Define '%base-user-accounts'.

* gnu/system/shadow.scm (%base-user-accounts): New variable.
* gnu/system.scm (<operating-system>)[users]: Use it as the default value.
* gnu/system/examples/bare-bones.tmpl (users): Use it.
* gnu/system/examples/desktop.tmpl (users): Likewise.
* doc/guix.texi (operating-system Reference, User Accounts): Adjust
  accordingly.
0c09a306 — Ludovic Courtès 10 years ago
system: Make sure user accounts refer to existing groups.

Fixes <http://bugs.gnu.org/20646>.
Reported by David Thompson <davet@gnu.org>.

* gnu/system/shadow.scm (assert-valid-users/groups): New procedure
* gnu/system.scm (operating-system-activation-script): Use it.
* tests/guix-system.sh (make_user_config): New function.
  Add 3 tests using it.
* po/guix/POTFILES.in: Add gnu/system/shadow.scm.
86a81222 — 宋文武 10 years ago
Merge branch 'master' into gtk-rebuild

Conflicts:
	gnu/packages/gtk.scm
Next