Commit Graph

3649 Commits

Author SHA1 Message Date
Ludovic Courtès b25937e318 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.
2014-06-27 00:12:40 +02:00
Ludovic Courtès f01efec09a activation: Preserve /etc/groups upon reboots.
This is a followup to e2fcc23.  The /etc/group file would be cleared
when booting.

* guix/build/activation.scm (activate-users+groups)[touch]: Rewrite so
  it does not wipe out FILE's contents.
2014-06-27 00:12:40 +02:00
Ludovic Courtès c1202fb1f9 guix {system,offload}: Improve reporting of syntax errors.
* guix/scripts/system.scm (read-operating-system) <catch handler>: Add
  case for 'syntax-error'.  Correct message for default case.
* guix/scripts/offload.scm (build-machines) <catch handler>: Add case
  for 'syntax-error'.
* tests/guix-system.sh: New file.
* Makefile.am (SH_TESTS): Add it.
2014-06-27 00:12:40 +02:00
David Thompson 80b77646a4 gnu: Add libsodium.
* gnu-system.am (GNU_SYSTEM_MODULES): Add crypto.scm.
* gnu/packages/crypto.scm: New file.
2014-06-26 17:53:29 -04:00
David Thompson 7025a035df gnu: Add guile-opengl.
* gnu/packages/gl.scm (guile-opengl): New variable.
2014-06-26 17:52:44 -04:00
David Thompson d0ed39be55 gnu: Add libvpx.
* gnu/packages/video.scm (libvpx): New variable.
2014-06-26 17:51:40 -04:00
John Darrington 091befba64 gnu: Add new package barcode
* gnu/packages/aidc.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-06-26 19:49:09 +02:00
Ludovic Courtès fe6e3fe2a5 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.
2014-06-25 23:53:27 +02:00
Ludovic Courtès 64e40dbb69 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.
2014-06-25 23:53:27 +02:00
Ludovic Courtès 2d23e6f051 system: Factorize GRUB menu entry label.
* gnu/system.scm (kernel->grub-label): New procedure.
  (operating-system-grub.cfg): Use it.
2014-06-25 23:53:27 +02:00
Eric Bavier 7cd157e221 gnu: cursynth: Upgrade to 1.5.
* gnu/packages/cursynth.scm (cursynth)[source]: Upgrade to 1.5.  New
  'patches' field.
* gnu/packages/patches/cursynth-wave-rand.patch: New patch.
* gnu-system.am (dist_patch_DATA): Add it.
2014-06-25 14:25:26 -05:00
Ludovic Courtès edc28d3c42 gnu: libmicrohttpd: Upgrade to 0.9.37.
* gnu/packages/gnunet.scm (libmicrohttpd): Upgrade to 0.9.37.
2014-06-25 11:47:58 +02:00
Ludovic Courtès 58970d6a5d gnu: gnupg: Upgrade versions 1 and 2 (security fix.)
* gnu/packages/gnupg.scm (gnupg): Upgrade to 2.0.24.
  (gnupg-1): Upgrade to 1.4.17.
