summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarcoFalke <_@721217.xyz>2023-12-07 16:15:18 +0000
committerLudovic Courtès <ludo@gnu.org>2023-12-13 12:58:43 +0100
commitd5ca4d4fd713a9f7e17e074a1e37dda99bbb09fc (patch)
tree91d884c86e61e73d68dbe0e59065826cad2aa27f
parent5f812344d293e5faaca44eeaab3b889fa6cb7e33 (diff)
downloadguix-d5ca4d4fd713a9f7e17e074a1e37dda99bbb09fc.tar.gz
syscalls: Define riscv64 syscall ID for clone.
* guix/build/syscalls.scm (clone): Add an entry for riscv64.

This allows the use of --container on riscv64.

Change-Id: I12b3cb5e2aa248266d006b6e456082f4ddc70e62
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--guix/build/syscalls.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/guix/build/syscalls.scm b/guix/build/syscalls.scm
index 4afe6d2f87..b2871c3c10 100644
--- a/guix/build/syscalls.scm
+++ b/guix/build/syscalls.scm
@@ -1098,6 +1098,7 @@ Turning finalization off shuts down the finalization thread as a side effect."
                        ("armv7l" 120)
                        ("aarch64" 220)
                        ("ppc64le" 120)
+                       ("riscv64" 220)
                        (_ #f))))
     (lambda (flags)
       "Create a new child process by duplicating the current parent process.