summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-06-08squash! system: bare-hurd.tmpl: Add openssh-sans-x client and service.wip-hurd-vmJan (janneke) Nieuwenhuizen
As reported my mothacehe on IRC: --no-grafts is no longer necessary.
2020-06-08hurd-boot: Use 'setxattr' instead of invoking settrans.Jan (janneke) Nieuwenhuizen
Note: Using `getxattr' on the Hurd instead of running showtrans does not work (yet?). * gnu/build/hurd-boot.scm (setup-translator): Use 'setxattr' instead of invoking settrans. * gnu/system.scm (hurd-multiboot-modules): Add --x-xattr-translator-records to enable xattr-embebbing of translators.
2020-06-08system: bare-hurd.tmpl: Add openssh-sans-x client and service.Jan (janneke) Nieuwenhuizen
* gnu/system/examples/bare-hurd.tmpl (%hurd-os)[packages]: Add openssh-sans-x. [services]: Add openssh-service. Add example usage.
2020-06-08system: hurd: Remove 'cross-hurd-image' hack.Jan (janneke) Nieuwenhuizen
The initial guix build -f gnu/system/hurd.scm hack has been superseded by regular guix system (cross) build. * gnu/system/hurd.scm (compile-manifest, cross-hurd-image): Remove.
2020-06-08hurd-boot: Create individual translators instead of running MAKEDEV.Jan (janneke) Nieuwenhuizen
* gnu/build/hurd-boot.scm (make-hurd-device-nodes): Do not create dev/{null,zero,full,random,urandom} mount points. (setup-translator, xattr-translator, showtrans-translator?, translated?, set-hurd-device-translators): New procedures. (boot-hurd-system): Use them instead of running MAKEDEV.
2020-06-08gnu: openssh: Remove exception to build without xauth for the Hurd.Jan (janneke) Nieuwenhuizen
* gnu/packages/ssh.scm (openssh)[inputs]: Unconditionally include xauth; for the Hurd: use openssh-sans-x for now.
2020-06-08gnu: guix: Update to ab9e30039d.Jan (janneke) Nieuwenhuizen
* gnu/packages/package-management.scm (guix): Update to 1.1.0-1.ab9e30039d.
2020-06-08syscalls: set-thread-name, thread-name: Fix thinko.Jan (janneke) Nieuwenhuizen
* guix/build/syscalls.scm (set-thread-name, thread-name): Oops, fix thinko.
2020-06-08gnu: guix: Update to 68d8c09465.Jan (janneke) Nieuwenhuizen
* gnu/packages/package-management.scm (guix): Update to 1.1.0-1.68d8c09465.
2020-06-08gnu: services: Add %hurd-startup-service.Jan (janneke) Nieuwenhuizen
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-08hurd-boot: Further cleanup of "rc".Jan (janneke) Nieuwenhuizen
* 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-08system: hurd: Populate services.Jan (janneke) Nieuwenhuizen
* 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-08services: Add `hurd-getty-service-type'.Jan (janneke) Nieuwenhuizen
* 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-08services: Add `hurd-console-service-type'.Jan (janneke) Nieuwenhuizen
* gnu/services/hurd.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. * doc/guix.texi (Hurd Services): Document it.
2020-06-08gnu: hurd: Create minimal "runsystem" script to invoke "rc".Jan (janneke) Nieuwenhuizen
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-08services: hurd: Populate system profile.Jan (janneke) Nieuwenhuizen
* gnu/system.scm (hurd-default-essential-services): Populate profile with packages.
2020-06-08services: Support etc-service for the Hurd.Jan (janneke) Nieuwenhuizen
* 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-08system: Support activation service for the Hurd.Jan (janneke) Nieuwenhuizen
* 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-08system: examples: Add bare-hurd.tmpl.Jan (janneke) Nieuwenhuizen
* 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-08system: Use 'hurd' package in label.Jan (janneke) Nieuwenhuizen
* 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-08bootloader: grub: Add support for multiboot.Jan (janneke) Nieuwenhuizen
* gnu/bootloader/grub.scm (grub-configuration-file): Add support for multiboot.
2020-06-08system: Add 'multiboot-modules' field to <boot-parameters>.Jan (janneke) Nieuwenhuizen
* 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-08bootloader: Extend `<menu-entry>' for multiboot.Jan (janneke) Nieuwenhuizen
* gnu/bootloader.scm (<menu-entry>)[multiboot-kernel,multiboot-arguments, multiboot-modules]: New fields. [linux,initrd]: Add default value '#f'. (menu-entry->sexp, sexp->menu-entry): Support multiboot entry. * doc/guix.texi (Bootloader Configuration): Document them.
2020-06-08system: Add 'hurd' field to <operating-system>.Jan (janneke) Nieuwenhuizen
* gnu/system.scm (<operating-system>)[hurd]: New field. * doc/guix.texi (operating-system Reference): Document 'hurd'.
2020-06-08system: hurd: Add hurd-default-essential-services.Jan (janneke) Nieuwenhuizen
* gnu/system.scm (hurd-default-essential-services): New procedure.
2020-06-08image: Add Hurd support.Mathieu Othacehe
* gnu/system/image.scm (hurd-disk-image): New exported variable, (root-offset, root-label): new variables, (esp-partition, root-partition): adapt accordingly, (find-image): add Hurd support.
2020-06-08linux-boot: Update 'make-hurd-device-nodes'.Jan (janneke) Nieuwenhuizen
* gnu/build/linux-boot.scm (make-hurd-device-nodes): Avoid de-duplication of device mount points; also create mount points for /servers/.
2020-06-08syscalls: set-thread-name, thread-name: Stub for the Hurd.Jan (janneke) Nieuwenhuizen
Avoid crash Backtrace: guix/build/syscalls.scm:405:8: In procedure prctl: Function not implemented because of missing prctl on the Hurd. * guix/build/syscalls.scm (set-thread-name, thread-name): Rename to ... (set-thread-name!/linux,thread-name/linux): ...this. (set-thread-name, thread-name): Swtich between linux implementation and or stub.
2020-06-08gnu: hurd: Update to upstream Hurd-reserved xattr index.Jan (janneke) Nieuwenhuizen
This enables setting (and reading) passive translators when preparing a Hurd file system from GNU/Linux. * gnu/packages/patches/hurd-xattr.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/hurd.scm (hurd): Use it.
2020-06-08gnu: x265: Build with assembly files.Michael Rohleder
* gnu/packages/video.scm (x265)[native-inputs]: Add nasm. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-06-08system: bare-bones: Remove dependency to X libraries.Mathieu Othacehe
Use "openssh-sans-x" to prevent the inclusion of X libraries to the bare-bones system closure. * gnu/system/examples/bare-bones.tmpl (operating-system)[services]: Use openssh-sans-x instead of openssh.
2020-06-08gnu: Add openssh-sans-x.Mathieu Othacehe
* gnu/packages/ssh.scm (openssh-sans-x): New variable.
2020-06-08gnu: sudo: Separate Python output.Mathieu Othacehe
The Python plugin of "sudo" drags the Python interpreter to the closure of Guix System. Put it in a separate output. * gnu/packages/admin.scm (sudo)[arguments]: Add a 'separate-python-output phase, that's populating ... [outputs]: ... the new "python" output.
2020-06-08system: install: Add default libcs to gc-roots.Mathieu Othacehe
During the installation, it may be needed to build locales that are not covered by glibc-utf8-locales. Make sure that the libraries required to build locales are available. This is a follow-up of 0eed77127592323d89f56c215a15374a1aaae110. * gnu/system/install.scm (installation-os)[services]: Add %default-locale-libcs to gc-root-service-type.
2020-06-08gnu: rtl8821ce-linux-module: Use MAKE-FLAGS.Tobias Geerinckx-Rice
* gnu/packages/linux.scm (rtl8821ce-linux-module)[arguments]: Use MAKE-FLAGS keyword. Make CC environment variable a make flag.
2020-06-08gnu: rtl8812au-aircrack-ng-linux-module: Use MAKE-FLAGS.Tobias Geerinckx-Rice
* gnu/packages/linux.scm (rtl8812au-aircrack-ng-linux-module) [arguments]: Use MAKE-FLAGS keyword.
2020-06-08gnu: rtl8812au-aircrack-ng-linux-module: Update to 5.6.4.2-1.df2b8df.Tobias Geerinckx-Rice
* gnu/packages/linux.scm (rtl8812au-aircrack-ng-linux-module): Update to 5.6.4.2-1.df2b8df.
2020-06-08gnu: mu: Update to 1.4.9.Tobias Geerinckx-Rice
* gnu/packages/mail.scm (mu): Update to 1.4.9.
2020-06-08gnu: v4l2loopback-linux-module: Edit synopsis and description.Tobias Geerinckx-Rice
* gnu/packages/linux.scm (v4l2loopback-linux-module) [synopsis, description]: Edit.
2020-06-08gnu: v4l2loopback-linux-module: Disable ‘test’.Tobias Geerinckx-Rice
It simply built the test programme but nothing more. * gnu/packages/linux.scm (v4l2loopback-linux-module)[arguments]: Remove the ‘check’ phase.
2020-06-08gnu: Add v4l2loopback-linux-module.Morgan Smith
* gnu/packages/linux.scm (v4l2loopback-linux-module): New variable.
2020-06-08gnu: linux-libre: Update to 5.4.45.Mark H Weaver
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.45. (linux-libre-5.4-pristine-source): Update hash.
2020-06-08gnu: linux-libre@5.6: Update to 5.6.17.Mark H Weaver
* gnu/packages/linux.scm (linux-libre-5.6-version): Update to 5.6.17. (linux-libre-5.6-pristine-source): Update hash.
2020-06-08gnu: linux-libre@4.19: Update to 4.19.127.Mark H Weaver
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.127. (linux-libre-4.19-pristine-source): Update hash.
2020-06-07git-authenticate: Prevent removal of '.guix-authorizations'.Ludovic Courtès
* guix/git-authenticate.scm (commit-authorized-keys) [parents-have-authorizations-file?, assert-parents-lack-authorizations]: New procedures. Use the latter before returning DEFAULT-AUTHORIZATIONS. * guix/git.scm (false-if-git-not-found): Export. * guix/tests/git.scm (populate-git-repository): Add 'remove' clause. * tests/git-authenticate.scm ("signed commits, .guix-authorizations removed"): New test.
2020-06-07git: 'update-cached-checkout' gracefully handles missing starting commit.Ludovic Courtès
Fixes <https://bugs.gnu.org/41604> Reported by John Soo <jsoo1@asu.edu> and zimoun <zimon.toutoune@gmail.com>. * guix/git.scm (false-if-git-not-found): New macro. (reference-available?): Use it. (update-cached-checkout): Use it when looking up STARTING-COMMIT. Set RELATION to 'unrelated when OLD is #false.
2020-06-07gnu: go-github-com-stretchr-testify: Update to 1.5.1.Jakub Kądziołka
* gnu/packages/golang.scm (go-github-com-stretchr-testify): Update to 1.5.1.
2020-06-07gnu: go-github-com-davecgh-go-spew: Update to 1.1.1.Jakub Kądziołka
* gnu/packages/golang.scm (go-github-com-davecgh-go-spew): Update to 1.1.1.
2020-06-07gnu: Add go-github-com-stretchr-objx.Jakub Kądziołka
* gnu/packages/golang.scm (go-github-com-stretchr-objx): New variable.
2020-06-07gnu: Add epour.Efraim Flashner
* gnu/packages/enlightenment.scm (epour): New variable.