Commit graph

20976 commits

Author SHA1 Message Date
Mathieu Othacehe
5641dffb07
scripts: system: Display bootloader name in "list-generations".
* guix/scripts/system.scm (display-system-generation): Display
  bootloader name.
2017-05-16 14:41:02 +02:00
Mathieu Othacehe
3241f7ff92
scripts: system: Adapt "switch-generation" to new bootloader API.
* guix/scripts/system.scm (reinstall-grub): Rename to
  reinstall-bootloader. Read boot-device and boot-type from parameters file to
  be able to restore the correct bootloader on specified device.
  Factorize bootloader installation code by calling install-bootloader.
 (system-bootloader-name): New procedure.
 (switch-to-system-generation): Adapt.
2017-05-16 14:41:02 +02:00
Mathieu Othacehe
1229d328fb
scripts: system: Adapt "init" to new bootloader API.
* guix/scripts/system.scm (install): Pass installer a new
argument. Rename other arguments.
Call install-bootloader instead of install-grub*.
(perform-action): Adapt.
2017-05-16 14:41:02 +02:00
Mathieu Othacehe
3042c5d8bb
scripts: system: Adapt "reconfigure" to new bootloader API.
* guix/scripts/system.scm (install-grub*): Rename to install-bootloader.  Use
keys to pass arguments.  Pass a new argument, "installer-drv" which is a script
in store dealing with bootloader-specific install actions.  Also call
"install-boot-config" to install the bootloader config file.

(install-bootloader-derivation): New procedure.  It returns a derivation that
builds a file containing "install-procedure" gexp.

(perform-action): Build install-proc derivation and call install-bootloader
with the resulting file.  Stop adding GRUB to PATH as bootloaders are called in
install-proc with direct store paths.
2017-05-16 14:41:01 +02:00
Mathieu Othacehe
bcaf67c44f
bootloader: Add bootloader name to boot-parameters record.
* gnu/system.scm (<boot-parameters>)[name]: New field.
(boot-parameters-boot-name): Ditto.
(operating-system-boot-parameters-file): Add new field.
(operating-system-boot-parameters): Ditto.
(read-boot-parameters): Ditto.
2017-05-16 14:41:01 +02:00
Mathieu Othacehe
9121ce553d
bootloader: Adapt vm to new bootloader API.
* gnu/build/install.scm (install-boot-config): New procedure.
  (install-grub): Move to (gnu bootloader grub).
* gnu/build/vm.scm (register-bootcfg-root): Rename register-grub.cfg-root and
  adjust accordingly.
  (initialize-hard-disk): Takes a bootloader-package, bootcfg, bootcfg-location and
  bootloader-installer procedure. Adjust accordingly.
* gnu/system/vm.scm (qemu-image): Adjust to initialize-hard-disk.
  (system-disk-image, system-qemu-image, system-qemu-image/shared-store):
  Adjust to qemu-image.
