Age | Commit message (Expand) | Author |
2014-12-14 | install: Use a low-memory nscd caching policy....* gnu/system/install.scm (%nscd-minimal-caches): New variable.
(installation-services): Use as 'nscd-service' argument.
| Ludovic Courtès |
2014-12-13 | system: grub: Make sure the font and background image are always found....* gnu/system/grub.scm (eye-candy): Add 'search --file --set'.
| Ludovic Courtès |
2014-12-13 | system: Adjust 'grub.cfg' to work on systems with a separate /boot....Fixes <http://bugs.gnu.org/19220>.
Reported by Nikita Karetnikov <nikita@karetnikov.org>.
* gnu/system/grub.scm (grub-configuration-file)[entry->gexp]: Add
'search --file --set'.
(grub-configuration-file)[builder]: Remove 'search.file'.
| Ludovic Courtès |
2014-12-13 | vm: Use QEMU's standard VGA emulation by default....* gnu/system/vm.scm (common-qemu-options): Add "-vga std".
| Ludovic Courtès |
2014-12-09 | system: Add skeleton '.zlogin'....* gnu/system/shadow.scm (default-skeletons): Add .zlogin.
| 宋文武 |
2014-12-09 | system: Cleanup bash startup files....* gnu/system.scm (etc-directory) (bashrc): Rename to 'profile'.
* gnu/system/shadow.scm (default-skeletons): Rename '.bashrc' to
'.bash_profile'. Don't source /etc/profile.
| 宋文武 |
2014-12-08 | linux-initrd: Add the 'virtio_console' module for QEMU guests....* gnu/system/linux-initrd.scm (base-initrd)[virtio-modules]: Add
"virtio_console".
| Ludovic Courtès |
2014-11-30 | Revert "system: Add a 'needed-for-boot?' field to 'mapped-device'."...This reverts commit 3b09332adf7ce8e976a4d117a62c586a53af04aa, which
turned out to be a bad idea because we need to have dependency
information between the device-mapping service and the file-system
service that uses it.
| Ludovic Courtès |
2014-11-30 | system: locale: Fix typo in docstring....* gnu/system/locale.scm (localedef-command): Fix typo.
| Alex Kost |
2014-11-29 | system: Add a 'needed-for-boot?' field to 'mapped-device'....* gnu/system/file-systems.scm (<mapped-device>)[needed-for-boot?]: New
field.
* gnu/system.scm (operating-system-user-mapped-devices,
operating-system-boot-mapped-devices): Use it instead of trying to
guess. Guessing doesn't work when one refers to a partition using its
label, for instance.
* doc/guix.texi (Mapped Devices): Document 'needed-for-boot?'.
| Ludovic Courtès |
2014-11-29 | system: Change "en_US.UTF-8" to "en_US.utf8"....* build-aux/hydra/demo-os.scm (locale): Change to "en_US.utf8".
* gnu/system/install.scm (installation-os)[locale]: Ditto.
| Ludovic Courtès |
2014-11-28 | linux-initrd: Remove the ".ko" suffix from module names in 'base-initrd'....* gnu/system/linux-initrd.scm (base-initrd): Remove the .ko suffix from
module names.
| Ludovic Courtès |
2014-11-28 | linux-initrd: Remove now redundant module names....* gnu/system/linux-initrd.scm (base-initrd)[virtio-modules]: Remove
"virtio.ko" and "virtio_ring.ko".
[virtio-9p-modules]: Remove "fscache.ko" and "9pnet.ko".
[linux-modules]: Remove "libahci.ko".
| Ludovic Courtès |
2014-11-28 | linux-boot: Load modules and their dependencies, à la 'modprobe'....* gnu/build/linux-boot.scm: Use (gnu build linux-modules).
(load-linux-module*): Remove.
(boot-system): Add #:linux-module-directory parameter.
[lookup-module]: New procedure.
Call 'current-module-debugging-port'. Pass #:lookup-module to
'load-linux-module*'. Map LOOKUP-MODULE on LINUX-MODULES.
* gnu/system/linux-initrd.scm (base-initrd): Adjust 'boot-system' call
accordingly. Adjust #:modules argument as well.
* gnu/system.scm (operating-system-activation-script)[%modules]: Likewise.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Likewise.
| Ludovic Courtès |
2014-11-28 | linux-initrd: Copy modules and their dependencies to the initrd....* gnu/system/linux-initrd.scm (flat-linux-module-directory)[build-exp]:
Add 'lookup' procedure. Use 'recursive-module-dependencies' to
compute the list of modules to copy.
Adjust #:modules parameter.
| Ludovic Courtès |
2014-11-27 | system: Build system-wide locale definitions....* gnu/system/locale.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* gnu/system.scm (<operating-system>)[locale]: Change the default to
"en_US.utf8".
(operating-system-locale-directory): New procecure.
(operating-system-derivation): Use it.
* doc/guix.texi (Using the Configuration System): Change example locale
to "fr_FR.utf8".
(operating-system Reference): Add xref to "Locales". Document
'locale-definitions'.
(Locales): New section.
* po/guix/POTFILES.in: Add gnu/system.scm.
| Ludovic Courtès |
2014-11-25 | file-systems: 'file-system-needed-for-boot?' always returns #t for "/"....Reported by Nikita Karetnikov.
* gnu/system/file-systems.scm (<file-system>): Rename 'needed-for-boot?'
accessor to '%file-system-needed-for-boot?'.
(file-system-needed-for-boot?): New inlinable procedure.
* gnu/system.scm (other-file-system-services)[file-systems]: Rely on
'file-system-needed-for-boot?' to handle the "/" case.
(operating-system-initrd-file)[boot-file-systems]: Likewise.
| Ludovic Courtès |
2014-11-25 | install: Add wpa-supplicant to the image....Reported by Amirouche Boubekki <amirouche.boubekki@gmail.com>.
* gnu/system/install.scm (installation-os)[packages]: Add
WPA-SUPPLICANT.
| Ludovic Courtès |
2014-11-23 | install: Add Cryptsetup to the image....Reported by Nikita Karetnikov.
* gnu/system/install.scm (installation-os)[packages]: Add CRYPTSETUP.
* doc/guix.texi (System Installation): Mention it.
| Ludovic Courtès |
2014-11-20 | vm: Introduce 'file-system-mapping'....* gnu/system/vm.scm (<file-system-mapping>): New record type.
(%store-mapping): New variable.
(host-9p-file-system): Rename to...
(mapping->file-system): ... this. Replace 'source' and 'target'
parameters with 'mapping'. Set 'flags' field.
(virtualized-operating-system): Add 'mappings' parameter and honor
it.
(system-qemu-image/shared-store-script): Add 'mappings' parameter.
Pass it to 'virtualized-operating-system'. Use it in argument to
'common-qemu-options'.
| Ludovic Courtès |
2014-11-20 | vm: Formalize use of '-virtfs' options....* gnu/system/vm.scm (file-system->mount-tag, host-9p-file-system): New
procedures.
(virtualized-operating-system): Use 'host-9p-file-system' for the
store.
(common-qemu-options): Add 'shared-fs' parameter.
[virtfs-option]: New procedure.
Use it.
(system-qemu-image/shared-store-script): Adjust accordingly.
| Ludovic Courtès |
2014-11-13 | linux-initrd: Add modules for ATA controllers by default....Reported by th3kent on #guix.
* gnu/system/linux-initrd.scm (base-initrd)[linux-modules]: Add
pata_acpi.ko and pata_atiixp.ko.
| Ludovic Courtès |
2014-11-12 | gnu: Introduce (gnu artwork) module....* gnu/artwork.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* gnu/services/xorg.scm: Use it.
(%artwork-repository): Remove.
* gnu/system/grub.scm: Use it.
(%artwork-repository): Remove.
| Ludovic Courtès |
2014-11-10 | services: Add 'auto-start?' field to <service>....* 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.
| Ludovic Courtès |
2014-11-10 | doc: Mention "audio" and "video" groups in configuration template....* gnu/system/os-config.tmpl (users): Add "audio" and "video" groups and
explain.
| Ludovic Courtès |
2014-11-10 | services: Add 'user-unmount-service' as an essential service....* 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.
| Ludovic Courtès |
2014-11-10 | install: Add GRUB to the set of global packages....* gnu/system/install.scm (installation-os)[packages]: Add GRUB.
| Ludovic Courtès |
2014-11-08 | system: grub: Adjust default theme color....* gnu/system/grub.scm (%default-theme)[color-highlight]: Change
foreground to cyan, as suggested by Felipe López.
| Ludovic Courtès |
2014-11-08 | system: grub: Add preliminary support for themes....* gnu/system/grub.scm (<grub-image>, <grub-theme>): New record types.
(%artwork-repository, %background-image): New variables.
(<grub-configuration>)[theme]: New field.
(svg->png, resize-image, grub-background-image, eye-candy): New
procedures.
(grub-configuration-file): Use 'eye-candy' and add it in BUILDER.
| Ludovic Courtès |
2014-11-08 | vm: The 'run-vm' scripts now passes its arguments to QEMU....* gnu/system/vm.scm (system-qemu-image/shared-store-script): Add "$@" at
the end of the script.
(common-qemu-options): Remove trailing newline.
* doc/guix.texi (Invoking guix system): Document it.
| Ludovic Courtès |
2014-11-08 | vm: Fix 'vm --full-boot' to produce a sufficient disk image....* gnu/system/vm.scm (system-qemu-image/shared-store): Add
#:disk-image-size and #:full-boot? parameters and honor them. Pass
'#:copy-inputs? full-boot?', and change #:inputs argument.
* guix/scripts/system.scm (system-derivation-for-action): Pass
#:disk-image-size to 'system-qemu-image/shared-store'.
* doc/guix.texi (Invoking guix system): Mention use of '--image-size' in
conjunction with '--full-boot'.
| Ludovic Courtès |
2014-11-08 | vm: Support 'guix system vm --full-boot'....* gnu/system/vm.scm (system-qemu-image/shared-store-script): Add
#:full-boot? parameter and honor it.
* guix/scripts/system.scm (system-derivation-for-action): Likewise.
(perform-action): Likewise.
(show-help): Document '--full-boot'.
(%options): Add '--full-boot'.
(guix-system): Add #:full-boot? argument in call to 'perform-action'.
* doc/guix.texi (Invoking guix system): Document it.
| Ludovic Courtès |
2014-11-06 | vm: Factorize common QEMU options....* gnu/system/vm.scm (common-qemu-options): New procedure.
(system-qemu-image/shared-store-script): Use it.
| Ludovic Courtès |
2014-11-06 | vm: Remove unused procedure....* gnu/system/vm.scm (input->name+output): Remove. Its last user
disappeared in commit b53833b.
| Ludovic Courtès |
2014-11-05 | vm: Disable swap devices in virtualized OSes....* gnu/system/vm.scm (virtualized-operating-system): Add 'swap-devices'
field.
| Ludovic Courtès |
2014-09-22 | linux-initrd: Adjust VM code and doc to new 'base-initrd' signature....This fixes regressions introduced in de1c158 ("system: Add support for
boot-time mapped devices.").
* doc/guix.texi (Initial RAM Disk): Adjust example with custom use of
'base-initrd'. Document #:mapped-devices parameter of 'base-initrd'.
* gnu/system/vm.scm (system-disk-image, system-qemu-image,
virtualized-operating-system): Adjust call to 'base-initrd' to new
signature.
| Ludovic Courtès |
2014-09-22 | system: Add support for boot-time mapped devices....* gnu/build/linux-boot.scm (boot-system): Add #:pre-mount parameter and
honor it.
* gnu/system/linux-initrd.scm (base-initrd): Add #:mapped-devices
parameter. Add 'device-mapping-commands' variable, and use it to
build the #:pre-mount argument of 'boot-system'.
* gnu/system.scm (mapped-device-user,
operating-system-user-mapped-devices,
operating-system-boot-mapped-devices): New procedures.
(device-mapping-services): Use 'operating-system-user-mapped-devices'
instead of 'operating-system-mapped-devices'.
(operating-system-initrd-file): Call the initrd with #:mapped-devices.
| Ludovic Courtès |
2014-09-18 | system: Add udev rule for /dev/kvm....* gnu/services/base.scm (kvm-udev-rule): New procedure.
(udev-service): Use it, and add it to RULES.
(guix-build-accounts): Add "kvm" to the 'supplementary-groups' field.
* gnu/system/shadow.scm (%base-groups): Add "kvm".
| Ludovic Courtès |
2014-09-18 | linux-initrd: Remove now obsolete #:guile-modules-in-chroot? parameter....* gnu/build/linux-boot.scm (boot-system): Remove
#:guile-modules-in-chroot? and related code.
* gnu/system/linux-initrd.scm (base-initrd): Likewise.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Remove
#:guile-modules-in-chroot? argument in 'base-initrd' call.
| Ludovic Courtès |
2014-09-18 | system: Define 'device-mapping-kind', and add a 'close' procedure....* gnu/system/file-systems.scm (<mapped-device-type>): New record type.
(<mapped-device>)[command]: Remove field.
[type]: New field.
* gnu/services/base.scm (device-mapping-service): Rename 'command'
parameter to 'open'. Add 'close' parameter and honor it.
* gnu/system.scm (luks-device-mapping): Rename to...
(open-luks-device): ... this.
(close-luks-device): New procedure.
(luks-device-mapping): New variable.
(device-mapping-services): Get the type of MD, and pass its 'open' and
'close' fields to 'device-mapping-service'.
| Ludovic Courtès |
2014-09-16 | system: Add "input" to '%base-groups'....* gnu/system/shadow.scm (%base-groups): Add "input" group.
| Ludovic Courtès |
2014-09-12 | system: Add support for Linux-style mapped devices....* gnu/system/file-systems.scm (<mapped-device>): New record type.
* gnu/system.scm (<operating-system>)[mapped-devices]: New field.
(luks-device-mapping): New procedure.
(other-file-system-services)[device-mappings, requirements]: New
procedures. Pass #:requirements to 'file-system-service'.
(device-mapping-services): New procedure.
(essential-services): Use it. Append its result to the return value.
(operating-system-initrd-file): Add comment.
* gnu/services/base.scm (file-system-service): Add #:requirements
parameter and honor it.
(device-mapping-service): New procedure.
* gnu/system/linux-initrd.scm (base-initrd): Add comment.
| Ludovic Courtès |
2014-09-12 | system: Add default PAM entries for xlock and xscreensaver....* gnu/system/linux.scm (base-pam-services): Add "xlock" and
"xscreensaver".
| Ludovic Courtès |
2014-09-08 | linux-initrd: Store Linux modules in a normal store directory....* gnu/system/linux-initrd.scm (expression->initrd): Remove #:linux and
#:linux-modules parameters. Remove call to
'float-linux-module-directory'.
(base-initrd): Add call to 'float-linux-module-directory'. Use it in
#:linux-modules argument in the gexp. Remove #:linux and
#:linux-modules arguments to 'expression->initrd'.
* gnu/build/linux-initrd.scm (build-initrd): Remove
#:linux-module-directory parameter. Don't create 'modules'
sub-directory.
* gnu/build/linux-boot.scm (boot-system): Mentin that LINUX-MODULES is a
list of absolute file names. Don't prepend "/modules/" to
LINUX-MODULES.
* doc/guix.texi (Initial RAM Disk): Adjust accordingly.
| Ludovic Courtès |
2014-09-08 | linux-initrd: Remove #:to-copy argument of 'expression->initrd'....* gnu/system/linux-initrd.scm (expression->initrd): Remove #:to-copy
parameter. Remove 'graph-files', and adjust #:references-graphs
arguments to just list INIT.
(base-initrd): Remove #:to-copy argument.
* doc/guix.texi (Initial RAM Disk): Adjust accordingly.
| Ludovic Courtès |
2014-09-08 | linux-initrd: Move initrd creation code to (guix build linux-initrd)....* gnu/build/linux-initrd.scm (cache-compiled-file-name,
compile-to-cache, build-initrd): New procedures.
* gnu/system/linux-initrd.scm (expression->initrd)[builder]: Remove code
now moved above. Use 'build-initrd'.
| Ludovic Courtès |
2014-09-08 | linux-initrd: Copy all the script's closure to the initrd....* gnu/system/linux-initrd.scm (expression->initrd): Remove calls to
'imported-modules' and 'compiled-modules'. Use 'gexp->script' with
EXP. Add the result to TO-COPY. Make /init a symlink to that script,
and copy its closure into the "contents" directory. Add fake
/proc/self/exe symlink.
* gnu/build/linux-boot.scm (load-linux-module*): Add comment about mmap.
* gnu/system/vm.scm (system-qemu-image/shared-store-script): Add "-m
256". This turns out to be needed for initrds containing things like
e2fsck and several modules; with the default of 128 MiB, loading
libahci.ko may fail with -1.
| Ludovic Courtès |
2014-09-06 | linux-initrd: Populate the initrd's store with complete closures....* gnu/system/linux-initrd.scm (expression->initrd): Add 'graph-files'.
Use (guix build store-copy) and 'populate-store' instead of local
hack. Pass #:references-graphs to 'gexp->derivation'.
| Ludovic Courtès |
2014-09-06 | gexp: Allow use of high-level objects in #:references-graphs....* guix/gexp.scm (lower-reference-graphs): New procedure.
(gexp->derivation)[graphs-file-names]: New procedure.
Use 'lower-reference-graphs', and augment #:inputs argument as a
function of #:references-graphs.
* doc/guix.texi (G-Expressions): Adjust 'gexp->derivation' documentation
accordingly.
* tests/gexp.scm ("gexp->derivation, store copy"): Remove reference to
TWO in BUILD-DRV. Use TWO directly in #:references-graphs argument.
("gexp->derivation #:references-graphs"): New test.
* gnu/system/vm.scm (qemu-image): Remove variable 'graph'; use INPUTS as
the #:references-graphs argument to
'expression->derivation-in-linux-vm'.
| Ludovic Courtès |
2014-09-04 | vm: Move store copy handling to (guix build store-copy)....* gnu/build/vm.scm (read-reference-graph, populate-store): Move to...
* guix/build/store-copy.scm: ... here. New file.
* Makefile.am (MODULES): Add it.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Adjust default
#:modules values accordingly.
* tests/gexp.scm ("gexp->derivation, store copy"): New test.
| Ludovic Courtès |