Commit graph

61788 commits

Author SHA1 Message Date
Jan (janneke) Nieuwenhuizen 5681ce5074
services: etc: Add '/etc/ttys' symlink for the Hurd.
Reported by Vitaliy Shatrov <D0dyBo0D0dyBo0@protonmail.com> via IRC.

* gnu/system.scm (operating-system-etc-service): For the Hurd, add '/etc/ttys'
symlink.  This fixes terminal behavior in the console by setting TERM=hurd.
2020-06-09 17:59:56 +02:00
Mathieu Othacehe 9392652e91
installer: final: Dump "guix system init" command output when testing.
When debugging the installation tests, it can be very handy to be able to read
"guix system init" command output.

* gnu/installer/final.scm (install-system): Dump installation command output
to the console when running the installation tests.
2020-06-09 17:59:05 +02:00
Mathieu Othacehe ce16b07d10
installer: final: Remove left-over pk call.
* gnu/installer/final.scm (kill-cow-users): Remove pk call.
2020-06-09 17:59:05 +02:00
Jan (janneke) Nieuwenhuizen 5648ce07ff
gnu: guix: Update to 141b5c1620.
* gnu/packages/package-management.scm (guix): Update to 1.1.0-1.141b5c1620.
2020-06-09 17:42:23 +02:00
Stefan 536c53d347
gnu: grub: Support graphical gfxterm on all systems.
* gnu/bootloaders/grub.scm (eye-candy): Use gfxterm depending only on
(bootloader-configuration (terminal-outputs …)), which defaults to '(gfxterm).
This makes the system argument obsolete.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-06-09 17:18:21 +02:00
Pierre Neidhardt 141b5c1620
gnu: emacs-helm: Update to 3.6.2.
* gnu/packages/emacs-xyz.scm (emacs-helm): Update to 3.6.2.
2020-06-09 10:45:11 +02:00
Katherine Cox-Buday a50628bbe0
gnu: apache-arrow: Update to 0.17.1.
* gnu/packages/databases.scm (apache-arrow): Update to 0.17.1.
* gnu/packages/databases.scm (python-pyarrow): Update to 0.17.1.
* gnu/packages/serialization.scm (python-feather-format): Update to 0.4.1.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-06-09 10:43:54 +02:00
Katherine Cox-Buday fbc1cbb527
gnu: Add apache-thrift.
* gnu/packages/rpc.scm (apache-thrift): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-06-09 10:43:54 +02:00
Jonathan Brielmaier dacd126640
gnu: icedove: Update to 68.9.0.
* gnu/packages/gnuzilla.scm (%icedove-build-id): Update.
(icedove): Update version and corresponding hg changeset.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-06-09 10:43:54 +02:00
Lars-Dominik Braun 7a45b5d5ba
store: Use buffered I/O for all protocol writes
* guix/store.scm (run-gc) Use buffered output port.
(export-path) Same.
(add-file-tree-to-store) Same.
(set-build-options): Same. Add explicit flush.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-06-09 10:43:54 +02:00
Royce Strange ea80cdbcea
activation: Fix function call for system activation
* gnu/build/activation.scm (boot-time-system):
Evaluate the linux-command-line thunk for linux systems to boot

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-06-09 10:43:54 +02:00
Mathieu Othacehe 5f7c4416b5
Revert "installer: utils: Dump command output to syslog when testing."
This reverts commit f73ed55791. This was pushed
by error, as this is not reviewed yet.
2020-06-09 10:33:04 +02:00
Mathieu Othacehe f73ed55791
installer: utils: Dump command output to syslog when testing.
When debugging the installation tests, it can be very handy to be able to read
"run-command" output, for instance when executing "guix system init".

Introduce a new "invoke-with-log" procedure that is able to log a command
standard and error outputs to the syslog. Use it, only when running the
installation tests, to dump "run-command" output.

* gnu/installer/utils.scm (open-pipe-with-stderr, invoke-with-log): New
procedures,
(invoke-log-port): new variable,
(run-command): move to the end of the file and use invoke-with-log when
running the installation tests.
2020-06-09 10:32:19 +02:00
Mathieu Othacehe 8423c2d309
build: image: Do not call make-essential-device-nodes by default.
Calling "mknod" without root permissions fails. Plus those device nodes do not
appear to be needed to boot.