2017-05-16 14:41:01 +02:00
Mathieu Othacehe
b09a8da4a2
bootloader: Add extlinux support.
* gnu/bootloader.scm: New file.
* gnu/bootloader/extlinux.scm: New file.
* gnu/bootloader/grub.scm: New file.
* gnu/local.mk: Build new files.
* gnu/system.scm: Adapt to new bootloader api.
* gnu/scripts/system.scm: Adapt to new bootloader api.
* gnu.scm: Remove (gnu system grub) and replace by (gnu bootloader) and (gnu
bootloader grub) modules.
* gnu/system/grub.scm: Moved content to gnu/bootloader/grub.scm.
* gnu/system/vm: Replace (gnu system grub) module by (gnu bootloader).
* gnu/tests.scm: Ditto.
* gnu/tests/nfs.scm: Ditto.
2017-05-16 14:41:01 +02:00
Ludovic Courtès
ce92d269fe
ui: Disable Guile deprecation warnings by default.
* guix/ui.scm (initialize-guix): Call (debug-disable 'warn-deprecated)
when "GUILE_WARN_DEPRECATED" is not set.
2017-05-16 14:31:37 +02:00
Ludovic Courtès
5a3429bcc5
gnu: guile-ssh: Fix bug in 'node-guile-version'.
* gnu/packages/patches/guile-ssh-rexec-bug.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/ssh.scm (guile-ssh)[source](patches): New field.
2017-05-16 14:16:56 +02:00
Ludovic Courtès
d116695b31
hydra: Cross-build Guile 2.2.
* build-aux/hydra/gnu-system.scm (%core-packages): Add GUILE-2.2.
2017-05-16 14:16:56 +02:00
Leo Famulari
4a3495d57c
gnu: khard: Update to 0.11.4.
* gnu/packages/mail.scm (khard): Update to 0.11.4.
2017-05-15 22:27:53 -04:00
Ludovic Courtès
a068300628
gnu: bind: Rename variable to 'isc-bind'.
Reported by Leo Famulari.

* gnu/packages/dns.scm (bind): Rename to...
(isc-bind): ... this.
* gnu/packages/sssd.scm (sssd)[inputs]: Adjust accordingly.
2017-05-16 00:00:03 +02:00
Ludovic Courtès
0e2bfa3ae1
doc: Mention 'sync' after 'dd'.
Suggested by librenoob on #guix.

* doc/guix.texi (USB Stick Installation): Add 'sync' invocation.
2017-05-15 23:55:10 +02:00
Ludovic Courtès
c22c9fa589
services: guix: Authorize the key for bayfront.guixsd.org.
* gnu/services/base.scm (%default-authorized-guix-keys): Add
"bayfront.guixsd.org".
2017-05-15 23:55:10 +02:00
Ludovic Courtès
b7ebcfe352
doc: Mention 'GUIX_PACKAGE_PATH' in "Defining Packages".
* doc/guix.texi (Defining Packages): Mention 'GUIX_PACKAGE_PATH'.
2017-05-15 23:55:10 +02:00
Ludovic Courtès
f411124321
utils: 'compressed-file?' matches ".lzma" files.
* guix/utils.scm (compressed-file?): Add "lzma" to the list.
2017-05-15 23:55:10 +02:00
Ricardo Wurmus
6d225e89db
gnu: antlr2: Minor stylistic changes.
* gnu/packages/java.scm (antlr2)[source]: Fix indentation; end snippet on #t;
add comment next to disabled tests.
2017-05-15 23:39:44 +02:00
Ricardo Wurmus
3ad9039515
gnu: antlr2: Simplify build phases.
* gnu/packages/java.scm (antl2)[arguments]: Simplify build phases.
2017-05-15 23:35:51 +02:00
Ricardo Wurmus
4511e0db23
gnu: Add non-timeline.
* gnu/packages/music.scm (non-timeline): New variable.
2017-05-15 23:01:24 +02:00
Ricardo Wurmus
46bb58b864
gnu: Add non-mixer.
* gnu/packages/music.scm (non-mixer): New variable.
2017-05-15 23:01:20 +02:00
Ricardo Wurmus
a5cdcf6c09
gnu: Add java-javax-mail.
* gnu/packages/java.scm (java-javax-mail): New variable.
2017-05-15 22:33:17 +02:00
Ricardo Wurmus
095494ed6c
licenses: Add EDL 1.0.
* guix/licenses.scm (edl1.0): New variable.
2017-05-15 22:33:17 +02:00
Ricardo Wurmus
0e660c4de9
gnu: Add java-log4j-api.
* gnu/packages/java.scm (java-log4j-api): New variable.
2017-05-15 22:33:17 +02:00
Ricardo Wurmus
c24d11b734
gnu: Add java-eclipse-jdt-core.
* gnu/packages/java.scm (java-eclipse-jdt-core): New variable.
2017-05-15 22:33:17 +02:00
Ricardo Wurmus
bf96acf7e5
gnu: Add java-eclipse-text.
* gnu/packages/java.scm (java-eclipse-text): New variable.
2017-05-15 22:33:17 +02:00
Ricardo Wurmus
31342529b2
gnu: Add java-eclipse-core-commands.
* gnu/packages/java.scm (java-eclipse-core-commands): New variable.
2017-05-15 22:33:16 +02:00
Ricardo Wurmus
1bb191fc4b
gnu: Add java-eclipse-team-core.
* gnu/packages/java.scm (java-eclipse-team-core): New variable.
2017-05-15 22:33:16 +02:00
Ricardo Wurmus
afb5858dd1
gnu: Add java-eclipse-compare-core.
* gnu/packages/java.scm (java-eclipse-compare-core): New variable.
2017-05-15 22:33:16 +02:00
Ricardo Wurmus
1d4234d4c2
gnu: Add java-icu4j.
* gnu/packages/icu4c.scm (java-icu4j): New variable.
2017-05-15 22:33:16 +02:00
Ricardo Wurmus
6636f6388f
gnu: Add java-eclipse-core-resources.
* gnu/packages/java.scm (java-eclipse-core-resources): New variable.
2017-05-15 22:33:16 +02:00
Ricardo Wurmus
7c3d479e83
gnu: Add java-eclipse-ant-core.
* gnu/packages/java.scm (java-eclipse-ant-core): New variable.
2017-05-15 22:33:16 +02:00
Ricardo Wurmus
e8d0f7c8f9
gnu: Add java-eclipse-core-variables.
* gnu/packages/java.scm (java-eclipse-core-variables): New variable.
2017-05-15 22:33:16 +02:00
Ricardo Wurmus
e96060de20
gnu: Add java-eclipse-core-expressions.
* gnu/packages/java.scm (java-eclipse-core-expressions): New variable.
2017-05-15 22:33:15 +02:00
Ricardo Wurmus
b3806a1506
gnu: Add java-eclipse-core-filesystem.
* gnu/packages/java.scm (java-eclipse-core-filesystem): New variable.
2017-05-15 22:33:15 +02:00
Ricardo Wurmus
6a7f7e49b3
gnu: Add java-eclipse-core-runtime.
* gnu/packages/java.scm (java-eclipse-core-runtime): New variable.
2017-05-15 22:33:15 +02:00
Ricardo Wurmus
4ad3d4f337
gnu: Add java-eclipse-core-contenttype.
* gnu/packages/java.scm (java-eclipse-core-contenttype): New variable.
2017-05-15 22:33:15 +02:00
Ricardo Wurmus
3f97021441
gnu: Add java-eclipse-equinox-preferences.
* gnu/packages/java.scm (java-eclipse-equinox-preferences): New variable.
2017-05-15 22:33:15 +02:00
Ricardo Wurmus
65214c872a
gnu: Add java-eclipse-equinox-app.
* gnu/packages/java.scm (java-eclipse-equinox-app): New variable.
2017-05-15 22:33:15 +02:00
Ricardo Wurmus
fbaf09ebf2
gnu: Add java-eclipse-equinox-registry.
* gnu/packages/java.scm (java-eclipse-equinox-registry): New variable.
2017-05-15 22:33:15 +02:00
Ricardo Wurmus
90368ad9d8
gnu: Add java-eclipse-core-jobs.
* gnu/packages/java.scm (java-eclipse-core-jobs): New variable.
2017-05-15 22:33:14 +02:00
Ricardo Wurmus
8af92c8ffd
gnu: Add java-osgi-service-event.
* gnu/packages/java.scm (java-osgi-service-event): New variable.
2017-05-15 22:33:14 +02:00
Ricardo Wurmus
81b55b1e77
gnu: Add java-eclipse-equinox-common.
* gnu/packages/java.scm (java-eclipse-equinox-common): New variable.
2017-05-15 22:33:14 +02:00
Ricardo Wurmus
674e93a057
gnu: Add java-eclipse-osgi.
* gnu/packages/java.scm (java-eclipse-osgi): New variable.
2017-05-15 22:33:14 +02:00
Ricardo Wurmus
37e2e5d434
gnu: Add java-osgi-core.
* gnu/packages/java.scm (java-osgi-core): New variable.
2017-05-15 22:33:14 +02:00
Ricardo Wurmus
6ee6d0b58a
gnu: Add java-osgi-annotation.
* gnu/packages/java.scm (java-osgi-annotation): New variable.
2017-05-15 22:33:14 +02:00
Ricardo Wurmus
77d7b57cdc
gnu: Add java-simple-xml.
* gnu/packages/xml.scm (java-simple-xml): New variable.
2017-05-15 22:33:14 +02:00
Ricardo Wurmus
ff3f67668d
gnu: Add java-rsyntaxtextarea.
* gnu/packages/textutils.scm (java-rsyntaxtextarea): New variable.
2017-05-15 22:33:13 +02:00
Ricardo Wurmus
423b6840b3
gnu: Add java-usb4java.
* gnu/packages/libusb.scm (java-usb4java): New variable.
2017-05-15 22:33:13 +02:00
Ricardo Wurmus
18fe5ef152
gnu: Add libusb4java.
* gnu/packages/libusb.scm (libusb4java): New variable.
2017-05-15 22:33:13 +02:00
Ricardo Wurmus
b13a7cf82d
gnu: Add java-commons-net.
* gnu/packages/java.scm (java-commons-net): New variable.
2017-05-15 22:33:13 +02:00