summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* system: Add (guix build install) module.Ludovic Courtès2014-05-15
| | | | | | | | | * 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.
* vm: Support initialization of the store DB when the store is shared.Ludovic Courtès2014-05-15
| | | | | | | | | | | | | | | | | | | * 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'.
* build: Remove fusectl from the default file systems in the demo OS.Ludovic Courtès2014-05-15
| | | | | | * 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.
* system: Provide declarations for the 'fusectl' and 'binfmt_misc' file systems.Ludovic Courtès2014-05-14
| | | | | | * gnu/system.scm (%fuse-control-file-system, %binary-format-file-system): New variables. * build-aux/hydra/demo-os.scm (file-systems): New field.
* vm: Keep acceptable file systems from the original OS.Ludovic Courtès2014-05-14
| | | | | | | * 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.
* gnu: xterm: Upgrade to 304.Ludovic Courtès2014-05-14
| | | | | * gnu/packages/xorg.scm (xterm): Upgrade to 304. Switch to a version-specific URL.
* activation: Silence warning from 'useradd'.Ludovic Courtès2014-05-14
| | | | | * guix/build/activation.scm (add-user): Don't pass '--create-home' when HOME already exists.
* linux-initrd: Make /dev/ttyS0, for debugging.Ludovic Courtès2014-05-14
| | | | | * guix/build/linux-initrd.scm (make-essential-device-nodes): Make /dev/ttyS0.
* system: When unionfs-fuse is used for /, don't kill it when halting.Ludovic Courtès2014-05-14
| | | | | | | | * 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.
* syscalls: Add 'processes' to list all the live processes.Ludovic Courtès2014-05-14
| | | | * guix/build/syscalls.scm (kernel?, processes): New procedures.
* gnu: libsm: Propagate input libice.Andreas Enge2014-05-14
| | | | * gnu/packages/xorg.scm (libsm): Propagate input libice.
* gnu: qt-4: Upgrade to 4.8.6.Andreas Enge2014-05-14
| | | | * gnu/packages/qt.scm (qt-4): Upgrade to 4.8.6.
* gnu: qt-4: Enable session management by adding libsm as an input.Andreas Enge2014-05-14
| | | | * gnu/packages/qt.scm (qt-4): Add input qt-4.
* vm: Pass '-serial stdio' in the run-vm.sh.Ludovic Courtès2014-05-14
| | | | | * gnu/system/vm.scm (system-qemu-image/shared-store-script): Add '-serial stdio'.
* system: Move skeleton code to (gnu system shadow).Ludovic Courtès2014-05-14
| | | | | * gnu/system.scm (default-skeletons, skeleton-directory): Move to... * gnu/system/shadow.scm: ... here.
* doc: Improve debugging file documentation.Ludovic Courtès2014-05-14
| | | | | | * 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".
* system: Add skeleton '.gdbinit'.Ludovic Courtès2014-05-14
| | | | * gnu/system.scm (default-skeletons): Add .gdbinit.
* gnu: openmpi: Use our hwloc.Eric Bavier2014-05-12
| | | | | | | * gnu/packages/mpi.scm (hwloc): Propagate numactl. (openmpi)[inputs]: Add hwloc. [native-inputs]: Add pkg-config. [argument]: Add hwloc configure flags.
* gnu: Add babl.Ludovic Courtès2014-05-12
| | | | | * gnu/packages/gimp.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* system: Populate /etc/skel.Ludovic Courtès2014-05-12
| | | | | | | | | * 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'.
* doc: Add example for --search.Ludovic Courtès2014-05-12
| | | | * doc/guix.texi (Invoking guix package): Add LGPLv3 example.
* gnu: perl-tk: Patch for i686Eric Bavier2014-05-12
| | | | | | * 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.
* system: Make accounts and groups at activation time.Ludovic Courtès2014-05-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* services: xorg: Fix harmless typo in slim.cfg.Ludovic Courtès2014-05-11
| | | | | * gnu/services/xorg.scm (slim-service): Add missing whitespace in XINITRC invocation.
* gnu: pspp: Upgrade to 0.8.3John Darrington2014-05-11
| | | | * gnu/packages/maths.scm (pspp): Update to 0.8.3.
* doc: Mention upgrades that trigger a lot of rebuilds.Ludovic Courtès2014-05-11
| | | | * HACKING (Commit Access): Mention upgrades that trigger a lot rebuilds.
* doc: Add a section on perl modules in the packaging guidelines.Andreas Enge2014-05-11
| | | | | * doc/guix.texi (Perl modules): New section explaining the naming of perl modules.
* vm: Fix recently-introduced regression in 'operating-system-services' use.Ludovic Courtès2014-05-10
| | | | | * gnu/system/vm.scm (operating-system-build-gid): Adjust to new return type of 'operating-system-services' introduced in 217a5b8.
* services: Add 'file-system-service'.Ludovic Courtès2014-05-10
| | | | | | | | | | * 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.
* services: Use (guix build syscalls) instead of util-linux.Ludovic Courtès2014-05-10
| | | | | | | | * 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.
* Add (guix build syscalls).Ludovic Courtès2014-05-10
| | | | | | | | * 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).
* linux-initrd: Append to /etc/mtab.Ludovic Courtès2014-05-10
| | | | | * guix/build/linux-initrd.scm (mount-file-system): Open /etc/mtab in append mode.
* system: Automatically add essential services.Ludovic Courtès2014-05-09
| | | | | | | | | | | | | * 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.
* gnu: fftw: Factor out OpenMPI dependency.Eric Bavier2014-05-09
| | | | | * gnu/packages/algebra.scm (fftw)[inputs,arguments]: Remove OpenMPI. (fftw-openmpi): New variable.
* gnu: Add hwloc.Ludovic Courtès2014-05-09
| | | | | * gnu/packages/mpi.scm (hwloc): New variable. (openmpi): Add TODO comment.
* gnu: Add pciutils.Ludovic Courtès2014-05-09
| | | | | * gnu/packages/pciutils.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* gnu: Add numactl.Ludovic Courtès2014-05-09
| | | | * gnu/packages/linux.scm (numactl): New variable.
* gnu: openmpi: Fix typo in download uriEric Bavier2014-05-08
| | | | * gnu/packages/mpi.scm (openmpi)[origin]: Fix typo.
* gnu: fftw: Add dependency on openmpi.Eric Bavier2014-05-08
| | | | * gnu/packages/algebra.scm (fftw)[inputs,arguments]: Add OpenMPI.
* gnu: fftw: Upgrade to 3.3.4Eric Bavier2014-05-08
| | | | * gnu/packages/algebra.scm (fftw): Upgrade to 3.3.4.
* services: Add service to cleanly unmount the root file system.Ludovic Courtès2014-05-08
| | | | | | | | | | | * gnu/services/base.scm (root-file-system-service, user-processes-service): New procedures. (mingetty-service, nscd-service, syslog-service, guix-service): Add requirement on 'user-processes'. (%base-services): Add (user-processes-service) and (root-file-system-service). * gnu/services/xorg.scm (slim-service): Add requirement on 'user-processes'.
* linux-initrd: Don't leak /dev/console file descriptors.Ludovic Courtès2014-05-08
| | | | | | * guix/build/linux-initrd.scm (switch-root): Simplify /dev/console code. This fixes a bug where we would leak the IN and OUT file descriptors.
* doc: Mention Kiselyov's work on "staging".Ludovic Courtès2014-05-08
| | | | | * doc/guix.texi (G-Expressions): Mention Oleg's work on "staging" in footnote.
* git-download: Disable TLS certificate verification.Ludovic Courtès2014-05-08
| | | | * guix/build/git.scm (git-fetch): Add 'setenv' call.
* gnu: openmpi: Avoid "open source" verbiageEric Bavier2014-05-08
| | | | | * gnu/packages/mpi.scm (openmpi)[synopsis,description]: Remove mention of "open source".
* gnu: Add petsc-openmpi.Eric Bavier2014-05-08
| | | | | * gnu/packages/maths.scm (petsc-openmpi): New variable. (petsc-complex-openmpi): New variable.
* gnu: petsc: Clean some more leaked chroot referencesEric Bavier2014-05-08
| | | | | | * gnu/packages/maths.scm (petsc)[arguments]: Scrub some config-generated header files before build. Only remove files if they exist.
* gnu: Add OpenMPIEric Bavier2014-05-08
| | | | | * gnu/packages/mpi.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* Change 'nix-upstream' submodule URL.Ludovic Courtès2014-05-08
| | | | | * .gitmodules: Use https, not http. Reported by Pjotr Prins <pjotr.public12@thebird.nl>.
* linux-initrd: Update /etc/mtab.Ludovic Courtès2014-05-08
| | | | | | * guix/build/linux-initrd.scm (mount-root-file-system): Populate /root/etc/mtab. (mount-file-system): Update ROOT/etc/mtab.