aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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.
* 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.