From: phodina via Guix-patches via <guix-patches@gnu.org>
To: 51771@debbugs.gnu.org
Subject: [bug#51771] [PATCH 1/2] gnu: linux: Support numbers and strings in options.
Date: Thu, 11 Nov 2021 19:02:25 +0000 [thread overview]
Message-ID: <iOvT9g1d7_K-thdi2Zsdn4SxPyMuPrPFP6k121oLlG67EGRxi5tPyWOE8vb3jvCfsgZPQ13b7dKWRdVdAY6VCXV0goFY5AYOPBRV4nsvdRA=@protonmail.com> (raw)
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
next reply other threads:[~2021-11-11 19:03 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-11 19:02 phodina via Guix-patches via [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='iOvT9g1d7_K-thdi2Zsdn4SxPyMuPrPFP6k121oLlG67EGRxi5tPyWOE8vb3jvCfsgZPQ13b7dKWRdVdAY6VCXV0goFY5AYOPBRV4nsvdRA=@protonmail.com' \
--to=guix-patches@gnu.org \
--cc=51771@debbugs.gnu.org \
--cc=phodina@protonmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.