aboutsummaryrefslogtreecommitdiff
path: root/gnu
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.
* 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.
* 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'.
* 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.
* 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.
* 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 "/".
* 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.
* gnu: Add diffstat.Ludovic Courtès2014-05-03
| | | | * gnu/packages/version-control.scm (diffstat): New variable.
* 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.
* gnu: Add missing copyright lineEric Bavier2014-05-02
| | | | * gnu/packages/maths.scm: Add copyright line missing from 3de01d3.
* gnu: petsc: Add input superlu.Eric Bavier2014-05-02
| | | | * gnu/packages/maths.scm (petsc): Configure with superlu support.
* gnu: Add superluEric Bavier2014-05-02
| | | | * gnu/packages/maths.scm (superlu): New variable
* gnu: qemu: Upgrade to 2.0.0.Ludovic Courtès2014-05-01
| | | | * gnu/packages/qemu.scm (qemu-headless): Upgrade to 2.0.0.
* system: Add 'sudo' to the setuid programs, and handle /etc/sudoers.Ludovic Courtès2014-05-01
| | | | | | | | | | | | | | * gnu/system.scm (<operating-system>)[groups]: Change default to just the 'root' group. [sudoers]: New field. (etc-directory): Add #:sudoers parameter. Add 'sudoers' to the file union. (operating-system-etc-directory): Pass #:sudoers to 'etc-directory'. (%setuid-programs): Add 'sudo'. (%sudoers-specification): New variable. * gnu/system/linux.scm (base-pam-services): Add 'sudo'. * build-aux/hydra/demo-os.scm: Add 'groups' field; add 'guest' to the 'wheel' group.
* gnu: Add petscEric Bavier2014-05-01
| | | | | | | * gnu/packages/maths.scm (petsc): New variable. (petsc-complex): New variable. * gnu/packages/patches/petsc-fix-threadcomm.patch: New patch. * gnu-system.am (dist_patch_DATA): Add it.
* gnu: Add abbaye.David Thompson2014-05-01
| | | | * gnu/packages/games.scm (abbaye): New variable.
* gnu: Propagate necessary inputs for sdl-image.David Thompson2014-05-01
| | | | | * gnu/packages/sdl.scm (sdl-image): Propagate jpeg, png, and tiff libraries.
* gnu: Add sudo.Ludovic Courtès2014-04-30
| | | | * gnu/packages/admin.scm (sudo): New variable.
* system: Add support for setuid binaries.Ludovic Courtès2014-04-30
| | | | | | | | | | | | | | | * gnu/system.scm (<operating-system>)[pam-services, setuid-programs]: New fields. (etc-directory)[bashrc]: Prepend /run/setuid-programs to $PATH. (operating-system-etc-directory): Honor 'operating-system-pam-services'. (%setuid-programs): New variable. (operating-system-boot-script): Add (guix build utils) to the set of imported modules. Call 'activate-setuid-programs' in boot script. * gnu/system/linux.scm (base-pam-services): New procedure. * guix/build/activation.scm (%setuid-directory): New variable. (activate-setuid-programs): New procedure. * build-aux/hydra/demo-os.scm: Add 'pam-services' field.