all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#51771] [PATCH 1/2] gnu: linux: Support numbers and strings in options.
@ 2021-11-11 19:02 phodina via Guix-patches via
  2021-11-11 19:04 ` [bug#51771] [PATCH 2/2] gnu: Add linux-libre-with-waydroid phodina via Guix-patches via
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: phodina via Guix-patches via @ 2021-11-11 19:02 UTC (permalink / raw)
  To: 51771

Hi,

this patch should add support for waydroid which requires certain options in the kernel enabled.

In order to enable the features the lambda-match has to be extended to support numbers and strings.

However, the kernel compiles and I can reconfigure the system, + reboot. But I do not see /dev/binder device. Details are in the last mail.

Petr

* gnu/packages/linux.scm: Match numbers and strings in options.

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index f386139638..ffbaed0c57 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -729,7 +729,11 @@ (define (config->string options)
                       ((option . #t)
                        (string-append option "=y"))
                       ((option . #f)
-                       (string-append option "=n")))
+                       (string-append option "=n"))
+                      ((option . number)
+                       (string-append option "=" number))
+                      ((option . string)
+                       (string-append option "=\"" string "\"")))
                     options)
                "\n"))

--
2.33.0




^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-04-08 20:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-11 19:02 [bug#51771] [PATCH 1/2] gnu: linux: Support numbers and strings in options phodina via Guix-patches via
2021-11-11 19:04 ` [bug#51771] [PATCH 2/2] gnu: Add linux-libre-with-waydroid phodina via Guix-patches via
2021-11-13 10:49   ` phodina via Guix-patches via
2021-11-13 10:53     ` [bug#51771] Linux-libre-with-waydroid phodina via Guix-patches via
2022-03-24 13:30       ` phodina via Guix-patches via
2022-04-14  8:07         ` phodina via Guix-patches via
2021-11-11 19:31 ` [bug#51771] Binder kernel module missing phodina via Guix-patches via
2021-11-13 10:50 ` [bug#51771] [PATCH v2 2/2] gnu: Add linux-libre-with-waydroid phodina via Guix-patches via
2024-04-08 20:27 ` [bug#51771] %5BPATCH%201%2F2%5D%20gnu%3A%20linux%3A%20Support%20numbers%20and%20strings%20in%20options outlook user

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.