~ruther/guix-local

ref: 2e9511dfbdb5ddd78c2f205c4ca7fc23738d79f8 guix-local/gnu/system.scm -rw-r--r-- 35.5 KiB
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
669786da — Ludovic Courtès 11 years ago
system: Use "." instead of "source" in /etc/profile.

* gnu/system.scm (etc-directory)[profile]: Use "." instead of "source",
  the latter being Bash-specific.
507c71d6 — Ludovic Courtès 11 years ago
system: Check whether ~/.guix-profile/etc/profile exists.

* gnu/system.scm (etc-directory)[profile]: Check for
  ~/.guix-profile/etc/profile rather than just ~/.guix-profile.
d9959421 — Ludovic Courtès 11 years ago
system: /etc/profile sources each profile's /etc/profile.

Partly fixes <http://bugs.gnu.org/20255>.
Reported by 宋文武 <iyzsong@gmail.com>.

* gnu/system.scm (etc-directory)[profile]: Source
  /run/current-system/profile/etc/profile and
  $HOME/.guix-profile/etc/profile when available.  Move definitions of
  SSL_CERT_DIR, SSL_CERT_FILE, and GIT_SSL_CAINFO before that.
933204e5 — Mark H Weaver 11 years ago
Merge branch 'master' into core-updates

Conflicts:
	gnu-system.am
	gnu/packages/gstreamer.scm
8e974b9b — Ludovic Courtès 11 years ago
system: Populate /etc/shells with the list of all the shells in use.

Reported by Andy Wingo <wingo@pobox.com>.

* gnu/system.scm (user-shells, shells-file): New procedures.
  (etc-directory): Add #:shell parameter.  Use 'shells-file' instead of
  'text-file'.
  (operating-system-etc-directory): Call 'user-shells' and pass #:shells
  to 'etc-directory'.
1ca8ff28 — Mark H Weaver 11 years ago
Merge branch 'master' into core-updates
b158f1d7 — Ludovic Courtès 11 years ago
system: Allow users to PTRACE_ATTACH to their own processes.

* gnu/build/activation.scm (activate-ptrace-attach): New procedure.
* gnu/system.scm (operating-system-activation-script): Use it.
5e738ac2 — Mark H Weaver 11 years ago
system: Clean /tmp and /var/run during early boot.

* gnu/system.scm (operating-system-boot-script): Clean out /tmp and
  /var/run before activating the system.
cf3e3e37 — 宋文武 11 years ago
Merge branch 'master' into core-updates
Next