U
;;; Copyright © 2017, 2019 Caleb Ristvedt
;;; Copyright © 2018, 2020 Ludovic Courtès
+;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen
;;;
;;; This file is part of GNU Guix.
;;;
@@ -20,6 +21,7 @@
(define-module (guix store database)
#:use-module (sqlite3)
#:use-module (guix config)
/gnu/packages/sqlite.scm
index 8468131ddf..eeb77749d8 100644
--- a/gnu/packages/sqlite.scm
+++ b/gnu/packages/sqlite.scm
@@ -11,6 +11,7 @@
;;; Copyright © 2017 Jelle Licht
;;; Copyright © 2018 Tobias Geerinckx-Rice
;;; Copyright © 2018 Alex Vong
+;;; Copyright © 2020 Jan (janneke) Nieuw
This fixes
guix offload: error: exception occurred on remote host 'localhost':
(%exception #>)
* gnu/packages/guile.scm (guile-sqlite3)[inputs]: Use sqlite/hurd instead of
sqlite.
---
gnu/packages/guile.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/gui
ges/sqlite.scm
index 8468131ddf..d5c44b0d0f 100644
--- a/gnu/packages/sqlite.scm
+++ b/gnu/packages/sqlite.scm
@@ -11,6 +11,7 @@
;;; Copyright © 2017 Jelle Licht
;;; Copyright © 2018 Tobias Geerinckx-Rice
;;; Copyright © 2018 Alex Vong
+;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen
;;;
;;; Th
U
;;; Copyright © 2017, 2019 Caleb Ristvedt
;;; Copyright © 2018, 2020 Ludovic Courtès
+;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen
;;;
;;; This file is part of GNU Guix.
;;;
@@ -20,6 +21,7 @@
(define-module (guix store database)
#:use-module (sqlite3)
#:use-module (guix config)
* gnu/packages/package-management.scm (guix)[inputs]: Use sqlite/hurd.
---
gnu/packages/package-management.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/package-management.scm
b/gnu/packages/package-management.scm
index 9986976cc6..64c6931011 100644
--- a/gn
e.scm
index 8468131ddf..d5c44b0d0f 100644
--- a/gnu/packages/sqlite.scm
+++ b/gnu/packages/sqlite.scm
@@ -11,6 +11,7 @@
;;; Copyright © 2017 Jelle Licht
;;; Copyright © 2018 Tobias Geerinckx-Rice
;;; Copyright © 2018 Alex Vong
+;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen
;;;
;;; This f
This fixes
guix offload: error: exception occurred on remote host 'localhost':
(%exception #>)
* gnu/packages/guile.scm (guile-sqlite3)[inputs]: Use sqlite/hurd instead of
sqlite.
---
gnu/packages/guile.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/gui
* gnu/packages/package-management.scm (guix)[inputs]: Use sqlite/hurd.
---
gnu/packages/package-management.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/package-management.scm
b/gnu/packages/package-management.scm
index 068d46566c..52c5a1e60d 100644
--- a/gn
35 10)) (with-exception-handler
("ice-9/boot-9.scm" 1730 15)) (#f ("guix/repl.scm" 119 7)))
--8<---cut here---end--->8---
Maybe we're missing some file_lock patch that Debian has? Where to look,
glibc, hurd, ...? Id
ot;etc/mtab")))
+ (mkdir* (scope "etc"))
+ (symlink "/proc/mounts" (scope "etc/mtab")))
(define* (boot-hurd-system #:key (on-error 'debug))
diff --git a/guix/store/roots.scm b/guix/store/roots.scm
index 58653507f8..9b4a05b149 100644
--- a/guix/store/roots
(janneke) Nieuwenhuizen
;;;
;;; This file is part of GNU Guix.
;;;
@@ -66,6 +67,7 @@
(offset root-offset)
(label root-label)
(file-system "ext2")
+ (file-system-options '("-o" "hurd" "-O" "ext_attr"
This is a follow-up to commit b904b59ce592c89dfb4675a8c06757afed6738a0.
* gnu/system/image.scm (hurd-initialize-root-partition): Move to ...
* gnu/system/images/hurd.scm (hurd-initialize-root-partition): ... here.
(hurd-disk-image): Use it.
---
gnu/system/image.scm | 7 ---
gnu/system/i
truct): #f
--8<---cut here---end--->8---
How sad!
I'm a bit stuck on this, probably because I'm feeling somewhat discouraged.
Any ideas what could have broken this, how to look into it, fix this?
Greetings,
Janneke
Jan (janneke) Nieuwenhui
es cross-build for the Hurd, from i686-linux,
+see <https://bugs.gnu.org/41982>.
+
+From 270667540146f8ef9ea7a44258a71b3837a7af4a Mon Sep 17 00:00:00 2001
+From: "Jan (janneke) Nieuwenhuizen"
+Date: Sun, 21 Jun 2020 15:10:40 +0200
+Subject: [PATCH] grub-core: Build fixes for i386
+
* 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.
---
gn
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.
---
only need hurd in PATH for settrans and gettrans.
The second patch then switches to using setxattr instead of settrans; alas we
still need gettrans as getxattr behaves "funny" on translated nodes. I
suppose that would be a question for the bug-hurd?
Greetings,
Janneke
Jan (janneke) Nie
* gnu/system.scm ()[hurd]: New field.
* doc/guix.texi (operating-system Reference): Document 'hurd'.
---
doc/guix.texi | 13 ++---
gnu/system.scm | 3 +++
2 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/doc/guix.texi b/doc/guix.texi
index 056bf011f6..4776eacacd 100644
---
* gnu/system.scm ()[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-ker
/hurd.scm
new file mode 100644
index 00..6e57b22810
--- /dev/null
+++ b/gnu/services/hurd.scm
@@ -0,0 +1,61 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software
* 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.
---
gnu/system.scm | 11 ---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/gnu/system.scm b/gnu/system.
Ludovic Courtès
+;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen
;;;
;;; This file is part of GNU Guix.
;;;
@@ -33,6 +34,9 @@
menu-entry-linux-arguments
menu-entry-initrd
menu-entry-device-mount-point
+menu-entry-multiboot-kernel
+
7 +7,7 @@
# Copyright © 2017 Mathieu Othacehe
# Copyright © 2017 Leo Famulari
# Copyright © 2017 Ricardo Wurmus
-# Copyright © 2017 Jan Nieuwenhuizen
+# Copyright © 2017, 2020 Jan (janneke) Nieuwenhuizen
# Copyright © 2017 Arun Isaac
# Copyright © 2018 Nikita
# Copyright © 2018 Julien Le
* gnu/build/activation.scm (boot-time-system): Add #:kernel-command-line
parameter.
* gnu/build/activation.scm (activate-current-system): Likewise, and pass it.
Change optional system parameter to #:system.
* gnu/system.scm (gnu/linux-activation-script): Rename from activation-script.
(activation-s
* gnu/bootloader/grub.scm (grub-configuration-file): Add support for
multiboot.
---
gnu/bootloader.scm | 3 +-
gnu/bootloader/grub.scm | 71 +
2 files changed, 46 insertions(+), 28 deletions(-)
diff --git a/gnu/bootloader.scm b/gnu/bootloader.scm
inde
,
mainly to see if it would fix the old vm-image, and make sure that it would
not break anything. While I would still suggest to merge that work, I have
removed it from wip-hurd-vm; the only supported way to build a VM image for
the Hurd is by using the new disk-image.
Thanks,
Janneke
Jan (jannek
Mathieu Othacehe writes:
Hello!
>> Yup, turned out patching GCC was too difficult. I'm experimenting a
>> filter over inputs passed to set-path-environment-variable in set-paths.
>
> This is also quite tricky, because the "libc" input passed to set-paths
> must not be removed from C_INCLUDE_PATH
28 matches
Mail list logo