Commit Graph

59147 Commits

Author SHA1 Message Date
Ludovic Courtès
df0010a9dc
gnu: hurd: "/libexec/rc" spawns the console client.
* gnu/packages/hurd.scm (hurd-rc-script): Start the console client.
2020-04-11 21:01:10 +02:00
Jan (janneke) Nieuwenhuizen
da987ece8f
system: hurd: Add root profile.
* gnu/system/hurd.scm (%base-packages/hurd): New variable.
(cross-hurd-image)[for-hurd]: New function.
(cross-hurd-image)[hurd-os]: Use them.
(cross-hurd-image)[profile]: Hack'y .profile for root, only setting PATH.
2020-04-11 21:01:09 +02:00
Ludovic Courtès
5fbf4f85e1
system: hurd: Create /etc/{hostname,motd,login} and /root.
* gnu/system/hurd.scm (cross-hurd-image): Add /etc/{hostname,motd,login}
and /root.
2020-04-11 21:01:09 +02:00
Jan (janneke) Nieuwenhuizen
fe1f9646b4
system: hurd: Add "/bin/sh" symlink.
This allows login.c to succeed for root.

* gnu/system/hurd.scm (cross-hurd-image): Link /bin/sh to full the full bash.
2020-04-11 21:01:09 +02:00
Jan (janneke) Nieuwenhuizen
6598c6149b
system: hurd: Add /etc/{passwd,shadow}.
* gnu/system/hurd.scm: Generate hard-coded /etc/{passwd,shadow},
allows running chown in MAKEDEV and loggin in.
2020-04-11 21:01:09 +02:00
Jan (janneke) Nieuwenhuizen
cd4faab563
system: hurd: Add ttys symlink in "/etc/ttys".
* gnu/packages/hurd.scm (hurd): Substitute /libexec/.
* gnu/system/hurd.scm (cross-hurd-image): Add symlink /etc/ttys =>
<hurd>/etc/ttys.
2020-04-11 21:01:09 +02:00
Jan (janneke) Nieuwenhuizen
379d0f5184
system: hurd: Add "/etc/fstab".
This allows running

    mount -o remount,rw /

successfully.

* gnu/system/hurd.scm (cross-hurd-image): Create a hard coded fstab and add it
to hurd-os.
2020-04-11 21:01:09 +02:00
Ludovic Courtès
a9f7993ea7
Add (gnu system hurd).
* gnu/system/hurd.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
2020-04-11 21:01:01 +02:00
Ludovic Courtès
cd45d656f1
vm: Make the device node procedure a parameter.
* gnu/build/vm.scm (root-partition-initializer): Add #:make-device-nodes
parameter and use it.
* gnu/system/vm.scm (qemu-image): Add #:device-node parameter.  Pass
 #:make-device-nodes to 'root-partition-initializer'.
2020-04-11 20:59:40 +02:00
Ludovic Courtès
ac61e876a4
linux-boot: Add 'make-hurd-device-nodes'.
* gnu/build/linux-boot.scm (make-hurd-device-nodes): New procedure.
2020-04-11 20:59:20 +02:00
Ludovic Courtès
683cba75ea
linux-boot: 'make-essential-device-nodes' root parameter is optional.
* gnu/build/linux-boot.scm (make-essential-device-nodes): Change 'root'
to an optional parameter.
* gnu/build/vm.scm (root-partition-initializer): Adjust accordingly.
2020-04-11 20:48:12 +02:00
Ludovic Courtès
6a488a3504
vm: Preserve file permissions on /dev.
Previously, when REGISTER-CLOSURES? was false, we'd set all the files
under /dev to #o644, including /dev/null, /dev/zero, etc.

* gnu/build/vm.scm (root-partition-initializer): Call 'reset-timestamps'
separately for /dev, with #:preserve-permissions? #t.
2020-04-11 20:48:12 +02:00
Ludovic Courtès
7fa6155b23
database: 'reset-timestamps' can optionally preserve permissions.
* guix/store/database.scm (reset-timestamps): Add
 #:preserve-permissions? and honor it.
