aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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.
* Remove now unneeded (guix build gnome) module.Ludovic Courtès2014-05-07
| | | | | * guix/build/gnome.scm: Remove. * Makefile.am (MODULES): Update accordingly.
* gnu: Make $XDG_DATA_DIRS a search path variable for GLib.Ludovic Courtès2014-05-06
| | | | | | | | | | * gnu/packages/glib.scm (glib): Add 'native-search-paths' and 'search-paths' fields. * gnu/packages/gnome.scm (libpeas): Remove 'arguments' field. (librsvg)[arguments]: Remove #:modules and #:imported-modules. Remove settings of INTROSPECTION_SCANNER_ARGS and INTROSPECTION_COMPILER_ARGS in makefiles. * gnu/packages/gtk.scm (gtk+): Likewise.
* gnu: gobject-introspection is usually meant to be a native input.Ludovic Courtès2014-05-06
| | | | | | | | * gnu/packages/gtk.scm (atk, pango, gdk-pixbuf, gtk+): Move gobject-introspection to 'native-inputs' since it's only used at build time. * gnu/packages/gnome.scm (libpeas): Move pkg-config, gobject-introspection, and intltool to 'native-inputs'.
* gnu: Add librsvg.Ludovic Courtès2014-05-06
| | | | * gnu/packages/gnome.scm (librsvg): New variable.
* linux-initrd: Delete files from the initrd ramfs when switching roots.Ludovic Courtès2014-05-06
| | | | | | | | | * guix/build/linux-initrd.scm (switch-root): Delete file from the old root. Chdir to / after 'chroot' call. Re-open file descriptors 0, 1, and 2. (boot-system): Move 'loading' message after the 'switch-root' call. * gnu/system.scm (operating-system-boot-script): Add loop that closes file descriptor before calling 'execl'.
* gnu: pius: Use Python 2.Ludovic Courtès2014-05-06
| | | | * gnu/packages/gnupg.scm (pius): Use Python 2.
* gnu: make-bootstrap: Add missing export.Ludovic Courtès2014-05-06
| | | | | * gnu/packages/make-bootstrap.scm: Export '%guile-static-stripped'. The problem was hidden because of <http://bugs.gnu.org/17418>.
* gnu: e2fsprogs: Install the libext2fs Info manual.Ludovic Courtès2014-05-06
| | | | * gnu/packages/linux.scm (e2fsprogs)[native-inputs]: Add TEXINFO.
* gnu: e2fsprogs: Use 'static-package' for the statically-linked variant.Ludovic Courtès2014-05-06
| | | | | * gnu/packages/linux.scm (e2fsprogs/static): Remove. (e2fsck/static): Use (static-package e2fsprogs) instead.
* gnu: gdb: Upgrade to 7.7.1.Ludovic Courtès2014-05-06
| | | | * gnu/packages/gdb.scm (gdb): Upgrade to 7.7.1.
* gnu: gdb: Add dependency on libxml2.Ludovic Courtès2014-05-06
| | | | * gnu/packages/gdb.scm (gdb)[inputs]: Add LIBXML2.
* gnu: Add libgsf.Ludovic Courtès2014-05-06
| | | | * gnu/packages/gnome.scm (libgsf): New variable.
* gnu: Add libcroco.Ludovic Courtès2014-05-06
| | | | * gnu/packages/gnome.scm (libcroco): New variable.
* gnu: pybugz: Add fixlet patches.Ludovic Courtès2014-05-05
| | | | | | | | * gnu/packages/python.scm (python2-pybugz)[source]: Add 'patches' field. * gnu/packages/patches/pybugz-encode-error.patch, gnu/packages/patches/pybugz-stty.patch: New files. * gnu-system.am (dist_patch_DATA): Add them.
* gnu-maintenance: Add missing type check.Ludovic Courtès2014-05-05
| | | | | * guix/gnu-maintenance.scm (gnu-package?): Only call 'mirror-type' when URL is a string.
* linux-initrd: Improve root file system switching.Ludovic Courtès2014-05-04
| | | | | | | | * guix/build/linux-initrd.scm (move-essential-file-systems, switch-root): New procedures. (MS_MOVE): New variable. (boot-system): Remove 'mount-essential-file-systems' call for ROOT. Use 'switch-root' instead of chdir + chroot.
* services: networking: Fix typo in static networking service.Ludovic Courtès2014-05-04
| | | | | * gnu/services/networking.scm (static-networking-service): Use $inetutils/bin/ifconfig, not $inetutils/sbin/ifconfig.
* gnu: Add missing import in (gnu packages maths).Ludovic Courtès2014-05-04
| | | | | * gnu/packages/maths.scm: Use (guix utils), which was needed since b9100e2f.
* linux-initrd: Check the root and other early file systems.Ludovic Courtès2014-05-04
| | | | | | | | | | | | | | | | | | | | * gnu/system.scm (operating-system-derivation)[boot-file-systems]: Keep "/". * gnu/system/linux-initrd.scm (file-system->spec): Keep the 'check?' flag. (qemu-initrd)[helper-packages]: New variable. Pass it as #:to-copy. <gexp>: Add 'set-path-environment-variable' call. Remove #:unionfs argument for 'boot-system'. * gnu/system/vm.scm (%linux-vm-file-systems): Add 'check?' field/ (virtualized-operating-system): Likewise for the "9p" file system. * guix/build/linux-initrd.scm (mount-root-file-system): Change #:unionfs default. Call 'check-file-system' before mounting ROOT, when VOLATILE-ROOT? is false. (check-file-system): New procedure. (mount-file-system): Honor 'check?' element in list; add 'check-file-system' call. (boot-system): Remove #:root-fs-type and #:unionfs parameters. [root-mount-point?, root-fs-type]: New variables. Call 'mount-file-system' on all MOUNTS but "/".
* activation: Fix deletion of setuid programs.Ludovic Courtès2014-05-04
| | | | | * guix/build/activation.scm (activate-setuid-programs): When %SETUID-DIRECTORY exists, pass the right file names to 'delete-file'.
* gnu: Add statically-linked versions of e2fsprogs and the fsck.* commands.Ludovic Courtès2014-05-03
| | | | | * gnu/packages/linux.scm (e2fsprogs/static, e2fsck/static): New variables.
* vm: Provide a root partition for the freestanding VM image.Ludovic Courtès2014-05-03
| | | | | | | Fixes a regression introduced in 83bcd0b. * gnu/system/vm.scm (system-qemu-image): Override the 'file-systems' field of OS. Add #:file-system-type parameter and honor it.
* vm: Make root file system type a parameter, and default to ext4.Ludovic Courtès2014-05-03
| | | | | | | | | | | | * gnu/system/vm.scm (qemu-image): Add #:file-system-type parameter. Pass it to 'initialize-hard-disk'. * guix/build/linux-initrd.scm (mount-root-file-system): Always honor TYPE. (boot-system): Change #:root-fs-type to default to "ext4". Update docstring. * guix/build/vm.scm (initialize-hard-disk): Remove #:mkfs parameter; add #:file-system-type. Adjust 'mkfs' invocation and 'mount' call to honor #:file-system-type.
* doc: Minor improvements in "G-Expressions".Ludovic Courtès2014-05-03
| | | | | | * doc/guix.texi (G-Expressions): Show coreutils version number in store file name. Add xref to "Derivations", in documentation of 'gexp->derivation'. Fix typo.
* gnu: Add diffstat.Ludovic Courtès2014-05-03
| | | | * gnu/packages/version-control.scm (diffstat): New variable.
* ftp-client: Add missing CR in "USER" command.Ludovic Courtès2014-05-03
| | | | | | * guix/ftp-client.scm (%ftp-login): Add #\return before #\newline. Fixes access to some FTP servers, such as ftp://invisible-island.net ("ProFTPD 1.3.4a Server").
* system: Add first-class file system declarations.Ludovic Courtès2014-05-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/system.scm (<operating-system>)[initrd]: Default to 'qemu-initrd'. (<file-system>): New record type. (operating-system-root-file-system): New procedure. (operating-system-derivation): Take the device name for GRUB from 'operating-system-root-file-system'. Pass the 'operating-system-initrd' procedure the list of boot file systems. * gnu/system/linux-initrd.scm (file-system->spec): New procedure. (qemu-initrd): Add 'file-systems' parameter, and remove #:mounts parameter. [file-system-type-predicate]: New procedure. [linux-modules]: Use it. Adjust #:mounts argument in 'boot-system' call. (gnu-system-initrd): Remove. * gnu/system/vm.scm (%linux-vm-file-systems): New variable. (expression->derivation-in-linux-vm): Adjust call to 'qemu-initrd'. (virtualized-operating-system): New procedure. (system-qemu-image/shared-store-script)[initrd]: Remove. Use 'virtualized-operating-system'. Get the 'initrd' file from OS-DRV. * guix/build/linux-initrd.scm (mount-qemu-smb-share, mount-qemu-9p): Remove. (MS_RDONLY, MS_BIND): New global variables. (bind-mount): Remove local 'MS_BIND' definition. (mount-root-file-system): New procedure, with code formerly in 'boot-system'. (mount-file-system): New procedure. (boot-system): Add #:root-fs-type parameter. Remove 'MS_RDONLY' local variable. Use 'mount-root-file-system' and 'mount-file-system'. * doc/guix.texi (Using the Configuration System): Add 'file-system' declaration.