2014-06-25 11:47:58 +02:00
Ludovic Courtès 473dad6fde gnu: libgpg-error: Upgrade to 1.13.
* gnu/packages/gnupg.scm (libgpg-error): Upgrade to 1.13.
2014-06-25 11:47:58 +02:00
Ludovic Courtès 7f27b32f31 gnu: nano: Upgrade to 2.3.4.
* gnu/packages/nano.scm (nano): Upgrade to 2.3.4.
2014-06-25 11:47:58 +02:00
Ludovic Courtès 0179cd7ed2 gnu: lightning: Upgrade to 2.0.4.
* gnu/packages/lightning.scm (lightning): Upgrade to 2.0.4.
2014-06-25 11:47:58 +02:00
Ludovic Courtès 85f35ad623 gnu: ddrescue: Upgrade to 1.18.1.
* gnu/packages/disk.scm (ddrescue): Upgrade to 1.18.1.
2014-06-25 11:47:58 +02:00
Ludovic Courtès d12c626cf8 gnu: mcron: Upgrade to 1.0.8.
* gnu/packages/guile.scm (mcron): Upgrade to 1.0.8.
2014-06-25 11:47:57 +02:00
Ludovic Courtès 5177f0fb41 gnu: libtasn1: Upgrade to 3.6.
* gnu/packages/gnutls.scm (libtasn1): Upgrade to 3.6.
2014-06-25 11:47:57 +02:00
Ludovic Courtès 39ed6749dd gnu: nettle: Add version 3.0.
* gnu/packages/nettle.scm (nettle-3): New variable.
2014-06-25 11:47:57 +02:00
Eric Bavier b4eab6a6a5 gnu: parallel: Upgrade to 20140622.
* gnu/packages/parallel.scm (parallel)[source]: Upgrade to 20140622.
2014-06-25 02:23:10 -05:00
Eric Bavier f4bf37825b gnu: moe: Upgrade to 1.6.
* gnu/packages/moe.scm (moe)[source]: Upgrade to 1.6.
  Add 'native-inputs' field.
2014-06-25 02:13:47 -05:00
Ludovic Courtès cadf6cb4cf guix system: Gracefully handle 'install-grub' errors.
* guix/scripts/system.scm (install): Wrap 'install-grub' call in
  'false-if-exception'.  This is a followup to 641f9a2a.
2014-06-24 22:11:12 +02:00
Ludovic Courtès f6ad09ae5a gnu: Move JSON-C to (gnu packages web).
* gnu/packages/pulseaudio.scm (json-c): Move to...
* gnu/packages/web.scm (json-c): ... here.  New variable.
2014-06-24 14:53:51 +02:00
Ludovic Courtès 9ab7415329 gnu: json-c: Upgrade to 0.12.
* gnu/packages/pulseaudio.scm (json-c)[source]: Upgrade to 0.12.  Add
  'modules' and 'snippet' fields.
2014-06-24 14:43:51 +02:00
Ludovic Courtès e11390df55 install: Use udev.
* gnu/system/install.scm (installation-services): Call 'udev-service'.
2014-06-24 00:20:01 +02:00
Ludovic Courtès 151a2c07aa 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.
2014-06-24 00:20:01 +02:00
David Thompson 1bd3f84986 gnu: Add notmuch.
* gnu/packages/mail.scm (notmuch): New variable.
2014-06-23 08:09:39 -04:00
David Thompson f4eae897cb gnu: Add dtach.
gnu/packages/screen.scm (dtach): New variable.
2014-06-23 08:09:33 -04:00
David Thompson 1790739c75 gnu: Add talloc.
* gnu/packages/samba.scm (talloc): New variable.
2014-06-23 08:05:00 -04:00
Ludovic Courtès b76a384715 system: Use the default 'groups' field.
* gnu/system/install.scm (installation-os): Remove 'groups' field.
* build-aux/hydra/demo-os.scm: Likewise.
2014-06-22 22:28:24 +02:00
Ludovic Courtès 773e956d5d 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.
2014-06-22 22:16:14 +02:00
Ludovic Courtès 72507e23b5 system: Remove useless 'members' field of 'user-group'.
* gnu/system/shadow.scm (<user-group>)[members]: Remove field.
* gnu/system/install.scm (installation-os)[users]: Remove 'members'
  fields.  Use 'supplementary-groups' for 'guest'.