2020-04-11 20:48:12 +02:00
Ludovic Courtès
916ec91f23
gnu: guile@3: Disable JIT on GNU/Hurd.
* gnu/packages/guile.scm (guile-3.0)[arguments]: New field.
2020-04-11 19:22:27 +02:00
Jan (janneke) Nieuwenhuizen
1c4268e414
gnu: cross-libc: Add patch to allow 'gettyent' reading store file names.
* gnu/packages/patches/glibc-hurd-gettyent.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/cross-base.scm (cross-libc): Add it in 'patch-libc/hurd' phase
when 'hurd-target?' is true.
2020-04-11 19:22:27 +02:00
Ludovic Courtès
ad3bbeadb4
gnu: hurd: Install a BDF font.
* gnu/packages/hurd.scm (unifont): New variable.
(hurd)[arguments]: In 'install-goodies' phase, install
OUT/share/hurd/vga-system.bdf.
[inputs]: Add UNIFONT.
2020-04-11 19:22:27 +02:00
Ludovic Courtès
1d5fc9f7a7
gnu: hurd: Add dependency on libdaemon.
* gnu/packages/hurd.scm (hurd)[inputs]: Add dependency on libdaemon.
[native-inputs]: Add PKG-CONFIG.
2020-04-11 19:22:26 +02:00
Ludovic Courtès
5ea5d0512f
gnu: libdaemon: Cross-build with --localstatedir=/var.
* gnu/packages/libdaemon.scm (libdaemon)[arguments]: Add
"--localstatedir=/var" when (%current-target-system) is true.
2020-04-11 19:22:26 +02:00
Ludovic Courtès
a16022a7b8
gnu: libdaemon: Allow cross-compilation.
* gnu/packages/libdaemon.scm (libdaemon)[arguments]: New field.
2020-04-11 19:22:26 +02:00
Ludovic Courtès
abbeaf5450
gnu: hurd: Add dependency on libgcrypt.
* gnu/packages/hurd.scm (hurd)[inputs]: Add LIBGCRYPT.
[native-inputs]: Likewise.
2020-04-11 19:22:26 +02:00
Jan (janneke) Nieuwenhuizen
7e7033d16e
gnu: libgcrypt: Fix cross-compilation.
This works around

    /gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/bash ../libtool  --tag=CC   --mode=link i586-pc-gnu-gcc -I/gnu/store/8x9dhckldm6iy1digklfanmvdaizq11f-libgpg-error-1.37/include -g -O2 -fvisibility=hidden -fno-delete-null-pointer-checks -Wall   -o mpicalc mpicalc-mpicalc.o libgcrypt.la  -L/gnu/store/8x9dhckldm6iy1digklfanmvdaizq11f-libgpg-error-1.37/lib -lgpg-error

    i586-pc-gnu-ld: ./.libs/libgcrypt.so: undefined reference to `_gcry_mpih_lshift'
    i586-pc-gnu-ld: ./.libs/libgcrypt.so: undefined reference to `_gcry_mpih_add_n'
    i586-pc-gnu-ld: ./.libs/libgcrypt.so: undefined reference to `_gcry_mpih_addmul_1'
    i586-pc-gnu-ld: ./.libs/libgcrypt.so: undefined reference to `_gcry_mpih_submul_1'
    i586-pc-gnu-ld: ./.libs/libgcrypt.so: undefined reference to `_gcry_mpih_mul_1'
    i586-pc-gnu-ld: ./.libs/libgcrypt.so: undefined reference to `_gcry_mpih_sub_n'
    i586-pc-gnu-ld: ./.libs/libgcrypt.so: undefined reference to `_gcry_mpih_rshift'

* gnu/packages/gnupg.scm (libgcrypt)[arguments]: Disable assembly when
cross-compiling.
2020-04-11 19:22:26 +02:00
Ludovic Courtès
62a3bbfdfe
gnu: hurd: Install the UTF-8 motd.
* gnu/packages/hurd.scm (hurd)[arguments]: Add 'install-goodies' phase.
2020-04-11 19:22:26 +02:00
Ludovic Courtès
29505c7d1e
gnu: hurd: Ensure startup scripts refer to the right programs.
* gnu/packages/hurd.scm (hurd)[arguments]: In 'set-file-names' phase, patch
startup.c, init.c, login.c, and daemons/runsystem/*.  Add
'patch-libexec-shebangs' phase.  Subtitute /libexec and /sbin, so that we may
run RC.
[inputs]: Add BASH-MINIMAL, COREUTILS, SED, GREP, and UTIL-LINUX.
2020-04-11 19:22:26 +02:00
Ludovic Courtès
b7e23a92a5
gnu: hurd: Record the right file name of 'login'.
* gnu/packages/hurd.scm (hurd)[arguments]: Add 'set-file-names' phase.
2020-04-11 19:22:26 +02:00
Ludovic Courtès
09ac892a95
gnu: hurd: Use a 32-bit MiG when cross-compiling.
* gnu/packages/hurd.scm (hurd)[native-inputs]: When
'%current-target-system' is true, pass #:system "i686-linux" to 'mig'.
2020-04-11 19:22:25 +02:00
Ludovic Courtès
7aad4609ae
gnu: cross-libc: Add patch to add 'mach_print' symbol on GNU/Hurd.
* gnu/packages/patches/glibc-hurd-mach-print.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/cross-base.scm (cross-libc): Add 'patch-libc/hurd' phase
when 'hurd-target?' is true.
2020-04-11 19:22:25 +02:00
Ludovic Courtès
f46cf8ef25
gnu: hurd: Provide our own /libexec/rc script.
* gnu/packages/hurd.scm (hurd-rc-script): New procedure.
(hurd)[inputs]: Add (hurd-rc-script).
2020-04-11 19:22:25 +02:00
Ludovic Courtès
29814639c4
gnu: gnumach: Enable kernel debugger (kbd).
* gnu/packages/hurd.scm (gnumach)[arguments]: Add "--enable-kdb".
2020-04-11 19:22:25 +02:00
Ludovic Courtès
4d1ff68d73
vm: 'qemu-image' can pass options to the 'mkfs' command.
* gnu/build/vm.scm (<partition>)[file-system-options]: New field.
(create-ext-file-system, create-fat-file-system)
(format-partition): Add #:options and honor it.
(initialize-partition): Pass #:options to 'format-partition'.
* gnu/system/vm.scm (qemu-image): Add #:file-system-options and use it
for the root partition.
2020-04-11 19:22:25 +02:00
Ludovic Courtès
82782d8cec
vm: 'qemu-image' accepts a list of extra populate directives.
* gnu/build/vm.scm (root-partition-initializer): Add #:extra-directives
parameter and pass it to 'populate-root-file-system'.
* gnu/system/vm.scm (qemu-image): Add #:extra-directives parameter and
pass it to 'root-partition-initializer'.
2020-04-11 19:22:25 +02:00
Ludovic Courtès
87241947aa
install: 'populate-root-file-system' can be passed extra directives.
* gnu/build/install.scm (evaluate-populate-directive): Handle 'file'
directives.
(populate-root-file-system): Add #:extras parameter and honor it.
2020-04-11 19:22:25 +02:00
Marius Bakke
8c83069b99
gnu: sbcl-burgled-batteries3: Fix build with Python 3.8.
* gnu/packages/lisp-xyz.scm (sbcl-burgled-batteries3)[arguments]: Remove "m"
suffix from Python include directory.  Add phase to remove deprecated Python
API binding.
2020-04-11 17:03:58 +02:00
Marius Bakke
c6d02bcf1b
Merge branch 'master' into core-updates 2020-04-11 17:00:30 +02:00
Marius Bakke
658505d7a9
gnu: python-genshi: Update to 0.7.3.
* gnu/packages/python-web.scm (python-genshi): Update to 0.7.3.
2020-04-11 16:35:29 +02:00
Marius Bakke
2a2a987868
gnu: python-pycrypto: Fix build with Python 3.8.
* gnu/packages/patches/python-pycrypto-time-clock.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/python-crypto.scm (python-pycrypto)[source](patches): Add it.
2020-04-11 16:04:26 +02:00
Marius Bakke
892918bc46
gnu: python-dnspython: Update to 1.16.0.
* gnu/packages/python-xyz.scm (python-dnspython): Update to 1.16.0.
2020-04-11 15:51:07 +02:00
Marius Bakke
67dbc06de1
gnu: python-flask: Update to 1.1.2.
* gnu/packages/python-web.scm (python-flask): Update to 1.1.2.
2020-04-11 15:51:07 +02:00
Marius Bakke
3d280dae09
gnu: sbcl-burgled-batteries3: Python is a runtime dependency.
* gnu/packages/lisp-xyz.scm (sbcl-burgled-batteries3)[native-inputs]: Move
PYTHON ...
[inputs]: ... here.
2020-04-11 15:51:07 +02:00
Marius Bakke
839fa4cd5e
gnu: sbcl-burgled-batteries3: Update to 0.0.0-2.f65f454.
* gnu/packages/lisp-xyz.scm (sbcl-burgled-batteries3): Update to
0.0.0-2.f65f454.
[arguments]: Rewrite phases to use the new BB_PYTHON3_* variables.  Add
 #:modules and #:imported-modules.
2020-04-11 15:51:07 +02:00
Marius Bakke
67950de7e8
gnu: python-pyqtwebengine: Use 'python-version'.
* gnu/packages/qt.scm (python-pyqtwebengine)[arguments]: Add (guix build
python-build-system) to #:modules.  Adjust #:imported-modules accordingly.
Rewrite #:phases to use it instead of rolling their own, or hard-coding.
2020-04-11 15:51:07 +02:00
Marius Bakke
8cc103cb01
gnu: gRPC@1.16: Fix build with glibc 2.30 and later.
* gnu/packages/rpc.scm (grpc-1.16.1)[arguments]: Add phase to rename custom
gettid() function.
2020-04-11 15:41:45 +02:00
Marius Bakke
72cf14948d
gnu: python-gevent: Update to 1.5.0.
* gnu/packages/python-xyz.scm (python-gevent): Update to 1.5.0.
[arguments]: Split the unbundling and include path adjustments intwo two
phases.  Enable previously failing test; disable two others.  Use a format
string instead of DISPLAY when writing skipped_tests.txt.
2020-04-11 15:34:52 +02:00
Marius Bakke
e66d5d6e29
gnu: spandsp: Add comment.
* gnu/packages/telephony.scm (spandsp)[native-inputs]: Note that the
LIBJPEG-TURBO dependency comes via LIBTIFF.
2020-04-11 15:33:32 +02:00
Nicolas Goaziou
fbfaba8a7c
gnu: python-duniterpy: Update to 0.57.0.
* gnu/packages/finance.scm (python-duniterpy): Update to 0.57.0.
2020-04-11 14:29:35 +02:00
Nicolas Goaziou
5258c41699
gnu: Add tennix.
* gnu/packages/games.scm (tennix): New variable.
2020-04-11 14:20:29 +02:00
Guillaume Le Vaillant
0493ead644
gnu: Merge ham-radio and sdr modules into radio module.
* gnu/packages/ham-radio.scm: Rename to 'radio.scm'.
* gnu/packages/sdr.scm: Remove file.
  (liquid-dsp): Move to ...
* gnu/packages/radio.scm (liquid-dsp): ... here.
* gnu/local.mk (GNU_SYSTEM_MODULES): Remove 'ham-radio.scm' and 'sdr.scm'. Add
  'radio.scm'.
2020-04-11 10:04:39 +02:00
Tobias Geerinckx-Rice
4061305509
gnu: bubblewrap: Update to 0.4.1 [fixes CVE-2020-5291].
Relevant only ‘[i]f bubblewrap is installed in setuid mode and the
kernel supports unprivileged user namespaces’.

Bubblewrap is not setuid by default on Guix System.

* gnu/packages/virtualization.scm (bubblewrap): Update to 0.4.1.
2020-04-11 04:14:29 +02:00
Tobias Geerinckx-Rice
a5ab71c73f
gnu: openconnect: Update to 8.08.
* gnu/packages/vpn.scm (openconnect): Update to 8.08.
[propagated-inputs]: Use gnutls-3.6.13.
* gnu/packages/tls.scm (gnutls-3.6.13): Export it.
2020-04-11 04:14:29 +02:00
Tobias Geerinckx-Rice
827813b581
gnu: supertux: Update to 0.6.1.1.
* gnu/packages/games.scm (supertux): Update to 0.6.1.1.
2020-04-11 04:14:28 +02:00
Tobias Geerinckx-Rice
5935779044
gnu: syncthing: Update to 1.4.2.
* gnu/packages/syncthing.scm (syncthing): Update to 1.4.2.
2020-04-11 04:14:28 +02:00