* gnu/build/image.scm (initialize-root-partition): Do not use
make-essential-device-nodes as default make-device-nodes procedure.
2020-06-09 10:32:19 +02:00
Brice Waegeneire 1b5d26c967
doc: Add note to 'udisks-service'.
* doc/guix.texi (Desktop Services): Specify how to add file-systems
utilities to 'udisks-service'.
2020-06-09 10:26:56 +02:00
Royce Strange 23567138f8
system: vm: Add missing imported module.
* gnu/system/vm.scm (qemu-image): Import missing (gnu build hurd-boot) module.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2020-06-09 01:31:16 -04:00
Royce Strange 535a6be2e5
system: Fix typo that breaks grub.cfg generation.
* gnu/system.scm (boot-parameters->menu-entry): Delete quote to evalutate and
get kernel boot parameters.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2020-06-09 01:28:18 -04:00
Ludovic Courtès eef859e853
git-authenticate: 'commit-authorized-keys' properly handles orphan commits.
Previously it would trigger a wrong-number-of-arguments error for
'lset-intersection'.

* guix/git-authenticate.scm (commit-authorized-keys): Add case for when
'commit-parents' returns the empty list.
2020-06-09 00:34:52 +02:00
Ludovic Courtès 72357e2170
git: 'commit-difference' really excludes the ancestors of #:excluded.
* guix/git.scm (commit-difference): Initialize VISITED to the closure of
OLD and EXCLUDED, as written in the docstring.
* tests/git.scm ("commit-difference, excluded commits"): Adjust
accordingly.
2020-06-09 00:34:52 +02:00
Ludovic Courtès 5d95ac9178
maint: 'make authenticate' starts from v1.0.0.
* Makefile.am (commit_v1_0_1): Remove.
(commit_v1_0_0): New variable.
(authenticate): Use it.
2020-06-09 00:34:52 +02:00
Tobias Geerinckx-Rice 9084fc2e90
gnu: znc: Update to 1.8.1.
* gnu/packages/messaging.scm (znc): Update to 1.8.1.
2020-06-08 23:03:08 +02:00
Tobias Geerinckx-Rice c34a7dc2bb
gnu: v4l2loopback-linux-module: Really disable tests.
Commit fdcd193744 was a botched by-hand
‘merge’ that caused the default check phase to run, and fail.

* gnu/packages/linux.scm (v4l2loopback-linux-module)[arguments]:
Set #:tests? to #f.
2020-06-08 23:01:54 +02:00
Vagrant Cascadian 076779c4d4
gnu: Add linux-libre-arm-generic-5.7.
* gnu/packages/linux (linux-libre-arm-generic): New variable.
2020-06-08 13:05:51 -07:00
Vagrant Cascadian 637b64ce7c
gnu: Add linux-libre-arm64-generic-5.7.
* gnu/packages/linux (linux-libre-arm64-generic): New variable.
2020-06-08 13:05:48 -07:00
Vagrant Cascadian 21569e53b2
gnu: Add linux-libre 5.7.1.
* gnu/packages/linux (deblob-scripts-5.7): New variable.
  (linux-libre-5.7-version): New variable.
  (linux-libre-5.7-pristine-source): New variable.
  (linux-libre-5.7-source): New variable.
  (linux-libre-headers-5.7): New variable.
