summaryrefslogtreecommitdiff
path: root/gnu
Commit message (Collapse)AuthorAgeFilesLines
* system: hurd: Add net-base and inetutils, and /etc/{services,protocols}.Jan (janneke) Nieuwenhuizen2020-04-111-2/+11
| | | | | | | | | This fixes In procedure getaddrinfo: Servname not supported for ai_socktype * gnu/system/hurd.scm (%base-packages/hurd): Add net-base, inetutils. (cross-hurd-image): Add /etc/{services,protocols} from net-base.
* system: hurd: Create a proper profile.Ludovic Courtès2020-04-111-24/+45
| | | | | | | | | | | | * gnu/system/hurd.scm (compile-manifest): New procedure. (cross-hurd-image)[for-hurd, hurd-os]: Remove. [cross-built, cross-built-entry]: New procedures. [system-profile]: New variable. [grub.cfg]: Use 'cross-built'. [profile]: Rename to... [etc-profile]: ... this, and adjust accordingly. [hurd-directives]: Create /run/current-system/profile and /etc/profile. Adjust arguments to 'qemu-image'.
* gnu: hurd: "/libexec/rc" spawns the console client.Ludovic Courtès2020-04-111-1/+6
| | | | * gnu/packages/hurd.scm (hurd-rc-script): Start the console client.
* system: hurd: Add root profile.Jan (janneke) Nieuwenhuizen2020-04-111-22/+37
| | | | | | | * 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.
* system: hurd: Create /etc/{hostname,motd,login} and /root.Ludovic Courtès2020-04-111-2/+17
| | | | | * gnu/system/hurd.scm (cross-hurd-image): Add /etc/{hostname,motd,login} and /root.
* system: hurd: Add "/bin/sh" symlink.Jan (janneke) Nieuwenhuizen2020-04-111-2/+7
| | | | | | This allows login.c to succeed for root. * gnu/system/hurd.scm (cross-hurd-image): Link /bin/sh to full the full bash.
* system: hurd: Add /etc/{passwd,shadow}.Jan (janneke) Nieuwenhuizen2020-04-111-1/+17
| | | | | * gnu/system/hurd.scm: Generate hard-coded /etc/{passwd,shadow}, allows running chown in MAKEDEV and loggin in.
* system: hurd: Add ttys symlink in "/etc/ttys".Jan (janneke) Nieuwenhuizen2020-04-111-1/+6
| | | | | | * gnu/packages/hurd.scm (hurd): Substitute /libexec/. * gnu/system/hurd.scm (cross-hurd-image): Add symlink /etc/ttys => <hurd>/etc/ttys.
* system: hurd: Add "/etc/fstab".Jan (janneke) Nieuwenhuizen2020-04-111-2/+12
| | | | | | | | | | | 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.
* Add (gnu system hurd).Ludovic Courtès2020-04-112-0/+113
| | | | | * gnu/system/hurd.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* vm: Make the device node procedure a parameter.Ludovic Courtès2020-04-112-1/+15
| | | | | | | * 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'.
* linux-boot: Add 'make-hurd-device-nodes'.Ludovic Courtès2020-04-111-0/+31
| | | | * gnu/build/linux-boot.scm (make-hurd-device-nodes): New procedure.
* linux-boot: 'make-essential-device-nodes' root parameter is optional.Ludovic Courtès2020-04-112-3/+3
| | | | | | * gnu/build/linux-boot.scm (make-essential-device-nodes): Change 'root' to an optional parameter. * gnu/build/vm.scm (root-partition-initializer): Adjust accordingly.
* vm: Preserve file permissions on /dev.Ludovic Courtès2020-04-111-1/+11
| | | | | | | | 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.
* gnu: guile@3: Disable JIT on GNU/Hurd.Ludovic Courtès2020-04-111-0/+7
| | | | * gnu/packages/guile.scm (guile-3.0)[arguments]: New field.
* gnu: cross-libc: Add patch to allow 'gettyent' reading store file names.Jan (janneke) Nieuwenhuizen2020-04-113-4/+46
| | | | | | | * 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.
* gnu: hurd: Install a BDF font.Ludovic Courtès2020-04-111-2/+23
| | | | | | | * gnu/packages/hurd.scm (unifont): New variable. (hurd)[arguments]: In 'install-goodies' phase, install OUT/share/hurd/vga-system.bdf. [inputs]: Add UNIFONT.
* gnu: hurd: Add dependency on libdaemon.Ludovic Courtès2020-04-111-0/+5
| | | | | * gnu/packages/hurd.scm (hurd)[inputs]: Add dependency on libdaemon. [native-inputs]: Add PKG-CONFIG.
* gnu: libdaemon: Cross-build with --localstatedir=/var.Ludovic Courtès2020-04-111-1/+9
| | | | | * gnu/packages/libdaemon.scm (libdaemon)[arguments]: Add "--localstatedir=/var" when (%current-target-system) is true.
* gnu: libdaemon: Allow cross-compilation.Ludovic Courtès2020-04-111-1/+7
| | | | * gnu/packages/libdaemon.scm (libdaemon)[arguments]: New field.
* gnu: hurd: Add dependency on libgcrypt.Ludovic Courtès2020-04-111-0/+3
| | | | | * gnu/packages/hurd.scm (hurd)[inputs]: Add LIBGCRYPT. [native-inputs]: Likewise.
* gnu: libgcrypt: Fix cross-compilation.Jan (janneke) Nieuwenhuizen2020-04-111-1/+4
| | | | | | | | | | | | | | | | | 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.
* gnu: hurd: Install the UTF-8 motd.Ludovic Courtès2020-04-111-0/+10
| | | | * gnu/packages/hurd.scm (hurd)[arguments]: Add 'install-goodies' phase.
* gnu: hurd: Ensure startup scripts refer to the right programs.Ludovic Courtès2020-04-111-4/+66
| | | | | | | | * 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.
* gnu: hurd: Record the right file name of 'login'.Ludovic Courtès2020-04-111-0/+7
| | | | * gnu/packages/hurd.scm (hurd)[arguments]: Add 'set-file-names' phase.
* gnu: hurd: Use a 32-bit MiG when cross-compiling.Ludovic Courtès2020-04-111-1/+7
| | | | | * gnu/packages/hurd.scm (hurd)[native-inputs]: When '%current-target-system' is true, pass #:system "i686-linux" to 'mig'.
* gnu: cross-libc: Add patch to add 'mach_print' symbol on GNU/Hurd.Ludovic Courtès2020-04-113-2/+33
| | | | | | | * 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.
* gnu: hurd: Provide our own /libexec/rc script.Ludovic Courtès2020-04-111-6/+64
| | | | | * gnu/packages/hurd.scm (hurd-rc-script): New procedure. (hurd)[inputs]: Add (hurd-rc-script).
* gnu: gnumach: Enable kernel debugger (kbd).Ludovic Courtès2020-04-111-0/+2
| | | | * gnu/packages/hurd.scm (gnumach)[arguments]: Add "--enable-kdb".
* vm: 'qemu-image' can pass options to the 'mkfs' command.Ludovic Courtès2020-04-112-10/+19
| | | | | | | | | * 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.
* vm: 'qemu-image' accepts a list of extra populate directives.Ludovic Courtès2020-04-112-4/+14
| | | | | | | * 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'.
* install: 'populate-root-file-system' can be passed extra directives.Ludovic Courtès2020-04-111-4/+14
| | | | | | * gnu/build/install.scm (evaluate-populate-directive): Handle 'file' directives. (populate-root-file-system): Add #:extras parameter and honor it.
* gnu: sbcl-burgled-batteries3: Fix build with Python 3.8.Marius Bakke2020-04-111-3/+9
| | | | | | * gnu/packages/lisp-xyz.scm (sbcl-burgled-batteries3)[arguments]: Remove "m" suffix from Python include directory. Add phase to remove deprecated Python API binding.
* Merge branch 'master' into core-updatesMarius Bakke2020-04-1118-127/+203
|\
| * gnu: python-genshi: Update to 0.7.3.Marius Bakke2020-04-111-2/+2
| | | | | | | | * gnu/packages/python-web.scm (python-genshi): Update to 0.7.3.
| * gnu: python-dnspython: Update to 1.16.0.Marius Bakke2020-04-111-2/+2
| | | | | | | | * gnu/packages/python-xyz.scm (python-dnspython): Update to 1.16.0.
| * gnu: python-flask: Update to 1.1.2.Marius Bakke2020-04-111-2/+2
| | | | | | | | * gnu/packages/python-web.scm (python-flask): Update to 1.1.2.
| * gnu: sbcl-burgled-batteries3: Python is a runtime dependency.Marius Bakke2020-04-111-3/+3
| | | | | | | | | | | | * gnu/packages/lisp-xyz.scm (sbcl-burgled-batteries3)[native-inputs]: Move PYTHON ... [inputs]: ... here.
| * gnu: sbcl-burgled-batteries3: Update to 0.0.0-2.f65f454.Marius Bakke2020-04-111-18/+17
| | | | | | | | | | | | | | * 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.
| * gnu: python-pyqtwebengine: Use 'python-version'.Marius Bakke2020-04-111-7/+7
| | | | | | | | | | | | * 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.
| * gnu: python-duniterpy: Update to 0.57.0.Nicolas Goaziou2020-04-111-2/+2
| | | | | | | | * gnu/packages/finance.scm (python-duniterpy): Update to 0.57.0.
| * gnu: Add tennix.Nicolas Goaziou2020-04-111-1/+64
| | | | | | | | * gnu/packages/games.scm (tennix): New variable.
| * gnu: Merge ham-radio and sdr modules into radio module.Guillaume Le Vaillant2020-04-113-61/+33
| | | | | | | | | | | | | | | | | | * 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'.
| * gnu: bubblewrap: Update to 0.4.1 [fixes CVE-2020-5291].Tobias Geerinckx-Rice2020-04-111-2/+2
| | | | | | | | | | | | | | | | | | 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.
| * gnu: openconnect: Update to 8.08.Tobias Geerinckx-Rice2020-04-112-4/+4
| | | | | | | | | | | | * 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.
| * gnu: supertux: Update to 0.6.1.1.Tobias Geerinckx-Rice2020-04-111-2/+2
| | | | | | | | * gnu/packages/games.scm (supertux): Update to 0.6.1.1.
| * gnu: syncthing: Update to 1.4.2.Tobias Geerinckx-Rice2020-04-111-3/+4
| | | | | | | | * gnu/packages/syncthing.scm (syncthing): Update to 1.4.2.
| * gnu: tig: Update to 2.5.1.Tobias Geerinckx-Rice2020-04-111-4/+4
| | | | | | | | | | * gnu/packages/version-control.scm (tig): Update to 2.5.1. [arguments]: #:test-target is correct even if all #:tests? can't run.
| * gnu: dbacl: Update to 1.14.1.Tobias Geerinckx-Rice2020-04-113-10/+47
| | | | | | | | | | | | | | | | * gnu/packages/textutils.scm (dbacl): Update to 1.14.1. [source]: Add patch to fix build with current glibc. [arguments]: (Try to) bootstrap only once. * gnu/packages/patches/dbacl-include-locale.h.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it.
| * gnu: libdca: Update to 0.0.7.Tobias Geerinckx-Rice2020-04-111-2/+6
| | | | | | | | | | * gnu/packages/video.scm (libdca): Update to 0.0.7. [native-inputs]: Add autoconf, automake, and libtool.