Skip to content
Snippets Groups Projects
  1. Jul 24, 2014
    • Ludovic Courtès's avatar
      system: Add the 'system?' field for user groups. · c8fa3426
      Ludovic Courtès authored
      Suggested by Mark H. Weaver.
      
      * gnu/system/shadow.scm (<user-group>)[system?]: New field.
        (%base-groups): Introduce 'system-group' macro, and use it.
      * gnu/system.scm (user-group->gexp): Pass the 'system?' field.
      * guix/build/activation.scm (add-group): Add #:system? and honor it.
        (activate-users+groups): Handle the 'system?' field.
      * gnu/system/file-systems.scm (%tty-gid): Choose an ID below 1000.
      * doc/guix.texi (User Accounts): Document the 'system?' field.
      c8fa3426
    • Ludovic Courtès's avatar
      doc: Make sure out-of-source-tree builds find os-config.tmpl. · 931c132a
      Ludovic Courtès authored
      * Makefile.am (BUILT_SOURCES): New variable.
      * daemon.am (BUILT_SOURCES): Use +=.
      * doc.am (BUILT_SOURCES, MAINTAINERCLEANFILES, EXTRA_DIST): Add
        doc/os-config.texi.
        (doc/os-config.texi): New target.
      * doc/guix.texi (System Installation): Include os-config.texi.
      931c132a
    • Ludovic Courtès's avatar
      doc: Add "guix system" to 'dir'. · 054e8576
      Ludovic Courtès authored
      * doc/guix.texi: Add "guix system" to the dir entry.
      054e8576
    • Ludovic Courtès's avatar
      install: Add a configuration template to the image. · 1dac8566
      Ludovic Courtès authored
      * gnu/system/os-config.tmpl: New file.
      * gnu-system.am (GNU_SYSTEM_MODULES): Add it
      * gnu/system/install.scm (configuration-template-service): New
        procedure.
        (installation-services): Call it.
      * doc/guix.texi (System Installation): Mention
        configuration-template.scm, and @include gnu/system/os-config.tmpl.
      1dac8566
    • Ludovic Courtès's avatar
      monads: Add 'interned-file'. · 0a90af15
      Ludovic Courtès authored
      * guix/monads.scm (interned-file): New procedure.
      * tests/monads.scm ("interned-file"): New test.
      * doc/guix.texi (The Store Monad): Document it.
      0a90af15
    • Ludovic Courtès's avatar
      doc: Recommend partition labels. · 7ab44369
      Ludovic Courtès authored
      * doc/guix.texi (System Installation): Recommend partition labels.
      7ab44369
  2. Jul 23, 2014
    • Ludovic Courtès's avatar
      install: Add a service to back the store with the target disk. · 83a17b62
      Ludovic Courtès authored
      Fixes <http://bugs.gnu.org/18061>.
      Reported by Adam Pribyl <pribyl@lowlevel.cz>.
      
      * gnu/services/dmd.scm (dmd-configuration-file)[config]: Import (guix
        build utils).
      * gnu/system/install.scm (make-cow-store, cow-store-service): New
        procedures.
        (installation-services): Use it.
        (%backing-directory): New variable.
      * doc/guix.texi (System Installation): Add the 'deco start cow-store
        /mnt' phase.
      83a17b62
    • Ludovic Courtès's avatar
      system: Add /dev/shm. · db17ae5c
      Ludovic Courtès authored
      * gnu/system/file-systems.scm (%shared-memory-file-system): New
        variable.
        (%base-file-systems): Add it.
      * doc/guix.texi (File Systems): Document it.
      db17ae5c
    • Ludovic Courtès's avatar
      system: Recognize more file system flags. · 2c071ce9
      Ludovic Courtès authored
      * guix/build/linux-initrd.scm (MS_NOSUID, MS_NODEV, MS_NOEXEC): New
        variables.
        (mount-flags->bit-mask): New procedure.
        (mount-file-system)[flags->bit-mask]: Remove.
        Use 'mount-flags->bit-mask' instead.
        In /etc/mtab, use the empty string when OPTIONS is false.
      * gnu/services/base.scm (file-system-service): Add #:flags parameter and
        honor it.
      * gnu/system.scm (other-file-system-services): Pass FLAGS to
        'file-system-service'.
      2c071ce9
    • Ludovic Courtès's avatar
      doc: Merge the type, variable, and function indices. · a85b83d2
      Ludovic Courtès authored
      * doc/guix.texi (Function Index): Rename to...
        (Programming Index): ... this.  Merge the type, variable, and function
        indices.
      a85b83d2
    • Ludovic Courtès's avatar
      system: Add 'file-system' decl. for /dev/pts, and use the right options. · 7f239fd3
      Ludovic Courtès authored
      Fixes <http://bugs.gnu.org/18081>.
      
      * gnu/system/file-systems.scm (%devtmpfs-file-system): Add
        'needed-for-boot?' field.
        (%tty-gid, %pseudo-terminal-file-system): New variables.
        (%base-file-systems): Add %PSEUDO-TERMINAL-FILE-SYSTEM.
      * gnu/services/base.scm (udev-service): Remove dependency on
        'file-system-/dev'.
      * gnu/system/shadow.scm (%base-groups): Add 'id' field for group 'tty'.
      * guix/build/linux-initrd.scm (boot-system): Remove 'mount' call for
        /dev/pts.
      * doc/guix.texi (File Systems): Add %pseudo-terminal-file-system.
      7f239fd3
    • Ludovic Courtès's avatar
      system: Add 'create-mount-point?' file system option. · 4e469051
      Ludovic Courtès authored
      * gnu/system/file-systems.scm (<file-system>)[create-mount-point?]: New
        field.
      * gnu/services/base.scm (file-system-service): Add #:create-mount-point?
        parameter and honor it.
      * gnu/system.scm (other-file-system-services): Update
        'file-system-service' call accordingly.
      * doc/guix.texi (File Systems): Document it.
      4e469051
  3. Jul 22, 2014
    • Ludovic Courtès's avatar
      system: Add '%devtmpfs-file-system' for udev, and '%base-file-systems'. · a69576ea
      Ludovic Courtès authored
      Suggested by Adam Pribyl <pribyl@lowlevel.cz>.
      
      * gnu/services/base.scm (udev-service)[requirement]: Add
        'file-system-/dev'.
      * gnu/system/file-systems.scm (%devtmpfs-file-system,
        %base-file-systems): New variables.
      * gnu/system/install.scm (installation-services)[file-systems]: Use
        %base-file-systems.
      * build-aux/hydra/demo-os.scm (file-systems): Likewise.
      * doc/guix.texi (System Installation): Show %BASE-FILE-SYSTEMS in the
        example.
        (Using the Configuration System): Likewise.
        (File Systems): Document %base-file-systems, %devtmpfs-file-system,
        %binary-format-file-system, and %fuse-control-file-system.
      a69576ea
    • Ludovic Courtès's avatar
      doc: Fix typo. · 7cb9666d
      Ludovic Courtès authored
      * doc/guix.texi (System Installation): s/are/is/.
      7cb9666d
  4. Jul 21, 2014
    • Cyril Roelandt's avatar
      guix package: add a "show" option. · 2aa6efb0
      Cyril Roelandt authored
      * doc/guix.texi: Update the documentation.
      * guix/scripts/package.scm: Add a "show" option.
      * tests/guix-package.sh: Add a test for the "show" option.
      2aa6efb0
  5. Jul 20, 2014
    • Ludovic Courtès's avatar
      doc: Show output of 'guix refresh --list-dependent' example. · 7779ab61
      Ludovic Courtès authored
      * doc/guix.texi (Invoking guix refresh): Show example output of the
        command.
      7779ab61
    • Eric Bavier's avatar
      guix: refresh: Add --list-dependent option. · 7d193ec3
      Eric Bavier authored
      * guix/packages.scm (package-direct-inputs): New procedure.
      * gnu/packages.scm (vhash-refq, package-direct-dependents)
        (package-transitive-dependents, package-covering-dependents): New procedures.
      * guix/scripts/refresh.scm (%options, show-help, guix-refresh): Add
        --list-dependent option.
      * doc/guix.texi (Invoking guix refresh): Document '--list-dependent' option.
      7d193ec3
  6. Jul 18, 2014
    • Mark H Weaver's avatar
      Fix typos in manual. · 1c00f836
      Mark H Weaver authored
      * doc/guix.texi (Using the Configuration System): 'gid' -> 'group'
        in user-account example.
        (Initial RAM Disk): 'base-init' -> 'base-initrd'.
      1c00f836
  7. Jul 17, 2014
  8. Jul 16, 2014
  9. Jul 14, 2014
  10. Jul 12, 2014
    • Ludovic Courtès's avatar
      services: Add Tor service. · 927097ef
      Ludovic Courtès authored
      * gnu/services/networking.scm (tor-service): New procedure.
      * doc/guix.texi (Networking Services): Document it.
      * build-aux/hydra/demo-os.scm: Use it.  Add TOR and TORSOCKS to
        'packages'.
      927097ef
  11. Jul 11, 2014
    • Ludovic Courtès's avatar
      doc: Start writing about services. · ef5dd60a
      Ludovic Courtès authored
      * doc/guix.texi (Using the Configuration System): Remove details about
        '%base-services', and link to "Services".
        (Services): Add introductory text.
        (Base Services, Networking Services, X Window): New nodes.
      ef5dd60a
  12. Jul 08, 2014
    • Ludovic Courtès's avatar
      guix system: Add '--system' option. · df2ce343
      Ludovic Courtès authored
      * guix/scripts/system.scm (switch-to-system): Add #:system parameter;
        pass it to 'run-with-store'.
        (%options): Add '--system'.
        (guix-system): Pass the 'system' option to 'run-with-store',
        'package-derivation', and 'switch-to-system' calls.
      * doc/guix.texi (Invoking guix system): Document '--system' and
        '--image-size'.
      df2ce343
  13. Jul 03, 2014
  14. Jul 02, 2014
  15. Jun 27, 2014
  16. Jun 26, 2014
    • Ludovic Courtès's avatar
      guix system: Add 'reconfigure' action. · b25937e3
      Ludovic Courtès authored
      * guix/scripts/system.scm (%system-profile): New variable.
        (switch-to-system, previous-grub-entries): New procedures.
        (unless-file-not-found): New macro.
        (show-help): Add 'reconfigure'.
        (guix-system): Handle it.
      * gnu/system.scm: Export 'operating-system-activation-script'.
      * doc/guix.texi (Invoking guix system): Document it.
      b25937e3
  17. Jun 19, 2014
  18. Jun 14, 2014
    • Ludovic Courtès's avatar
      guix build: Allow gexps to be passed to '-e'. · 56b82106
      Ludovic Courtès authored
      * guix/ui.scm (%guix-user-module): New variable.
        (read/eval): Pass it as the second argument to 'eval'.
      * guix/scripts/build.scm (options/resolve-packages): Add case for
        'gexp?'.
      * tests/guix-build.sh: Add tests.
      * doc/guix.texi (Invoking guix build): Document '-e gexp'.
      guxi build: Allow gexps to be passed to '-e'.
      
      * guix/ui.scm (%guix-user-module): New variable.
        (read/eval): Pass it as the second argument to 'eval'.
      * guix/scripts/build.scm (options/resolve-packages): Add case for
        'gexp?'.
      * tests/guix-build.sh: Add tests.
      * doc/guix.texi (Invoking guix build): Document '-e gexp'.
      56b82106
  19. Jun 09, 2014
  20. Jun 06, 2014
  21. Jun 04, 2014
    • Ludovic Courtès's avatar
      system: Define '%base-packages' and use it. · 6f436c54
      Ludovic Courtès authored
      * gnu/system.scm (<operating-system>)[packages]: Change default value to
        %BASE-PACKAGES.
        (%base-packages): New variable.
      * gnu/system/install.scm (installation-os): Use it when defining the
        'packages' field.
      * doc/guix.texi (Using the Configuration System): Use %BASE-PACKAGES in
        example.  Remove now unneeded module imports.  Explain this.
      6f436c54
  22. Jun 01, 2014
    • Ludovic Courtès's avatar
      derivations: Add #:allowed-references 'derivation' parameter. · b53be755
      Ludovic Courtès authored
      * guix/derivations.scm (derivation): Add #:allowed-references
        parameter.
        [user+system-env-vars]: Honor it.
      * tests/derivations.scm ("derivation #:allowed-references, ok",
        "derivation #:allowed-references, not allowed",
        "derivation #:allowed-references, self allowed",
        "derivation #:allowed-references, self not allowed"): New tests.
      * doc/guix.texi (Derivations): Document #:allowed-references.
      b53be755
  23. May 30, 2014
    • Ludovic Courtès's avatar
      linux-initrd: Allow use of volume labels in 'file-system' declarations. · 85a83edb
      Ludovic Courtès authored
      * guix/build/linux-initrd.scm (%ext2-endianness, %ext2-sblock-magic,
        %ext2-sblock-creator-os, %ext2-sblock-uuid, %ext2-sblock-volume-name):
        New macros.
        (read-ext2-superblock, ext2-superblock-uuid,
        ext2-superblock-volume-name, disk-partitions,
        partition-label-predicate, find-partition-by-label,
        canonicalize-device-spec): New procedures.
        (mount-file-system): Use 'canonicalize-device-spec' on SOURCE.
        (boot-system): Likewise for ROOT.
      * doc/guix.texi (Using the Configuration System): Adjust 'file-system'
        declaration accordingly.
      85a83edb
  24. May 25, 2014
Loading