2020-06-08 13:05:44 -07:00
Maxim Cournoyer 838c4b10e9
gnu: opensmtpd: Patch bug in 'smtpctl encrypt'.
* gnu/packages/mail.scm (opensmtpd)[phases]{fix-smtpctl-encrypt-bug}: New
phase.
2020-06-08 15:43:07 -04:00
Leo Famulari 933abfba36
gnu: Blender: Update to 2.83.0.
* gnu/packages/graphics.scm (blender): Update to 2.83.0.
2020-06-08 14:32:50 -04:00
Marius Bakke 1fd2c00efb
gnu: font-liberation: Update to 2.1.1.
* gnu/packages/fonts.scm (font-liberation): Update to 2.1.1.
2020-06-08 19:01:41 +02:00
Marius Bakke 087e760e29
gnu: Add python-mechanize.
* gnu/packages/python-xyz.scm (python2-mechanize): Rename to ...
(python-mechanize): ... this.  Update to 0.4.5.
[arguments]: Remove.
[propagated-inputs]: Add PYTHON-HTML5LIB.
[home-page]: Update to current.
[license]: Set to LICENSE:BSD-3.
(python2-mechanize): Define in terms of PACKAGE-WITH-PYTHON2.
2020-06-08 19:01:41 +02:00
Marius Bakke 183858d938
gnu: python-regex: Update to 2020.6.8.
* gnu/packages/python-xyz.scm (python-regex): Update to 2020.6.8.
[arguments]: New field.
2020-06-08 19:01:41 +02:00
Marius Bakke a8a7a2c797
gnu: python-netifaces: Update to 0.10.9.
* gnu/packages/python-xyz.scm (python-netifaces): Update to 0.10.9.
2020-06-08 19:01:40 +02:00
Marius Bakke 59e646ab4e
gnu: python-cssselect: Update to 1.1.0.
* gnu/packages/python-web.scm (python-cssselect): Update to 1.1.0.
[source]: Change to GIT-FETCH.
[arguments]: Remove #:tests?.  Add #:phases.
[native-inputs]: Add PYTHON-LXML and PYTHON-PYTEST.
[home-page]: Update to current.
2020-06-08 19:01:40 +02:00
Marius Bakke b470122f67
gnu: python-odfpy: Update to 1.4.1.
* gnu/packages/python-xyz.scm (python-odfpy): Update to 1.4.1.
[arguments]: Remove #:modules.  Rewrite test phase to use pytest.
[native-inputs]: Add PYTHON-PYTEST.
[propagated-inputs]: Add PYTHON-DEFUSEDXML.
2020-06-08 19:01:40 +02:00
Jan (janneke) Nieuwenhuizen 4a6974667e
gnu: openssh: Remove exception to build without xauth for the Hurd.
* gnu/packages/ssh.scm (openssh)[inputs]: Unconditionally include xauth;
for the Hurd: use openssh-sans-x for now.
2020-06-08 16:50:40 +02:00
Jan (janneke) Nieuwenhuizen 8176ce6fde
gnu: guix: Update to ab9e30039d.
* gnu/packages/package-management.scm (guix): Update to 1.1.0-1.ab9e30039d.
2020-06-08 16:50:09 +02:00
Jan (janneke) Nieuwenhuizen ab9e30039d
syscalls: set-thread-name, thread-name: Fix thinko.
* guix/build/syscalls.scm (set-thread-name, thread-name): Oops, fix thinko.
2020-06-08 16:49:03 +02:00
Jan (janneke) Nieuwenhuizen 835b3d893f
gnu: guix: Update to 68d8c09465.
* gnu/packages/package-management.scm (guix): Update to 1.1.0-1.68d8c09465.
2020-06-08 14:45:40 +02:00
Jan (janneke) Nieuwenhuizen 68d8c09465
gnu: services: Add %hurd-startup-service.
This decouples startup of the Hurd from the "hurd" package, moving the RC
script into SYSTEM.

* gnu/packages/hurd.scm (hurd)[inputs]: Remove hurd-rc-script.
[arguments]: Do not substitute it.  Update "runsystem.sh" to parse kernel
arguments and exec into --system=SYSTEM/rc.
(hurd-rc-script): Move to...
* gnu/services.scm (%hurd-rc-file): ...this new variable.
(hurd-rc-entry): New procedure.
(%hurd-startup-service): Use it in new variable.
* gnu/system.scm (hurd-default-essential-services): Use it.
2020-06-08 14:26:14 +02:00
Jan (janneke) Nieuwenhuizen b37c544196
hurd-boot: Further cleanup of "rc".
* gnu/packages/hurd.scm (hurd-rc-script): Move implementation to ...
* gnu/build/hurd-boot.scm (boot-hurd-system): ...here, new file.
* gnu/build/linux-boot.scm (make-hurd-device-nodes): Move there likewise.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
2020-06-08 14:26:14 +02:00
Jan (janneke) Nieuwenhuizen 11e4200fee
system: hurd: Populate services.
* gnu/system/hurd.scm (%base-services/hurd): Add hurd-console-service,
hurd-getty-services, guix-service.  Also add sylog and loopback, needed for
...
* gnu/system.scm (hurd-default-essential-services): ... add
%shepherd-root-service with dependencies: %boot-service, %activation-service,
user-processes, root-file-system-service, file-system-service,
pam-root-service.
2020-06-08 14:26:14 +02:00
Jan (janneke) Nieuwenhuizen 7ccd471c71
services: Add `hurd-getty-service-type'.
* gnu/services/hurd.scm (<hurd-gettty-configuration>): New record.
(hurd-ttys-shepherd-service): New procedure.
(hurd-getty-service-type): New variable.
* doc/guix.texi (Hurd Services): Document it.
2020-06-08 14:26:14 +02:00
Jan (janneke) Nieuwenhuizen f9c04580bf
services: Add `hurd-console-service-type'.
* gnu/services/hurd.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* doc/guix.texi (Hurd Services): Document it.
2020-06-08 14:26:14 +02:00
Jan (janneke) Nieuwenhuizen 97c94fc2c2
gnu: hurd: Create minimal "runsystem" script to invoke "rc".
This moves towards a regular Guix startup, loading SYSTEM/boot to activate the
system and start the shepherd.