* build-aux/hydra/demo-os.scm (users): Likewise.
* gnu/services/base.scm (guix-service): Remove 'members' field.
2014-06-22 21:48:35 +02:00
Ludovic Courtès 528b6a3dce gnu: kmod: Honor $LINUX_MODULE_DIRECTORY.
* gnu/packages/patches/kmod-module-directory.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/linux.scm (kmod)[origin]: Use it.
2014-06-22 21:14:23 +02:00
Andreas Enge d7d42d6b24 gnu: Add udev.
* gnu/packages/linux.scm (udev): New variable.
* gnu/packages/patches/udev-gir-libtool.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2014-06-22 15:02:20 +02:00
Andreas Enge e062d54240 gnu: Add kmod.
* gnu/packages/linux.scm (kmod): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-06-22 12:29:38 +02:00
Ludovic Courtès 9b9148d8bb linux-initrd: Allow unionfs to have a large number of open files.
Fixes <http://bugs.gnu.org/17827>.

* guix/build/linux-initrd.scm (mount-root-file-system) [volatile-root?]:
  Pass unionfs '-o max_file=65536'.
2014-06-21 17:35:56 +02:00
Ludovic Courtès 738146bfd4 nls: Update 'sr' translation. 2014-06-21 15:21:04 +02:00
Ludovic Courtès b6a4dba116 gnu: man-pages: Upgrade to 3.69.
* gnu/packages/man.scm (man-pages): Upgrade to 3.69.
2014-06-21 12:52:34 +02:00
Ludovic Courtès d3e3b77dcc gnu: gnupg: Upgrade to 2.0.23.
* gnu/packages/gnupg.scm (gnupg): Upgrade to 2.0.23.
2014-06-21 00:26:31 +02:00
Ludovic Courtès ea9711018c gnu: global: Upgrade to 6.3.
* gnu/packages/global.scm (global): Upgrade to 6.3.
2014-06-21 00:22:34 +02:00
Ludovic Courtès f513527a8e Merge branch 'core-updates' 2014-06-20 23:44:42 +02:00
Ludovic Courtès 00fe93338d substitute-binary: Warn about uninitialized ACL.
* guix/scripts/substitute-binary.scm (guix-substitute-binary): Call
  'check-acl-initialized'.
  (check-acl-initialized): Don't rely on 'equal?' to compare keys.
  Instead, convert keys to strings.
2014-06-19 23:35:41 +02:00
Ludovic Courtès 080571eeac doc: Mention KVM support for 'guix system'.
* doc/guix.texi (Invoking guix system): Add note about KVM support.
2014-06-19 23:35:41 +02:00
Ludovic Courtès 9b762b8d7c system: Prefer packages from %FINAL-INPUTS.
* gnu/packages/base.scm (canonical-package): New procedure.
* gnu/system.scm (%base-packages): Pass BASH, COREUTILS, FINDUTILS,
  GREP, and SED through 'canonical-package'.
2014-06-19 23:35:41 +02:00
Ludovic Courtès eef4096c14 guix system: 'init' makes sure the target store directory exists.
* guix/scripts/system.scm (install): Before calling 'copy-closure', make
  sure directory (%store-prefix) under TARGET exists.
2014-06-19 23:35:41 +02:00
Ludovic Courtès dc34393569 gnu: isc-dhcp: In native builds, refer to the final Coreutils and sed.
* gnu/packages/admin.scm (isc-dhcp)[inputs]: Add Coreutils and sed only
  when (%current-target-system) is true.
2014-06-19 23:35:41 +02:00
Ludovic Courtès ae5c6fca26 gnu: privoxy: Use etc/privoxy as the sysconfdir.
Reported by "d00000" on #guix.

* gnu/packages/tor.scm (privoxy)[arguments]: Add #:configure-flags.
2014-06-19 23:35:41 +02:00
Mark H Weaver 2c14c6d7cb gnu: gawk: Apply work around to build system for MIPS.
* gnu/packages/gawk.scm (gawk): Work around a build problem on MIPS.
2014-06-18 18:42:35 -04:00
Ludovic Courtès ed4a8816d6 gnu: linux-libre: Upgrade to 3.15.
* gnu/packages/linux.scm (linux-libre): Upgrade to 3.15.
2014-06-18 16:23:06 +02:00