aboutsummaryrefslogtreecommitdiff
path: root/gnu/system/install.scm
Commit message (Collapse)AuthorAge
...
* services: 'mingetty-service' no longer takes monadic values.Ludovic Courtès2015-10-10
| | | | | | | | | | | | | * 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. * gnu/system/install.scm (installation-services): Adjust accordingly. (log-to-info): Use 'program-file' instead of 'gexp->script'.
* Merge branch 'master' into core-updatesLudovic Courtès2015-09-13
|\
| * gnu: wpa-supplicant-light: Rename to wpa-supplicant-minimal.Alex Kost2015-09-06
| | | | | | | | | | | | | | * 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.
* | Build tarballs with deterministic file ordering.Mark H Weaver2015-09-03
|/ | | | | | | | * 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'.
* system: Use the CRDA udev rules.Ludovic Courtès2015-07-17
| | | | | | * gnu/services/base.scm (%base-services): Add CRDA to the #:rules of 'udev-service'. * gnu/system/install.scm (installation-services): Likewise.
* install: Reset the mtimes of all the files in the binary tarball.Ludovic Courtès2015-07-16
| | | | | | * 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.
* install: Fix variable reference to iproute2 package.Mark H Weaver2015-07-11
| | | | | | | This is a followup to commit d43002f64599fb80294d4c00e3a682a2776c885c. * gnu/system/install.scm (installation-os)[packages]: Refer to IPROUTE instead of IPROUTE2.
* install: Add iproute2 to the installation image.Ludovic Courtès2015-07-11
| | | | | | | Fixes <http://bugs.gnu.org/21019>. Reported by <info@danieleparisi.me>. * gnu/system/install.scm (installation-os)[packages]: Add IPROUTE2.
* install: Turn off deduplication for the binary tarball.Ludovic Courtès2015-06-18
| | | | | | | | * 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.
* install: Use udev rules for device-mapper.Ludovic Courtès2015-06-12
| | | | | | | | 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'.
* install: Omit /root from the binary tarball.Ludovic Courtès2015-06-08
| | | | | | | | | 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.
* install: Use the actual store name when building the tarball.Ludovic Courtès2015-05-27
| | | | | * gnu/system/install.scm (self-contained-tarball): Use (%store-directory) instead of "/gnu".
* install: Omit /, /root, and /var from binary tarball.Mark H Weaver2015-05-20
| | | | | | * gnu/system/install.scm (self-contained-tarball): Pass "./root/.guix-profile", "./var/guix", and "./gnu" to 'tar' command instead of ".".
* install: Files in the tarball are all root-owned.Ludovic Courtès2015-05-18
| | | | | | | | 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.
* install: Use the right user and group name for files in the binary tarball.Ludovic Courtès2015-05-18
| | | | | | | | | | 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.
* install: Have several OS config templates under /etc/configuration.Ludovic Courtès2015-05-09
| | | | | | | * 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.
* doc: Rename OS config example.Ludovic Courtès2015-05-09
| | | | | | | | | * 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.
* install: Add bash-completion to the packages.Ludovic Courtès2015-05-03
| | | | | * gnu/system/install.scm (installation-os)[packages]: Add BASH-COMPLETION.
* install: Add a procedure to build a self-contained binary tarball.Ludovic Courtès2015-04-14
| | | | | | | | | Suggested by Pjotr Prins <pjotr.public12@thebird.nl> at <http://lists.gnu.org/archive/html/guix-devel/2015-04/msg00229.html>. * gnu/build/install.scm (populate-single-profile-directory): New procedure. * gnu/system/install.scm (self-contained-tarball): New procedure. * Makefile.am (guix-binary.%.tar.xz): New target.
* gnu: wpa-supplicant: Add dbus support; add wpa-supplicant-light.Mark H Weaver2015-02-04
| | | | | | | | * gnu/packages/admin.scm (wpa-supplicant-light): New variable containing the previous dbus-free package, but renamed. Remove outdated TODO comments. (wpa-supplicant): Now inherits from wpa-supplicant-light but adds dbus support. * gnu/system/install.scm (installation-os): Use wpa-supplicant-light.
* install: Add iw to the packages.Ludovic Courtès2015-01-28
| | | | * gnu/system/install.scm (installation-os)[packages]: Add IW.
* install: Mention GSD.Ludovic Courtès2015-01-27
| | | | | * gnu/system/install.scm (installation-services): Mention the Guix System Distribution.
* install: Make sure 'info' can decompress the Info files.Ludovic Courtès2015-01-23
| | | | * gnu/system/install.scm (log-to-info): Add GZIP to $PATH.
* monads: Move '%store-monad' and related procedures where they belong.Ludovic Courtès2015-01-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This turns (guix monads) into a generic module for monads, and moves the store monad and related monadic procedures in their corresponding module. * guix/monads.scm (store-return, store-bind, %store-monad, store-lift, text-file, interned-file, package-file, package->derivation, package->cross-derivation, origin->derivation, imported-modules, compiled, modules, built-derivations, run-with-store): Move to... * guix/store.scm (store-return, store-bind, %store-monad, store-lift, text-file, interned-file): ... here. (%guile-for-build): New variable. (run-with-store): Moved from monads.scm. Remove default value for #:guile-for-build. * guix/packages.scm (default-guile): Export. (set-guile-for-build): New procedure. (package-file, package->derivation, package->cross-derivation, origin->derivation): Moved from monads.scm. * guix/derivations.scm (%guile-for-build): Remove. (imported-modules): Rename to... (%imported-modules): ... this. (compiled-modules): Rename to... (%compiled-modules): ... this. (built-derivations, imported-modules, compiled-modules): New procedures. * gnu/services/avahi.scm, gnu/services/base.scm, gnu/services/dbus.scm, gnu/services/dmd.scm, gnu/services/networking.scm, gnu/services/ssh.scm, gnu/services/xorg.scm, gnu/system/install.scm, gnu/system/linux-initrd.scm, gnu/system/shadow.scm, guix/download.scm, guix/gexp.scm, guix/git-download.scm, guix/profiles.scm, guix/svn-download.scm, tests/monads.scm: Adjust imports accordingly. * guix/monad-repl.scm (default-guile-derivation): New procedure. (store-monad-language, run-in-store): Use it. * build-aux/hydra/gnu-system.scm (qemu-jobs): Add explicit 'set-guile-for-build' call. * guix/scripts/archive.scm (derivation-from-expression): Likewise. * guix/scripts/build.scm (options/resolve-packages): Likewise. * guix/scripts/environment.scm (guix-environment): Likewise. * guix/scripts/system.scm (guix-system): Likewise. * doc/guix.texi (The Store Monad): Adjust module names accordingly.
* install: Use a low-memory nscd caching policy.Ludovic Courtès2014-12-14
| | | | | * gnu/system/install.scm (%nscd-minimal-caches): New variable. (installation-services): Use as 'nscd-service' argument.
* system: Change "en_US.UTF-8" to "en_US.utf8".Ludovic Courtès2014-11-29
| | | | | * build-aux/hydra/demo-os.scm (locale): Change to "en_US.utf8". * gnu/system/install.scm (installation-os)[locale]: Ditto.
* install: Add wpa-supplicant to the image.Ludovic Courtès2014-11-25
| | | | | | | Reported by Amirouche Boubekki <amirouche.boubekki@gmail.com>. * gnu/system/install.scm (installation-os)[packages]: Add WPA-SUPPLICANT.
* install: Add Cryptsetup to the image.Ludovic Courtès2014-11-23
| | | | | | | Reported by Nikita Karetnikov. * gnu/system/install.scm (installation-os)[packages]: Add CRYPTSETUP. * doc/guix.texi (System Installation): Mention it.
* services: Add 'auto-start?' field to <service>.Ludovic Courtès2014-11-10
| | | | | | * gnu/services.scm (<service>)[auto-start?]: New field. * gnu/services/dmd.scm (dmd-configuration-file): Honor it. * gnu/system/install.scm (cow-store-service): Add 'auto-start?' field.
* services: Add 'user-unmount-service' as an essential service.Ludovic Courtès2014-11-10
| | | | | | * gnu/services/base.scm (user-unmount-service): New procedure. * gnu/system.scm (essential-services): Use it. * gnu/system/install.scm (cow-store-service): Mention it in comment.
* install: Add GRUB to the set of global packages.Ludovic Courtès2014-11-10
| | | | * gnu/system/install.scm (installation-os)[packages]: Add GRUB.
* install: Add a configuration template to the image.Ludovic Courtès2014-07-24
| | | | | | | | | | * 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.
* install: Add a service to back the store with the target disk.Ludovic Courtès2014-07-23
| | | | | | | | | | | | | | 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.
* system: Add '%devtmpfs-file-system' for udev, and '%base-file-systems'.Ludovic Courtès2014-07-22
| | | | | | | | | | | | | | | | | 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.
* install: Add wireless-tools package.David Thompson2014-07-19
| | | | * gnu/system/install.scm (installation-os): Add wireless-tools to packages.
* install: Show the "System Installation" node.Ludovic Courtès2014-07-17
| | | | | * gnu/system/install.scm (log-to-info): Go to the new 'System Installation' node.
* services: Add 'console-font-service'.Ludovic Courtès2014-07-17
| | | | | | | | * gnu/services/base.scm (unicode-start, console-font-service): New procedures. (%base-services): Call 'console-font-service' for TTY1 to TTY6. * gnu/system/install.scm (installation-services): Add comment about the console font. Call 'console-font-service' for TTY1 to TTY6.
* install: Remove GNU fdisk from the image.Ludovic Courtès2014-07-14
| | | | * gnu/system/install.scm (installation-os): Remove FDISK.
* install: Use udev.Ludovic Courtès2014-06-24
| | | | * gnu/system/install.scm (installation-services): Call 'udev-service'.
* system: Use the default 'groups' field.Ludovic Courtès2014-06-22
| | | | | * gnu/system/install.scm (installation-os): Remove 'groups' field. * build-aux/hydra/demo-os.scm: Likewise.
* system: Remove useless 'members' field of 'user-group'.Ludovic Courtès2014-06-22
| | | | | | | | * gnu/system/shadow.scm (<user-group>)[members]: Remove field. * gnu/system/install.scm (installation-os)[users]: Remove 'members' fields. Use 'supplementary-groups' for 'guest'. * build-aux/hydra/demo-os.scm (users): Likewise. * gnu/services/base.scm (guix-service): Remove 'members' field.
* install: Add missing argv[0] in Info invocation.Ludovic Courtès2014-06-04
| | | | | * gnu/system/install.scm (log-to-info): Add "info" as second argument to 'execl'.
* install: Register the hydra.gnu.org key on the installation image.Ludovic Courtès2014-06-04
| | | | | | | | * gnu/services/base.scm (hydra-key-authorization): New procedure. (guix-service): Add #:authorize-hydra-key? parameter; honor it using 'hydra-key-authorization'. * gnu/system/install.scm (installation-services): Pass #:authorize-hydra-key? #t.
* system: Define '%base-packages' and use it.Ludovic Courtès2014-06-04
| | | | | | | | | | * 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.
* install: Add more useful packages.Ludovic Courtès2014-06-03
| | | | | * gnu/system/install.scm (installation-os)[packages]: Add isc-dhcp, net-tools, ddrescue, kbd, and texinfo-4.
* gnu: Merge Parted, fdisk, and ddrescue in (gnu packages disk).Ludovic Courtès2014-06-03
| | | | | | | | | | | * gnu/packages/parted.scm: Rename to... * gnu/packages/disk.scm: ... this. New file. Merge with... * gnu/packages/fdisk.scm: ... this; remove file; * gnu/packages/ddrescue.scm: ... and this; remove file. * gnu/system/install.scm, gnu/system/vm.scm: Adjust accordingly. * gnu-system.am (GNU_SYSTEM_MODULES): Remove gnu/packages/{parted,fdisk,ddrescue}.scm and add gnu/packages/disk.scm.
* Add (gnu system install).Ludovic Courtès2014-05-31
* gnu/system/install.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it.