* gnu/packages/hurd.scm (hurd-rc-script): Update to handle "runsystem" tasks.
Load system/boot to activate the system and start the shepherd.  Create /hurd
symlink.
(hurd)[arguments]: Add 'create-runsystem' phase.  Do not substitute now unused
init.c, runsystem.hurd.  Substitute "/hurd/" for the fixed 'out + "/hurd/"' in
boot.c, console-run.c and startup.c.  Also substitute
_HURD_STARTUP ("/hurd/startup") to the fixed 'out + "/hurd/startup"' in
libdiskfs/boot-start.c and libdiskfs/opts-std-startup.c.
2020-06-08 14:26:14 +02:00
Jan (janneke) Nieuwenhuizen c03e513a41
services: hurd: Populate system profile.
* gnu/system.scm (hurd-default-essential-services): Populate profile with
packages.
2020-06-08 14:26:13 +02:00
Jan (janneke) Nieuwenhuizen f5ca79d2a2
services: Support etc-service for the Hurd.
* gnu/system.scm (operating-system-etc-service): Cater for missing nsswitch
and missing sudoers-file.  For the Hurd, add "login" and "motd".
(hurd-default-essential-services): Add operating-system-etc-service.
2020-06-08 14:12:29 +02:00
Jan (janneke) Nieuwenhuizen c3fd2df705
system: Support activation service for the Hurd.
* gnu/build/activation.scm (boot-time-system): Use "command-line" for the
Hurd.
* gnu/system.scm (hurd-default-essential-services): Add %boot-service and
%activation-service.
2020-06-08 14:12:20 +02:00
Jan (janneke) Nieuwenhuizen 59bcffa314
system: examples: Add bare-hurd.tmpl.
* gnu/system/hurd.scm (%hurd-def%hurd-default-operating-system-kernel,
%hurd-default-operating-system): New exported variables.
* gnu/system/examples/bare-hurd.tmpl: New file.
* Makefile.am (EXAMPLES): Add it.
* tests/guix-system.sh: Add --target=i586-pc-gnu when testing it.
2020-06-08 13:51:19 +02:00
Jan (janneke) Nieuwenhuizen e6cd8581c1
system: Use 'hurd' package in label.
* gnu/system.scm (kernel->boot-label): Add keyword parameter 'hurd'.  If set,
use it for label.
(operating-system-default-label): Call with it with operating-system-hurd.
2020-06-08 13:51:19 +02:00
Jan (janneke) Nieuwenhuizen 1244491a0d
bootloader: grub: Add support for multiboot.
* gnu/bootloader/grub.scm (grub-configuration-file): Add support for
multiboot.
2020-06-08 13:51:18 +02:00
Jan (janneke) Nieuwenhuizen 912b857ede
system: Add 'multiboot-modules' field to <boot-parameters>.
* gnu/system.scm (<boot-parameters>)[multiboot-modules]: New field.
(read-boot-parameters): Initialize it.
(operating-system-multiboot-modules, hurd-multiboot-modules): New procedure.
(operating-system-boot-parameters): Cater for multiboot the Hurd and
initialize it; avoid initrd in that case.
(operating-system-kernel-file): Cater for for Gnumach (the Hurd) besides Linux.
(boot-parameters->menu-entry): Use it to support a multiboot <menu-entry>.
2020-06-08 13:51:18 +02:00