summary refs log tree commit diff
path: root/gnu
AgeCommit message (Collapse)Author
2020-05-05image: Add a new API.Mathieu Othacehe
Raw disk-images and ISO9660 images are created in a Qemu virtual machine. This is quite fragile, very slow, and almost unusable without KVM. For all these reasons, add support for host image generation. This implies the use new image generation mechanisms. - Raw disk images: images of partitions are created using tools such as mke2fs and mkdosfs depending on the partition file-system type. The partition images are then assembled into a final image using genimage. - ISO9660 images: the ISO root directory is populated within the store. GNU xorriso is then called on that directory, in the exact same way as this is done in (gnu build vm) module. Those mechanisms are built upon the new (gnu image) module. * gnu/image.scm: New file. * gnu/system/image.scm: New file. * gnu/build/image: New file. * gnu/local.mk: Add them. * gnu/system/vm.scm (system-disk-image): Rename to system-disk-image-in-vm. * gnu/ci.scm (qemu-jobs): Adapt to new API. * gnu/tests/install.scm (run-install): Ditto. * guix/scripts/system.scm (system-derivation-for-action): Ditto.
2020-05-05build: bootloader: Add install-efi procedure.Mathieu Othacehe
* gnu/build/bootloader.scm (install-efi): New procedure copied from (gnu build vm). (install-efi-loader): New exported procedure, wrapping install-efi. * gnu/build/vm.scm (initialize-hard-disk): Adapt to use install-efi-loader.
2020-05-05build: install: Do not set store GID.Mathieu Othacehe
There's no need to set the store GID as is will be done by the guix-daemon, with the following snippet: if (chown(chrootStoreDir.c_str(), 0, buildUser.getGID()) == -1) throw SysError(format("cannot change ownership of ‘%1%’") % chrootStoreDir); * gnu/build/install.scm (directives): Do not set store GID.
2020-05-05build: install: Ignore chown exceptions.Mathieu Othacehe
Changing ownership may require root permissions. As image can now be generated without root permissions (no VM involved), ignore those exceptions. * gnu/build/install.scm (evaluate-populate-directive): Ignore chown exceptions.
2020-05-05system: vm: Move operating-system-uuid.Mathieu Othacehe
* gnu/system/vm.scm (operating-system-uuid): Move to ... * gnu/system.scm: ... here.
2020-05-05gnu: Add AutoSSH service.pinoaffe
* gnu/services/ssh.scm (<autossh-configuration>): New record type. (autossh-service-type): New variable. (autossh-service-activation, autossh-file-name): New procedures. * doc/guix.texi (Networking Services): Document this. Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2020-05-05gnu: Add sequoia.Hartmut Goebel
* gnu/packages/sequoia.scm: New file. * gnu/local.mk: Add it.
2020-05-05gnu: Add rust-nettle-7.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-nettle-7): New variable. * gnu/packages/patches/rust-nettle-disable-vendor.patch: New file. * gnu/local.mk: Add it.
2020-05-05gnu: Add rust-nettle-sys-2.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-nettle-sys-2): New variable. * gnu/packages/patches/rust-nettle-sys-disable-vendor.patch: New file. * gnu/local.mk: Add it.
2020-05-05gnu: Add rust-zbase32-0.1.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-zbase32-0.1): New variable.
2020-05-05gnu: Add rust-webpki-roots-0.14.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-webpki-roots-0.14): New variable.
2020-05-05gnu: Add rust-webpki-roots-0.17.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-webpki-roots-0.17): New variable.
2020-05-05gnu: Add rust-webpki-roots-0.18.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-webpki-roots-0.18): New variable.
2020-05-05gnu: Add rust-webpki-0.18.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-webpki-0.18): New variable.
2020-05-05gnu: Add rust-webpki-0.21.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-webpki-0.21): New variable.
2020-05-05gnu: Add rust-want-0.2.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-want-0.2): New variable.
2020-05-05gnu: Add rust-untrusted-0.6.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-untrusted-0.6): New variable.
2020-05-05gnu: Add rust-tokio-test-0.2.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-tokio-test-0.2): New variable.
2020-05-05gnu: Add rust-tokio-rustls-0.12.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-tokio-rustls-0.12): New variable.
2020-05-05gnu: Add rust-tokio-mockstream-1.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-tokio-mockstream-1): New variable.
2020-05-05gnu: Add rust-tokio-named-pipes-0.1.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-tokio-named-pipes-0.1): New variable.
2020-05-05gnu: Add rust-tokio-macros-0.2.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-tokio-macros-0.2): New variable.
2020-05-05gnu: Add rust-tokio-buf-0.1.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-tokio-buf-0.1): New variable.
2020-05-05gnu: Add rust-tokio-0.2.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-tokio-0.2): New variable.
2020-05-05gnu: Add rust-term-0.2.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-term-0.2): New variable.
2020-05-05gnu: Add rust-string-0.2.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-string-0.2): New variable.
2020-05-05gnu: Add rust-spmc-0.3.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-spmc-0.3): New variable.
2020-05-05gnu: Add rust-skeptic-0.9.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-skeptic-0.9): New variable.
2020-05-05gnu: Add rust-sha2-0.8.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-sha2-0.8): New variable.
2020-05-05gnu: Add rust-sha2-asm-0.5.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-sha2-asm-0.5): New variable.
2020-05-05gnu: Add rust-sct-0.3.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-sct-0.3): New variable.
2020-05-05gnu: Add rust-sct-0.6.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-sct-0.6): New variable.
2020-05-05gnu: Add rust-rustls-0.12.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-rustls-0.12): New variable.
2020-05-05gnu: Add rust-rustls-0.16.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-rustls-0.16): New variable.
2020-05-05gnu: Add rust-rusqlite-0.19.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-rusqlite-0.19): New variable.
2020-05-05gnu: Add rust-rspec-1.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-rspec-1.0): New variable.
2020-05-05gnu: Add rust-rpassword-4.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-rpassword-4): New variable.
2020-05-05gnu: Add rust-ring-0.13.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-ring-0.13): New variable.
2020-05-05gnu: Add rust-ring-0.16.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-ring-0.16): New variable.
2020-05-05gnu: Add rust-rayon-0.8.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-rayon-0.8): New variable.
2020-05-05gnu: Add rust-pulldown-cmark-0.0.8.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-pulldown-cmark-0.0.8): New variable.
2020-05-05gnu: Add rust-pretty-assertions-0.2.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-pretty-assertions-0.2): New variable.
2020-05-05gnu: Add rust-prettytable-rs-0.8.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-prettytable-rs-0.8): New variable.
2020-05-05gnu: Add rust-pin-project-lite-0.1.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-pin-project-lite-0.1): New variable.
2020-05-05gnu: Add rust-parity-tokio-ipc-0.4.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-parity-tokio-ipc-0.4): New variable.
2020-05-05gnu: Add rust-memsec-0.5.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-memsec-0.5): New variable.
2020-05-05gnu: Add rust-mach-o-sys-0.1.Hartmut Goebel
* gnu/package/crates-io.scm (rust-mach-o-sys-0.1): New variable.
2020-05-05gnu: Add rust-lru-cache-0.1.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-lru-cache-0.1): New variable.
2020-05-05gnu: Add rust-loom-0.3.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-loom-0.2): New variable. (rust-loom-0.1): inherit from it.
2020-05-05gnu: Add rust-loom-0.2.Hartmut Goebel
* gnu/packages/crates-io.scm (rust-loom-0.2): New variable. (rust-loom-0.1): Inherit from it.