summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-05-18guix system: Add 'init' sub-command.Ludovic Courtès
* guix/scripts/system.scm (install): New procedure. (guix-system)[parse-option]: Remove check for extraneous arguments. [match-pair, option-arguments]: New procedures. Use 'option-arguments'. Honor 'init'. (show-help): Document 'init'. * doc/guix.texi (Invoking guix system): Document 'init'.
2014-05-18store: Change #:store parameter to #:prefix.Ludovic Courtès
* guix/store.scm (register-path): Change #:store to #:prefix.
2014-05-18vm: Avoid resetting timestamps twice.Ludovic Courtès
* guix/build/vm.scm (initialize-hard-disk): Don't call 'reset-timestamps' when REGISTER-CLOSURES? is true. * guix/build/install.scm (register-closure): Mention timestamps in docstring.
2014-05-18gnu: openmpi: Add memchecker support.Eric Bavier
* gnu/packages/mpi.scm (openmpi) [inputs]: Add valgrind. Unpropagate gfortran. [arguments]: Add configure flags for memchecker.
2014-05-18system: Make /run/current-system at activation time.Ludovic Courtès
* gnu/system.scm (etc-directory): Change default value of #:profile. Change contents of SHELLS. Use /run/current-system/profile/{s,}bin in BASHRC. (operating-system-boot-script)[%modules]: Add (guix build linux-initrd). Add call to 'activate-current-system' in gexp. (operating-system-initrd-file, operating-system-grub.cfg): New procedures. (operating-system-derivation): Don't build grub.cfg here and remove it from the file union. * gnu/system/vm.scm (qemu-image): Remove #:populate. (operating-system-build-gid, operating-system-default-contents): Remove. (system-qemu-image): Remove call to 'operating-system-default-contents'. Use 'operating-system-grub.cfg' to get grub.cfg. Add GRUB.CFG to #:inputs. (system-qemu-image/shared-store): Likewise, but don't add GRUB.CFG to #:inputs. (system-qemu-image/shared-store-script): Pass --system kernel option. * guix/build/activation.scm (%booted-system, %current-system): New variables. (boot-time-system, activate-current-system): New procedures. * guix/build/install.scm (evaluate-populate-directive): Add case for ('directory name uid gid mode). (directives, populate-root-file-system): New procedures. * guix/build/vm.scm (initialize-hard-disk): Replace calls to 'evaluate-populate-directive' by a call to 'populate-root-file-system'. * gnu/services/dmd.scm (dmd-configuration-file): Use /run/current-system/profile/bin. * gnu/services/xorg.scm (slim-service): Likewise.
2014-05-17gnu: soprano: Add input redland.Andreas Enge
* gnu/packages/rdf.scm (soprano): Add inputs redland and rasqal, drop raptor2 (propagated by rasqal).
2014-05-17gnu: Add redland.Andreas Enge
* gnu/packages/rdf.scm (redland): New variable.
2014-05-17gnu: rasqal: Propagate input raptor2.Andreas Enge
* gnu/packages/rdf.scm (rasqal): Propagate input raptor2 as indicated in the pkg-config file.
2014-05-17build: Add --with-libgcrypt-libdir=DIR to support Debian's multi-arch layout.Ludovic Courtès
* configure.ac: Remove 'LIBGCRYPT_PREFIX' and use 'LIBGCRYPT_LIBDIR' instead. Add --with-libgcrypt-libdir=DIR option. * Makefile.am (AM_DISTCHECK_CONFIGURE_FLAGS): Pass '--with-libgcrypt-libdir'. * config-daemon.ac: Honor $LIBGCRYPT_LIBDIR when computing LIBGCRYPT_LIBS.
2014-05-17gnu: Add rasqal.Andreas Enge
* gnu/packages/rdf.scm (rasqal): New variable.
2014-05-17store: Add #:store parameter to 'register-path'.Ludovic Courtès
* guix/store.scm (register-path): Add #:store and honor it.
2014-05-16linux-initrd: Factorize kernel command-line option parsing.Ludovic Courtès
* guix/build/linux-initrd.scm (find-long-option): New procedure. (boot-system): Use it instead of the local 'option'.
2014-05-16hydra: Add dummy root file system declaration.Ludovic Courtès
* build-aux/hydra/demo-os.scm (file-systems): Add "/" file system.
2014-05-16guix system: Add 'build' action.Ludovic Courtès
* guix/scripts/system.scm (show-help): Document 'build' action. (guix-system): Honor 'build' action. * doc/guix.texi (Invoking guix system): Add 'build' action.
2014-05-16gnu: Add libuv.Ludovic Courtès
* gnu/packages/libevent.scm (libuv): New variable.
2014-05-16authenticate: Add compatibility hack for Guile 2.0.5.Ludovic Courtès
* guix/scripts/authenticate.scm (%default-port-conversion-strategy): New variable. Reported by Andreas Enge <andreas@enge.fr>.
2014-05-16list-runtime-roots: Don't display a backtrace on 2.0.5 when lsof is lacking.Ludovic Courtès
* nix/scripts/list-runtime-roots.in (lsof-roots): Fix typo in 'catch' tag. Add 'parent' variable. Wrap 'open-pipe*' call in 'catch'. Reported by Andreas Enge <andreas@enge.fr>.
2014-05-15system: Add (guix build install) module.Ludovic Courtès
* guix/build/vm.scm (install-grub, evaluate-populate-directive, reset-timestamps, register-closure): Move to... * guix/build/install.scm: ... here. New file. * Makefile.am (MODULES): Add it. * gnu/system/vm.scm (expression->derivation-in-linux-vm): Add (guix build install) to #:modules.
2014-05-15vm: Support initialization of the store DB when the store is shared.Ludovic Courtès
* gnu/system/vm.scm (qemu-image): Rename #:inputs-to-copy to #:inputs, and #:initialize-store? to #:register-closures?. Add #:copy-inputs?. Adjust build gexp accordingly. (system-qemu-image): Remove #:initialize-store? argument and add #:copy-inputs?. (system-qemu-image/shared-store): Add #:inputs, #:register-closures?, and #:copy-inputs? arguments. * guix/build/vm.scm (register-closure): New procedure. (MS_BIND): New variable. (initialize-hard-disk): Rename #:initialize-store? to #:register-closures?, #:closures-to-copy to #:closures, and add #:copy-closures?. Add 'target-directory' and 'target-store' variables. Call 'populate-store' only when COPY-CLOSURES?. Bind-mount the store to TARGET-STORE when REGISTER-CLOSURES? and not COPY-CLOSURES?. Add call to 'register-closure'.
2014-05-15build: Remove fusectl from the default file systems in the demo OS.Ludovic Courtès
* build-aux/hydra/demo-os.scm (file-systems): Comment out %FUSE-CONTROL-FILE-SYSTEM, since fuse.ko is missing by default in the freestanding VM image.
2014-05-14system: Provide declarations for the 'fusectl' and 'binfmt_misc' file systems.Ludovic Courtès
* gnu/system.scm (%fuse-control-file-system, %binary-format-file-system): New variables. * build-aux/hydra/demo-os.scm (file-systems): New field.
2014-05-14vm: Keep acceptable file systems from the original OS.Ludovic Courtès
* gnu/system/vm.scm (virtualized-operating-system): Instead of completely overriding 'file-systems', use 'remove' to filter out some of those declared in OS. (system-qemu-image): Likewise.
2014-05-14gnu: xterm: Upgrade to 304.Ludovic Courtès
* gnu/packages/xorg.scm (xterm): Upgrade to 304. Switch to a version-specific URL.
2014-05-14activation: Silence warning from 'useradd'.Ludovic Courtès
* guix/build/activation.scm (add-user): Don't pass '--create-home' when HOME already exists.
2014-05-14linux-initrd: Make /dev/ttyS0, for debugging.Ludovic Courtès
* guix/build/linux-initrd.scm (make-essential-device-nodes): Make /dev/ttyS0.
2014-05-14system: When unionfs-fuse is used for /, don't kill it when halting.Ludovic Courtès
* guix/build/linux-initrd.scm (pidof): New procedure. (mount-root-file-system)[mark-as-not-killable]: New procedure. Use it for unionfs when VOLATILE-ROOT?. * gnu/services/base.scm (%do-not-kill-file): New variable. (user-processes-service)[stop]: Honor it.
2014-05-14syscalls: Add 'processes' to list all the live processes.Ludovic Courtès
* guix/build/syscalls.scm (kernel?, processes): New procedures.
2014-05-14gnu: libsm: Propagate input libice.Andreas Enge
* gnu/packages/xorg.scm (libsm): Propagate input libice.
2014-05-14gnu: qt-4: Upgrade to 4.8.6.Andreas Enge
* gnu/packages/qt.scm (qt-4): Upgrade to 4.8.6.
2014-05-14gnu: qt-4: Enable session management by adding libsm as an input.Andreas Enge
* gnu/packages/qt.scm (qt-4): Add input qt-4.
2014-05-14vm: Pass '-serial stdio' in the run-vm.sh.Ludovic Courtès
* gnu/system/vm.scm (system-qemu-image/shared-store-script): Add '-serial stdio'.
2014-05-14system: Move skeleton code to (gnu system shadow).Ludovic Courtès
* gnu/system.scm (default-skeletons, skeleton-directory): Move to... * gnu/system/shadow.scm: ... here.
2014-05-14doc: Improve debugging file documentation.Ludovic Courtès
* doc/guix.texi (Installing Debugging Files): Add @cindex. Remove unneeded '-i' in example. Mention source code an 'directory'. Link to "Build Systems" instead of "Defining Packages".
2014-05-14system: Add skeleton '.gdbinit'.Ludovic Courtès
* gnu/system.scm (default-skeletons): Add .gdbinit.
2014-05-12gnu: openmpi: Use our hwloc.Eric Bavier
* gnu/packages/mpi.scm (hwloc): Propagate numactl. (openmpi)[inputs]: Add hwloc. [native-inputs]: Add pkg-config. [argument]: Add hwloc configure flags.
2014-05-12gnu: Add babl.Ludovic Courtès
* gnu/packages/gimp.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-05-12system: Populate /etc/skel.Ludovic Courtès
* gnu/system.scm (<operating-system>)[skeletons]: New field. (default-skeletons, skeleton-directory): New procedures. (etc-directory): Add #:skeletons parameter. Call 'skeleton-directory', and produce the 'skel' sub-directory. (operating-system-etc-directory): Pass #:skeletons to 'etc-directory'.
2014-05-12doc: Add example for --search.Ludovic Courtès
* doc/guix.texi (Invoking guix package): Add LGPLv3 example.
2014-05-12gnu: perl-tk: Patch for i686Eric Bavier
* gnu/packages/patches/perl-tk-x11-discover.patch: New patch. * gnu-system.am [dist_patch_DATA]: Add it. * gnu/packages/tcl.scm (perl-tk)[origin]: Use it.
2014-05-11system: Make accounts and groups at activation time.Ludovic Courtès
* gnu/services/base.scm (guix-build-accounts): Remove #:gid parameter; add #:group. Remove 'password' and 'gid' fields in 'user-account' form, and add 'group'. (guix-service): Remove #:build-user-gid parameter. Remove 'id' field in 'user-group' form. * gnu/system.scm (etc-directory): Remove #:groups and #:accounts. No longer produce files "passwd", "shadow", and "group". Adjust caller accordingly. (%root-account): New variable. (operating-system-accounts): Add 'users' variable. Add %ROOT-ACCOUNT only of 'operating-system-users' doesn't already contain a root account. (user-group->gexp, user-account->gexp): New procedures. (operating-system-boot-script): Add calls to 'setenv' and 'activate-users+groups' in gexp. * gnu/system/linux.scm (base-pam-services): Add PAM services for "user{add,del,mode}" and "group{add,del,mod}". * gnu/system/shadow.scm (<user-account>)[gid]: Rename to... [group]: ... this. [supplementary-groups]: New field. [uid, password]: Default to #f. (<user-group>)[id]: Default to #f. (group-file, passwd-file): Remove. * gnu/system/vm.scm (operating-system-default-contents)[user-directories]: Remove. Add "/home" to the directives. * guix/build/activation.scm (add-group, add-user, activate-users+groups): New procedures.
2014-05-11services: xorg: Fix harmless typo in slim.cfg.Ludovic Courtès
* gnu/services/xorg.scm (slim-service): Add missing whitespace in XINITRC invocation.
2014-05-11gnu: pspp: Upgrade to 0.8.3John Darrington
* gnu/packages/maths.scm (pspp): Update to 0.8.3.
2014-05-11doc: Mention upgrades that trigger a lot of rebuilds.Ludovic Courtès
* HACKING (Commit Access): Mention upgrades that trigger a lot rebuilds.
2014-05-11doc: Add a section on perl modules in the packaging guidelines.Andreas Enge
* doc/guix.texi (Perl modules): New section explaining the naming of perl modules.
2014-05-10vm: Fix recently-introduced regression in 'operating-system-services' use.Ludovic Courtès
* gnu/system/vm.scm (operating-system-build-gid): Adjust to new return type of 'operating-system-services' introduced in 217a5b8.
2014-05-10services: Add 'file-system-service'.Ludovic Courtès
* gnu/services/base.scm (file-system-service): New procedure. (user-processes-service): Add 'requirements' parameter. * gnu/services/dmd.scm (dmd-configuration-file): Use (guix build linux-initrd). * guix/build/linux-initrd.scm (guix): Export 'check-file-system'. * gnu/system.scm (file-union): New procedure. (essential-services): Use it. Add that to the returned list.
2014-05-10services: Use (guix build syscalls) instead of util-linux.Ludovic Courtès
* gnu/services/dmd.scm (dmd-configuration-file): Add derivations for the (guix build syscalls) module, and add that to the load path of dmd.conf. * gnu/services/base.scm (root-file-system-service): Rewrite using the 'sync' and 'mount' procedures.
2014-05-10Add (guix build syscalls).Ludovic Courtès
* guix/build/syscalls.scm, tests/syscalls.scm: New files. * Makefile.am (MODULES): Add guix/build/syscalls.scm. (SCM_TESTS): Add tests/syscalls.scm. * guix/utils.scm (%libc-errno-pointer, errno): Remove; take from (guix build syscalls).
2014-05-10linux-initrd: Append to /etc/mtab.Ludovic Courtès
* guix/build/linux-initrd.scm (mount-file-system): Open /etc/mtab in append mode.
2014-05-09system: Automatically add essential services.Ludovic Courtès
* gnu/services/base.scm (%base-services): Remove calls to 'host-name-service', 'user-processes-service', and 'root-file-system-service'. * gnu/system.scm (<operating-system>)[operating-system-services]: Rename to... [operating-system-user-services]: ... this. (essential-services, operating-system-services): New procedures. (operating-system-accounts, operating-system-etc-directory, operating-system-boot-script, operating-system-derivation): Adjust to new 'operating-system-services' return type.