summaryrefslogtreecommitdiff
path: root/gnu/system
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'master' into core-updatesMark H Weaver2015-09-223-14/+121
|\
| * linux-initrd: Add LUKS/dm-crypt modules to the initrd.•••Suggested by Petter <petter@mykolab.ch> and Mark H Weaver <mhw@netris.org>. Partly fixes <http://bugs.gnu.org/19190>. * gnu/system/linux-initrd.scm (base-initrd)[linux-modules]: Add dm-crypt and xts. Ludovic Courtès2015-09-201-0/+1
| * linux-boot: Mount /dev as a devtmpfs from the start.•••Suggested by Petter <petter@mykolab.ch> and Mark H Weaver <mhw@netris.org>. Reported by Duncan Keall <duncan@duncankeall.com>. Partly fixes <http://bugs.gnu.org/19190> by populating /dev/mapper early enough. * gnu/build/linux-boot.scm (mount-essential-file-systems): Mount /dev as a devtmpfs. (move-essential-file-systems): Add /dev. (mount-root-file-system): Mount /rw-root/dev as a devtmpfs instead of calling 'make-essential-device-nodes'. (boot-system): Remove call to 'make-essential-device-nodes'. * gnu/system/file-systems.scm (%devtmpfs-file-system): Remove. * doc/guix.texi (File Systems): Adjust accordingly. Ludovic Courtès2015-09-201-14/+1
| * gnu: system: Add Linux container module.•••* gnu/system/linux-container.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. * gnu/system.scm: Export 'operating-system-etc-directory', 'operating-system-boot-script', 'operating-system-locale-directory', and 'file-union'. (operating-system-boot-script): Add #:container? keyword argument. (operating-system-activation-script): Add #:container? keyword argument. Don't call 'activate-firmware' or 'activate-ptrace-attach' when activating a container. David Thompson2015-09-141-0/+119
* | Merge branch 'master' into core-updatesLudovic Courtès2015-09-133-1/+25
|\|
| * Revert "services: 'mingetty-service' no longer takes monadic values."•••This reverts commit daa48c31797b27e3a0991d0db7406c951ebc86df. Ludovic Courtès2015-09-131-2/+2
| * services: 'mingetty-service' no longer takes monadic values.•••* gnu/services/base.scm (mingetty-service): Change default value of #:motd from a monadic value to a <plain-file>. Assume MOTD to be a file-like object. Assume LOGIN-PROGRAM is a gexp or #f. (%base-services): Use 'plain-file' instead of 'text-file' for motd. * gnu/system/linux.scm (unix-pam-service): Update docstring to mention that MOTD is a file-like object. * doc/guix.texi (Base Services): Adjust 'mingetty-service' documentation accordingly. Ludovic Courtès2015-09-131-2/+2
| * file-systems: Add %elogind-file-systems; add it to %base-file-systems.•••* gnu/system/file-systems.scm (%elogind-file-systems): New variable. (%base-file-systems): Add %elogind-file-systems. Mark H Weaver2015-09-101-0/+22
| * gnu: wpa-supplicant-light: Rename to wpa-supplicant-minimal.•••* gnu/packages/admin.scm (wpa-supplicant-light): Rename to ... (wpa-supplicant-minimal): ...this. (wpa-supplicant): Use it. * gnu/system/install.scm (installation-os): Use it. Alex Kost2015-09-061-1/+1
| * doc: Mention the "normalized codeset" used in locale names.•••* doc/guix.texi (Locales): Introduce "codeset". <%default-locale-definitions>: Mention the "normalized codeset", with an xref to libc's manual. * gnu/system/locale.scm (%default-locale-definitions)[utf8-locale]: Mention the "normalized codeset" in a comment. Ludovic Courtès2015-08-291-0/+2
* | Build tarballs with deterministic file ordering.•••* guix/packages.scm (patch-and-repack)[build], gnu/system/install.scm (self-contained-tarball)[build], gnu/packages/make-bootstrap.scm (tarball-package), gnu/packages/admin.scm (isc-dhcp), gnu/packages/video.scm (avidemux): Pass "--sort=name" to 'tar'. Mark H Weaver2015-09-031-1/+6
|/
* system: Make PAM store SHA-512 encrypted passwords in /etc/shadow.•••Fixes <http://bugs.gnu.org/21318>. * gnu/system/linux.scm (unix-pam-service)[password]: Add 'sha512' and 'shadow' to arguments. 宋文武2015-08-241-1/+5
* vm: Make the list of partitions to build a parameter.•••* gnu/build/vm.scm (<partition>): New record type. (fold2): New procedure. (initialize-partition-table): Remove #:bootable? and 'partition-size' parameters. Add 'partitions' parameter. Invoke 'parted' with '--script'. (initialize-root-partition): Remove. (initialize-partition, root-partition-initializer): New procedures. (initialize-hard-disk): Remove #:system-directory, #:disk-image-size, #:file-system-type, #:file-system-label, #:closures, #:copy-closures?, #:bootable?, and #:register-closures? parameters. Add #:partitions. Rewrite to use 'initialize-partition' for each item of PARTITIONS. * gnu/system/vm.scm (expression->derivation-in-linux-vm): Add (guix records) to #:modules default value. (qemu-image): Adjust accordingly. Ludovic Courtès2015-07-261-11/+18
* vm: Use the 'umount' procedure instead of util-linux's 'umount' command.•••* gnu/build/vm.scm (initialize-root-partition, initialize-hard-disk): Use the 'umount' procedure instead of invoking the 'umount' command. * gnu/system/vm.scm (qemu-image): Remove UTIL-LINUX from INPUTS. Ludovic Courtès2015-07-241-1/+1
* file-systems: Subsystem cgroups now depend on /sys/fs/cgroup.•••* gnu/system/file-systems.scm (%control-groups): Define 'parent' variable. Initialize the 'dependencies' field for all the subsystems. Ludovic Courtès2015-07-171-15/+20
* file-systems: Add a 'dependencies' field to <file-system>.•••* gnu/system/file-systems.scm (<file-system>)[dependencies]: New field. * gnu/system.scm (other-file-system-services)[requirements]: Honor 'file-system-dependencies'. * doc/guix.texi (File Systems): Document it. Ludovic Courtès2015-07-171-1/+5
* system: Use the CRDA udev rules.•••* gnu/services/base.scm (%base-services): Add CRDA to the #:rules of 'udev-service'. * gnu/system/install.scm (installation-services): Likewise. Ludovic Courtès2015-07-171-2/+3
* system: Add 'kernel-arguments' field.•••* gnu/system.scm (<operating-system>)[kernel-arguments]: New field. (operating-system-grub.cfg): Honor it. (operating-system-parameters-file): Add 'kernel-arguments' to the parameters file. * guix/scripts/system.scm (previous-grub-entries)[system->grub-entry]: Read the 'kernel-arguments' field of the parameters file, when available. * gnu/system/vm.scm (system-qemu-image/shared-store-script): Use (operating-system-kernel-arguments os) in '-append'. * doc/guix.texi (operating-system Reference): Document it. Ludovic Courtès2015-07-171-1/+2
* system: Fix typo in 'PS1' in skeleton '.bashrc'.•••* gnu/system/shadow.scm (default-skeletons): Move misplaced backslash. Ludovic Courtès2015-07-171-1/+1
* install: Reset the mtimes of all the files in the binary tarball.•••* gnu/system/install.scm (self-contained-tarball): Pass "--mtime=@0". The only files whose mtime was not already were those in /var/guix and /gnu/store/.links. Ludovic Courtès2015-07-161-0/+1
* file-systems: 'uuid' raises a syntax error for invalid UUIDs.•••* gnu/system/file-systems.scm (uuid): Call 'syntax-violation' when 'string->uuid' returns #f. * tests/file-systems.scm ("uuid, syntax error"): New test. Ludovic Courtès2015-07-161-2/+4
* file-systems: Allow users to specify file system UUIDs as strings.•••Fixes <http://bugs.gnu.org/19778>. Reported by Mark H Weaver <mhw@netris.org>. * gnu/system/file-systems.scm (%uuid-rx): New variable. (string->uuid): New procedure. (uuid): New macro. * tests/file-systems.scm: New file. * Makefile.am (SCM_TESTS): Add it. * doc/guix.texi (File Systems): Give an example of UUID. Ludovic Courtès2015-07-141-0/+57
* gnu: file-systems: Fix typo.•••* gnu/system/file-systems.scm (%container-file-systems): Fix typo in a comment. Mathieu Lirzin2015-07-131-1/+1
* install: Fix variable reference to iproute2 package.•••This is a followup to commit d43002f64599fb80294d4c00e3a682a2776c885c. * gnu/system/install.scm (installation-os)[packages]: Refer to IPROUTE instead of IPROUTE2. Mark H Weaver2015-07-111-1/+1
* install: Add iproute2 to the installation image.•••Fixes <http://bugs.gnu.org/21019>. Reported by <info@danieleparisi.me>. * gnu/system/install.scm (installation-os)[packages]: Add IPROUTE2. Ludovic Courtès2015-07-111-1/+1
* gnu: Include (guix build syscalls) module in initrd/VM derivations.•••This bug was introduced in commit 85c3127. Thanks to Christopher Webber for reporting it. * gnu/syste/linux-initrd.scm (base-initrd): Include (guix build syscalls) module in derivation. * gnu/system/vm.scm (expression->derivation-in-linux-vm): Likewise. David Thompson2015-07-102-0/+2
* gnu: system: Add Linux container file systems.•••* gnu/system/file-systems.scm (%container-file-systems): New variable. David Thompson2015-07-091-0/+40
* gnu: system: Move file-system->spec to (gnu system file-systems).•••* gnu/system/linux-initrd.scm (file-system->spec): Move this... * gnu/system/file-systems.scm: ... to here. David Thompson2015-07-072-7/+10
* gnu: system: Move <file-system-mapping> into (gnu system file-systems).•••* gnu/system/vm.scm (<file-system-mapping>, %store-mapping): Move from here... * gnu/system/file-systems.scm: ...to here. * guix/scripts/system.scm: Import (gnu system file-systems). David Thompson2015-07-072-23/+31
* environment: Define 'GUIX_ENVIRONMENT'.•••* guix/scripts/environment.scm (create-environment): Define 'GUIX_ENVIRONMENT'. * doc/guix.texi (Invoking guix environment): Document it. * gnu/system/shadow.scm (default-skeletons): Adjust 'PS1' depending on whether 'GUIX_ENVIRONMENT' is defined. Ludovic Courtès2015-07-011-1/+7
* linux-initrd: Use (guix cpio) instead of GNU cpio.•••* gnu/build/linux-initrd.scm (write-cpio-archive): Remove 'open-pipe*' and related calls. Compute list of files in 'files' variable. Use 'cpio:write-cpio-archive'. Remove #:cpio parameter. (build-initrd): Remove #:cpio parameter. * gnu/system/linux-initrd.scm (expression->initrd): Likewise, and adjust BUILDER accordingly. Add (guix cpio) to #:modules. Ludovic Courtès2015-06-241-4/+2
* gnu: Add control group file systems.•••* gnu/system/file-systems.scm (%control-groups): New variable. (%base-file-system): Include control group file systems. David Thompson2015-06-191-4/+23
* install: Turn off deduplication for the binary tarball.•••* gnu/build/install.scm (register-closure): Add #:deduplicate? parameter and honor it. (populate-single-profile-directory): Likewise. * gnu/system/install.scm (self-contained-tarball): Pass #:deduplicate? #f. Invoke tar with --check-links. Ludovic Courtès2015-06-181-1/+5
* install: Use udev rules for device-mapper.•••Fixes <http://bugs.gnu.org/20791>. Reported by Benz Schenk <benz.schenk@uzh.ch>. * gnu/system/install.scm (installation-services): Add #:rules argument for 'udev-service'. Ludovic Courtès2015-06-121-1/+2
* install: Omit /root from the binary tarball.•••Suggested by Thomas Schwinge <thomas@codesourcery.com>. * gnu/system/install.scm (self-contained-tarball): Remove "/root/.guix-profile" from the 'tar' arguments. * doc/guix.texi (Binary Installation): Add a step to create ~root/.guix-profile. Ludovic Courtès2015-06-081-3/+4
* install: Use the actual store name when building the tarball.•••* gnu/system/install.scm (self-contained-tarball): Use (%store-directory) instead of "/gnu". Ludovic Courtès2015-05-271-1/+1
* system: Define '%base-user-accounts'.•••* gnu/system/shadow.scm (%base-user-accounts): New variable. * gnu/system.scm (<operating-system>)[users]: Use it as the default value. * gnu/system/examples/bare-bones.tmpl (users): Use it. * gnu/system/examples/desktop.tmpl (users): Likewise. * doc/guix.texi (operating-system Reference, User Accounts): Adjust accordingly. Ludovic Courtès2015-05-253-4/+17
* system: Make sure user accounts refer to existing groups.•••Fixes <http://bugs.gnu.org/20646>. Reported by David Thompson <davet@gnu.org>. * gnu/system/shadow.scm (assert-valid-users/groups): New procedure * gnu/system.scm (operating-system-activation-script): Use it. * tests/guix-system.sh (make_user_config): New function. Add 3 tests using it. * po/guix/POTFILES.in: Add gnu/system/shadow.scm. Ludovic Courtès2015-05-241-1/+34
* install: Omit /, /root, and /var from binary tarball.•••* gnu/system/install.scm (self-contained-tarball): Pass "./root/.guix-profile", "./var/guix", and "./gnu" to 'tar' command instead of ".". Mark H Weaver2015-05-201-1/+9
* install: Files in the tarball are all root-owned.•••Fixes a thinko introduced in 175ced4. * gnu/system/install.scm (self-contained-tarball): Use "root:0" as the owner and group. * doc/guix.texi (Binary Installation): Revert 175ced4. Ludovic Courtès2015-05-181-6/+2
* install: Use the right user and group name for files in the binary tarball.•••Suggested by Andreas Enge <andreas@enge.fr> at <http://lists.gnu.org/archive/html/guix-devel/2015-05/msg00220.html>. * gnu/system/install.scm (self-contained-tarball): Pass --owner and --group to 'tar'. * doc/guix.texi (Binary Installation): Move group and account creation before extraction. Make "run the daemon" a separate step. Ludovic Courtès2015-05-181-1/+6
* install: desktop.tmpl: Add "netdev" to the user's supplementary groups.•••* gnu/system/examples/desktop.tmpl: Add "netdev" to the user's supplementary groups. Mark H Weaver2015-05-111-1/+1
* doc: Document X.509 certificates.•••* doc/guix.texi (Using the Configuration System): Add xref to "X.509 Certificates". (X.509 Certificates): New section. * gnu/system/examples/desktop.tmpl: Use NSS-CERTS. Ludovic Courtès2015-05-111-1/+2
* install: Have several OS config templates under /etc/configuration.•••* gnu/system/install.scm (configuration-template-service): Remove 'local-template' and 'template'. Add 'search' and 'templates'. [activate]: Copy all of TEMPLATES to /etc/configuration. * doc/guix.texi (System Installation): Adjust file name accordingly. Ludovic Courtès2015-05-091-7/+22
* doc: Add desktop configuration example.•••* gnu/system/examples/bare-bones.tmpl: Change 'packages' and 'host-name'. Remove D-Bus, Avahi, and SLiM services, and add lsh instead. * gnu/system/examples/desktop.tmpl: New file. * Makefile.am (EXAMPLES): Add it. Ludovic Courtès2015-05-092-12/+53
* doc: Rename OS config example.•••* gnu/system/os-config.tmpl: Rename to... * gnu/system/examples/bare-bones.tmpl: ... this. * Makefile.am (EXAMPLES): Adjust accordingly. * doc.am (doc/os-config.texi): Likewise. * gnu/system/install.scm (configuration-template-service)[template]: Likewise. Ludovic Courtès2015-05-092-1/+1
* nss: Add '%mdns-host-lookup-nss'.•••* gnu/system/nss.scm (%mdns-host-lookup-nss): New variable. * doc/guix.texi (Name Service Switch): Document it. Ludovic Courtès2015-05-081-0/+23
* artwork: Update to latest version.•••* gnu/artwork.scm (%artwork-repository): Update. * gnu/services/xorg.scm (%default-slim-theme-name): Change to "0.x". * gnu/system/grub.scm (%background-image): Change to GuixSD-fully-black-4-3.svg. Ludovic Courtès2015-05-071-1/+2
* install: Add bash-completion to the packages.•••* gnu/system/install.scm (installation-os)[packages]: Add BASH-COMPLETION. Ludovic Courtès2015-05-031-0/+2
* system: Make /gnu/store a read-only bind mount by default.•••* gnu/system/file-systems.scm (%immutable-store): New variable. (%base-file-systems): Add it. * doc/guix.texi (File Systems): Document it. Ludovic Courtès2015-04-201-2/+16