~ruther/guix-local

1b0a8212 — Nikita Karetnikov 12 years ago
guix package: Rename generation-related procedures.

* guix/scripts/package.scm (profile-numbers): Rename to 'generation-numbers'.
  (previous-profile-number): Rename to 'previous-generation-number'.
  (profile-number): Rename to 'generation-number'.
  (roll-back): Rename 'previous-profile' to 'previous-generation'.
7763c538 — Ludovic Courtès 12 years ago
Thank Matthias and Yutaka.
ea167380 — Ludovic Courtès 12 years ago
daemon: Use 'int' instead of the internal 'gcry_md_algo_t' type.

Fixes compilation with the forthcoming libgcrypt 1.6.x.
Reported by Matthias Wachs <wachs@net.in.tum.de>
and NIIBE Yutaka <gniibe@fsij.org>.

* nix/libutil/gcrypt-hash.cc (guix_hash_init, guix_hash_final): Use
  'int' as the type of the 'algo' parameter.
* nix/libutil/gcrypt-hash.hh: Update declarations accordingly.
8eaa8a3b — Ludovic Courtès 12 years ago
gnu: avahi, dbus: Use /var as $localstatedir.

* gnu/packages/avahi.scm (avahi): Pass '--localstatedir'; add
  'patch/localstatedir'.
* gnu/packages/glib.scm (dbus): Pass '--localstatedir' and
  '--with-session-socket-dir'; add 'patch/localstatedir'.
* gnu/packages/patches/avahi-localstatedir.patch,
  gnu/packages/patches/dbus-localstatedir.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
0ded70f3 — Ludovic Courtès 12 years ago
gnu: Move helper code to (gnu system …) modules.

* gnu/packages/grub.scm (<menu-entry>, grub-configuration-file): Move
  to...
* gnu/system/grub.scm: ... here.  New file.
* gnu/packages/linux.scm (<pam-service>, <pam-entry>,
  pam-service->configuration, pam-service->directory,
  %pam-other-services, unix-pam-service): Move to...
* gnu/system/linux.scm: ... here.  New file.
* gnu/system/vm.scm (passwd-file): Move to...
* gnu/system/shadow.scm: ... here.  New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add
  gnu/system/{grub,linux,shadow}.scm.
aedb72fb — Ludovic Courtès 12 years ago
gnu: vm: Remove potluck hacks.

* gnu/system/vm.scm (example1): Remove.
  (example2): Rename to...
  (system-qemu-image): ... this.  Add 'store' parameter, and remove call
  to 'open-connection'.
a843fe22 — Ludovic Courtès 12 years ago
gnu: vm: Setup PAM.

* gnu/system/vm.scm (example2): Use 'pam-services->directory'.  Change
  POPULATE to create /etc/pam.d, /etc/login.defs, and /var/run.  Change
  BOOT to spawn syslogd; boot to Bash.  Add inputs.
3b07625a — Ludovic Courtès 12 years ago
gnu: vm: Create shadow files with the right format.

* gnu/system/vm.scm (passwd-file): When SHADOW? is true, use the right
  shadow(5) format.  Always add a trailing newline.
37c825eb — Ludovic Courtès 12 years ago
linux-initrd: Create /dev/klog and /dev/kmsg.

* guix/build/linux-initrd.scm (make-essential-device-nodes): Make
  /dev/klog and /dev/kmsg.
e0ba5fe5 — Ludovic Courtès 12 years ago
gnu: linux-initrd: Fix typo.

* gnu/packages/linux-initrd.scm (gnu-system-initrd): Add missing
  argument to 'format' call.
c84d0eca — Ludovic Courtès 12 years ago
gnu: linux-pam: Add declarative PAM service interface.

* gnu/packages/linux.scm (<pam-service>, <pam-entry>): New record
  types.
  (pam-service->configuration, pam-services->directory,
  unix-pam-service): New procedures.
  (%pam-other-services): New variable.
cfbf9160 — Ludovic Courtès 12 years ago
store: The 'references' parameter of 'add-text-to-store' is now optional.

* guix/store.scm (add-text-to-store): Make 'references' optional.
* tests/store.scm ("dead-paths", "references"): Use 'add-text-to-store'
  with no optional argument.
* doc/guix.texi (The Store): Adjust accordingly.
590a4904 — Andreas Enge 12 years ago
gnu: isl: Update urls.

* gnu/packages/gcc.scm (isl): Update source and home page url.
d34c0ac6 — Ludovic Courtès 12 years ago
gnu: vm: Copy /etc/shadow to the guest.

* gnu/system/vm.scm (example2): Add SHADOW to #:inputs-to-copy.
98aeb06b — Ludovic Courtès 12 years ago
gnu: vm: Create valid /etc/shadow and /etc/passwd.

* gnu/system/vm.scm (/etc/passwd): Rename to...
  (passwd-file): ... this. Add 'shadow?' keyword parameter.  Change
  format of ACCOUNTS, and fix CONTENTS.
  (example2): Adjust accordingly.  Create both /etc/shadow and
  /etc/passwd, the latter being used by getpwnam(3) & co. when nscd is
  not running.
8ab73e91 — Ludovic Courtès 12 years ago
gnu: vm: Clear timestamps on the imported files, like in the store.

* gnu/system/vm.scm (qemu-image): Clear timestamps on the copied files.
6bf25b7b — Ludovic Courtès 12 years ago
hydra: Support a 'subset' argument.

* build-aux/hydra/gnu-system.scm (%core-packages): New variable.
  (%packages-to-cross-build): Make an alias for %CORE-PACKAGES.
  (hydra-jobs): Check for the 'subset' argument, and honor it for values
  "all" and "core".
e7b38500 — Ludovic Courtès 12 years ago
gnu: linux-libre: Upgrade to 3.11.

* gnu/packages/linux.scm (linux-libre): Upgrade to 3.11.  Add bc as an
  input.
0e2ddecd — Ludovic Courtès 12 years ago
gnu: grub: Add support for building configuration files.

* gnu/packages/grub.scm (<menu-entry>): New record type.
  (grub-configuration-file): New procedure.
* gnu/system/vm.scm (qemu-image): Remove parameters 'linux',
  'linux-arguments', and 'initrd'.  Add 'grub-configuration' parameter.
  Honor them, and remove grub.cfg generation code accordingly.
  (example2): Use `grub-configuration-file', and adjust accordingly.
2df74ac1 — Ludovic Courtès 12 years ago
doc: Add "Data Types and Pattern Matching" to the Coding Style.

* HACKING (Data Types and Pattern Matching): New section.
Next