GNU logs - #51771, boring messages


Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#51771] [PATCH 1/2] gnu: linux: Support numbers and strings in options.
Resent-From: phodina <phodina@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Thu, 11 Nov 2021 19:03:02 +0000
Resent-Message-ID: <handler.51771.B.163665736027695 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 51771
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 51771 <at> debbugs.gnu.org
X-Debbugs-Original-To: Guix Patches <guix-patches@HIDDEN>
Reply-To: phodina <phodina@HIDDEN>
Received: via spool by submit <at> debbugs.gnu.org id=B.163665736027695
          (code B ref -1); Thu, 11 Nov 2021 19:03:02 +0000
Received: (at submit) by debbugs.gnu.org; 11 Nov 2021 19:02:40 +0000
Received: from localhost ([127.0.0.1]:42272 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mlFLM-0007Cd-5s
	for submit <at> debbugs.gnu.org; Thu, 11 Nov 2021 14:02:40 -0500
Received: from lists.gnu.org ([209.51.188.17]:36984)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <phodina@HIDDEN>) id 1mlFLK-0007CV-JK
 for submit <at> debbugs.gnu.org; Thu, 11 Nov 2021 14:02:39 -0500
Received: from eggs.gnu.org ([209.51.188.92]:40356)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <phodina@HIDDEN>)
 id 1mlFLK-000520-DB
 for guix-patches@HIDDEN; Thu, 11 Nov 2021 14:02:38 -0500
Received: from mail-40134.protonmail.ch ([185.70.40.134]:10038)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <phodina@HIDDEN>)
 id 1mlFLI-0003WO-4O
 for guix-patches@HIDDEN; Thu, 11 Nov 2021 14:02:37 -0500
Date: Thu, 11 Nov 2021 19:02:25 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail; t=1636657349;
 bh=dq/FrSS9G4eExtVA+nekZaRbYw0/c2vXdsrIC89IkJo=;
 h=Date:To:From:Reply-To:Subject:From;
 b=RWS76s5z4mW03A/DGOmUyHQptVyt5AwdCFUbupLng4rWjQONLNc6uis7pNsz4DPfc
 MpZvZfBwtDrFSj9qV5fKhgS4Lsz8Ha90eWQ8Afr9nYEXQTE6kqBU7L6tAl/dKrh0JG
 5eDxKI0e3jWvALFkklqzBi0flw5yOe5hgjpdnCg8=
From: phodina <phodina@HIDDEN>
Message-ID: <iOvT9g1d7_K-thdi2Zsdn4SxPyMuPrPFP6k121oLlG67EGRxi5tPyWOE8vb3jvCfsgZPQ13b7dKWRdVdAY6VCXV0goFY5AYOPBRV4nsvdRA=@protonmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no
 autolearn=disabled version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 mailout.protonmail.ch
Received-SPF: pass client-ip=185.70.40.134;
 envelope-from=phodina@HIDDEN; helo=mail-40134.protonmail.ch
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Hi,

this patch should add support for waydroid which requires certain options i=
n the kernel enabled.

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

However, the kernel compiles and I can reconfigure the system, + reboot. Bu=
t 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 "=3Dy"))
                       ((option . #f)
-                       (string-append option "=3Dn")))
+                       (string-append option "=3Dn"))
+                      ((option . number)
+                       (string-append option "=3D" number))
+                      ((option . string)
+                       (string-append option "=3D\"" string "\"")))
                     options)
                "\n"))

--
2.33.0




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: phodina <phodina@HIDDEN>
Subject: bug#51771: Acknowledgement ([PATCH 1/2] gnu: linux: Support
 numbers and strings in options.)
Message-ID: <handler.51771.B.163665736027695.ack <at> debbugs.gnu.org>
References: <iOvT9g1d7_K-thdi2Zsdn4SxPyMuPrPFP6k121oLlG67EGRxi5tPyWOE8vb3jvCfsgZPQ13b7dKWRdVdAY6VCXV0goFY5AYOPBRV4nsvdRA=@protonmail.com>
X-Gnu-PR-Message: ack 51771
X-Gnu-PR-Package: guix-patches
X-Gnu-PR-Keywords: patch
Reply-To: 51771 <at> debbugs.gnu.org
Date: Thu, 11 Nov 2021 19:03:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 guix-patches@HIDDEN

If you wish to submit further information on this problem, please
send it to 51771 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
51771: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D51771
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#51771] [PATCH 2/2] gnu: Add linux-libre-with-waydroid.
References: <iOvT9g1d7_K-thdi2Zsdn4SxPyMuPrPFP6k121oLlG67EGRxi5tPyWOE8vb3jvCfsgZPQ13b7dKWRdVdAY6VCXV0goFY5AYOPBRV4nsvdRA=@protonmail.com>
In-Reply-To: <iOvT9g1d7_K-thdi2Zsdn4SxPyMuPrPFP6k121oLlG67EGRxi5tPyWOE8vb3jvCfsgZPQ13b7dKWRdVdAY6VCXV0goFY5AYOPBRV4nsvdRA=@protonmail.com>
Resent-From: phodina <phodina@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Thu, 11 Nov 2021 19:06:01 +0000
Resent-Message-ID: <handler.51771.B51771.163665750927976 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 51771
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: "51771 <at> debbugs.gnu.org" <51771 <at> debbugs.gnu.org>
Reply-To: phodina <phodina@HIDDEN>
Received: via spool by 51771-submit <at> debbugs.gnu.org id=B51771.163665750927976
          (code B ref 51771); Thu, 11 Nov 2021 19:06:01 +0000
Received: (at 51771) by debbugs.gnu.org; 11 Nov 2021 19:05:09 +0000
Received: from localhost ([127.0.0.1]:42277 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mlFNl-0007HA-J7
	for submit <at> debbugs.gnu.org; Thu, 11 Nov 2021 14:05:09 -0500
Received: from mail-40133.protonmail.ch ([185.70.40.133]:32699)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <phodina@HIDDEN>) id 1mlFNk-0007Gv-98
 for 51771 <at> debbugs.gnu.org; Thu, 11 Nov 2021 14:05:08 -0500
Date: Thu, 11 Nov 2021 19:04:55 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail; t=1636657497;
 bh=4xkg+sbw1YMYlI7d94HvNgdBNy96UCXqW/L5tfND77Q=;
 h=Date:To:From:Reply-To:Subject:From;
 b=gNdl61wyTjaKCNUkH7f1nytWv0HYnJUu5Dz3JGrDDLGbKlsqCVt8duQtIBfBd1zKu
 OohbZA2q1CyLCURSAqJXFIOEwiNhRpMYk75ER8IScu7opnSboFSjBa0Nn1shhXrkgy
 oXIAs2USIn4n+1IYRJ9VVIsFIOyKQJIcwIyPks5I=
From: phodina <phodina@HIDDEN>
Message-ID: <vT1t7q1nSybGdcbnNv0gBkOmsLDQKTpuvLjBmsObWL0vH3rxO_vtPlSdqRKap4nKqivgnqL4pQi0LUmjJ66XJMqDTdAOmmgyn3Pcg3BMmO8=@protonmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no
 autolearn=disabled version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 mailout.protonmail.ch
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/linux.scm (linux-libre-with-waydroid,
* waydroid-extra-linux-options): New variables.

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index ffbaed0c57..2ec9c88ecb 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -722,6 +722,14 @@ (define %bpf-extra-linux-options
     ;; kheaders module
     ("CONFIG_IKHEADERS" . #t)))

+(define %waydroid-extra-linux-options
+  `(;; Modules required for waydroid:
+   ("CONFIG_ASHMEM" . m)
+   ("CONFIG_ANDROID" . #t)
+   ("CONFIG_ANDROID_BINDER_IPC" . m)
+   ("CONFIG_ANDROID_BINDERFS" . #f)
+   ("CONFIG_ANDROID_BINDER_DEVICES" . "binder,hwbinder,vndbinder")))
+
 (define (config->string options)
   (string-join (map (match-lambda
                       ((option . 'm)
@@ -1147,6 +1155,24 @@ (define-public linux-libre-mips64el-fuloong2e
                       `(("CONFIG_OVERLAY_FS" . m))
                       %default-extra-linux-options)))

+(define-public linux-libre-with-waydroid
+  (let ((base-linux-libre
+         (make-linux-libre*
+          linux-libre-5.14-version
+          linux-libre-5.14-gnu-revision
+          linux-libre-5.14-source
+          '("x86_64-linux" "i686-linux" "armhf-linux"
+            "aarch64-linux" "riscv64-linux")
+          #:extra-version "linux"
+          #:configuration-file kernel-config
+          #:extra-options
+          (append %waydroid-extra-linux-options
+                  %default-extra-linux-options))))
+    (package
+      (inherit base-linux-libre)
+         (name "linux-libre-waydroid")
+      (inputs `(("cpio" ,cpio) ,@(package-inputs base-linux-libre))))))
+
 (define-public linux-libre-with-bpf
   (let ((base-linux-libre
          (make-linux-libre*
--
2.33.0




Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#51771] Binder kernel module missing
References: <iOvT9g1d7_K-thdi2Zsdn4SxPyMuPrPFP6k121oLlG67EGRxi5tPyWOE8vb3jvCfsgZPQ13b7dKWRdVdAY6VCXV0goFY5AYOPBRV4nsvdRA=@protonmail.com>
In-Reply-To: <iOvT9g1d7_K-thdi2Zsdn4SxPyMuPrPFP6k121oLlG67EGRxi5tPyWOE8vb3jvCfsgZPQ13b7dKWRdVdAY6VCXV0goFY5AYOPBRV4nsvdRA=@protonmail.com>
Resent-From: phodina <phodina@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Thu, 11 Nov 2021 19:32:01 +0000
Resent-Message-ID: <handler.51771.B51771.16366590816660 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 51771
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: "51771 <at> debbugs.gnu.org" <51771 <at> debbugs.gnu.org>
Reply-To: phodina <phodina@HIDDEN>
Received: via spool by 51771-submit <at> debbugs.gnu.org id=B51771.16366590816660
          (code B ref 51771); Thu, 11 Nov 2021 19:32:01 +0000
Received: (at 51771) by debbugs.gnu.org; 11 Nov 2021 19:31:21 +0000
Received: from localhost ([127.0.0.1]:42338 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mlFn7-0001jM-HS
	for submit <at> debbugs.gnu.org; Thu, 11 Nov 2021 14:31:21 -0500
Received: from mail-40131.protonmail.ch ([185.70.40.131]:53516)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <phodina@HIDDEN>) id 1mlFn5-0001j6-L6
 for 51771 <at> debbugs.gnu.org; Thu, 11 Nov 2021 14:31:20 -0500
Date: Thu, 11 Nov 2021 19:31:07 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail; t=1636659069;
 bh=qYHlkV7EDdY8LNh9IRivT5zUYjbiWzVedMudQQmmg9I=;
 h=Date:To:From:Reply-To:Subject:From;
 b=NsdmKts2c6n4y3asyGtUr5CD8YC79giN+Rk901H6O23EGoac23C5XjfAciBNSigwO
 lNOOOUqqGiimltXJk2BdiJoJZ01dD/SMojQZ0zud7lUPusElt6G5YfZoqWd0dM/ru3
 XeJehsZejcPd8omluygnFS8V/VsiihxT4QW/x0Us=
From: phodina <phodina@HIDDEN>
Message-ID: <0x0kMfnducz-ThC0YbUbYb30kvJWgoZAHD3WmxuZavOg4kbFXSuDmmi4-Ioql-RUrILvGUewjO0bcdl4OPWK3JtsByM_HP8z2QO6IOW4iUY=@protonmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no
 autolearn=disabled version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 mailout.protonmail.ch
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Unfortunately, as stated above the binder interface is missing. I looked fo=
r the kernel module but couldn't find it. As the /proc/config.gz is not pre=
sent I can't verify it's enabled.

$ find /run/booted-system/kernel/lib/modules/5.14.17-gnu/kernel/ -iname "*b=
inder*"
$ cat /proc/cmdline
BOOT_IMAGE=3D/gnu/store/fr1cwmbn19hyrs3wxr5sqr7iy4cj674y-linux-libre-waydro=
id-5.14.17/bzImage --root=3D/dev/mapper/cryptsystem --system=3D/gnu/store/8=
g26gi6v9dni0cagc3l1ny8shyz8r38h-system --load=3D/gnu/store/8g26gi6v9dni0cag=
c3l1ny8shyz8r38h-system/boot modprobe.blacklist=3Dusbmouse,usbkbd quiet

Therefore the waydroid userspace manager also doesn't work:

# waydroid.py init
[19:40:05] Failed to load binder driver
[19:40:06] modprobe: FATAL: Module binder_linux not found in directory /run=
/booted-system/kernel/lib/modules/5.14.17-gnu
[19:40:06] ERROR: Binder node "binder" for waydroid not found
[19:40:06] See also: <https://github.com/waydroid>
Run 'waydroid log' for details.

$ waydroid.py log
(006323) [19:40:05] % modprobe binder_linux devices=3D"anbox-binder,anbox-v=
ndbinder,anbox-hwbinder"
modprobe: FATAL: Module binder_linux not found in directory /run/booted-sys=
tem/kernel/lib/modules/5.14.17-gnu
(006323) [19:40:05] Failed to load binder driver
(006323) [19:40:06] modprobe: FATAL: Module binder_linux not found in direc=
tory /run/booted-system/kernel/lib/modules/5.14.17-gnu
(006323) [19:40:06] ERROR: Binder node "binder" for waydroid not found
(006323) [19:40:06] See also: <https://github.com/waydroid>
(006323) [19:40:06] Traceback (most recent call last):
  File "/gnu/store/iprc2yqsx5zi8nc2g3nqvlmlqzbw7nrf-waydroid-1.2.0/lib/wayd=
roid/tools/__init__.py", line 54, in main

My conclusion is the module is not enabled and built. It could be do the th=
e extended match-lambda expression as I'm not Guile guru.

The patch related to waydroid can be find here [1].

[1]=C2=A0https://issues.guix.gnu.org/51737




Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#51771] [PATCH 2/2] gnu: Add linux-libre-with-waydroid.
Resent-From: phodina <phodina@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sat, 13 Nov 2021 10:50:01 +0000
Resent-Message-ID: <handler.51771.B51771.16368005859710 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 51771
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: "51771 <at> debbugs.gnu.org" <51771 <at> debbugs.gnu.org>
Reply-To: phodina <phodina@HIDDEN>
Received: via spool by 51771-submit <at> debbugs.gnu.org id=B51771.16368005859710
          (code B ref 51771); Sat, 13 Nov 2021 10:50:01 +0000
Received: (at 51771) by debbugs.gnu.org; 13 Nov 2021 10:49:45 +0000
Received: from localhost ([127.0.0.1]:46633 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mlqbR-0002WY-0o
	for submit <at> debbugs.gnu.org; Sat, 13 Nov 2021 05:49:45 -0500
Received: from mail-40131.protonmail.ch ([185.70.40.131]:55268)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <phodina@HIDDEN>) id 1mlqbM-0002WC-Np
 for 51771 <at> debbugs.gnu.org; Sat, 13 Nov 2021 05:49:43 -0500
Date: Sat, 13 Nov 2021 10:49:29 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail; t=1636800570;
 bh=nwQEELNWtC2iKdAb8XWgJOrqknjVFrN+v+LW3nnDIWg=;
 h=Date:To:From:Reply-To:Subject:In-Reply-To:References:From;
 b=OI7H/oazZBrxPGwgHTzBOFFDAPlNQtLFEmY+kl5H497qMHRXnjoE4Et1iraRvqHT5
 NxoMmdbPUye3uvGzOyOLIh6wv8LwT3InOjzIH6iT7EBO8O4TMGoiPCoER0FGfTMNMs
 SF6BC0syKtSAWeSxVaNq1vtrT5hzVsS/qKIEf+8g=
From: phodina <phodina@HIDDEN>
Message-ID: <u_ib1orir8DkVGJMursHiPxOfqbl1Ltc1JOk1yo5z7NJPM2fbz1-Tc2WiPJ5BEoHC88RR4k4dgmGx_fK0EFDcuO7oivGtuf5JMn6NB_vFGM=@protonmail.com>
In-Reply-To: <vT1t7q1nSybGdcbnNv0gBkOmsLDQKTpuvLjBmsObWL0vH3rxO_vtPlSdqRKap4nKqivgnqL4pQi0LUmjJ66XJMqDTdAOmmgyn3Pcg3BMmO8=@protonmail.com>
References: <vT1t7q1nSybGdcbnNv0gBkOmsLDQKTpuvLjBmsObWL0vH3rxO_vtPlSdqRKap4nKqivgnqL4pQi0LUmjJ66XJMqDTdAOmmgyn3Pcg3BMmO8=@protonmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no
 autolearn=disabled version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 mailout.protonmail.ch
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

[PATCH v2 1/2] gnu: linux: Support numbers and strings in options.

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

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index f386139638..cfc09580a3 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -724,12 +724,16 @@ (define %bpf-extra-linux-options

 (define (config->string options)
   (string-join (map (match-lambda
-                      ((option . 'm)
-                       (string-append option "=3Dm"))
-                      ((option . #t)
-                       (string-append option "=3Dy"))
                       ((option . #f)
-                       (string-append option "=3Dn")))
+                       (format #f "# ~a is not set" option))
+                      ((option . #t)
+                       (format #f "~a=3Dy" option))
+                      ((option . 'm)
+                       (format #f "~a=3Dm" option))
+                      ((option . (? number? value))
+                       (format #f "~a=3D~a" option value))
+                      ((option . (? string? value))
+                       (format #f "~a=3D\"~a\"" option value)))
                     options)
                "\n"))

--
2.33.0




Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#51771] [PATCH v2 2/2] gnu: Add linux-libre-with-waydroid.
References: <iOvT9g1d7_K-thdi2Zsdn4SxPyMuPrPFP6k121oLlG67EGRxi5tPyWOE8vb3jvCfsgZPQ13b7dKWRdVdAY6VCXV0goFY5AYOPBRV4nsvdRA=@protonmail.com>
In-Reply-To: <iOvT9g1d7_K-thdi2Zsdn4SxPyMuPrPFP6k121oLlG67EGRxi5tPyWOE8vb3jvCfsgZPQ13b7dKWRdVdAY6VCXV0goFY5AYOPBRV4nsvdRA=@protonmail.com>
Resent-From: phodina <phodina@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sat, 13 Nov 2021 10:51:02 +0000
Resent-Message-ID: <handler.51771.B51771.16368006409833 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 51771
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: "51771 <at> debbugs.gnu.org" <51771 <at> debbugs.gnu.org>
Reply-To: phodina <phodina@HIDDEN>
Received: via spool by 51771-submit <at> debbugs.gnu.org id=B51771.16368006409833
          (code B ref 51771); Sat, 13 Nov 2021 10:51:02 +0000
Received: (at 51771) by debbugs.gnu.org; 13 Nov 2021 10:50:40 +0000
Received: from localhost ([127.0.0.1]:46637 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mlqcK-0002YX-9f
	for submit <at> debbugs.gnu.org; Sat, 13 Nov 2021 05:50:40 -0500
Received: from mail-40131.protonmail.ch ([185.70.40.131]:44742)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <phodina@HIDDEN>) id 1mlqcI-0002YI-Lr
 for 51771 <at> debbugs.gnu.org; Sat, 13 Nov 2021 05:50:39 -0500
Date: Sat, 13 Nov 2021 10:50:27 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail; t=1636800628;
 bh=tbH4PoAhfskrthW+HjTM2ObTS5/TKWeQhTfw6Gy/eR4=;
 h=Date:To:From:Reply-To:Subject:From;
 b=sMy2nRhXUcCppjaalwEFszbDBNYtKh/oZrE4hF4K6qEbj4KhZv66QPHp3aEDrITL1
 pzxMTXgDwFJhb4MqMuRU6TMpIe7UEb9DKJOi3jZNQMvTcNppwzIO0B+nWMh44x3Naf
 3BUFFplO7DvgtqEnGoB3vwfbc2AodZXdrIa0M0l4=
From: phodina <phodina@HIDDEN>
Message-ID: <bciESSWCCUIRrqs-S99j2QIWcaajFIzIu6juLy255EbPcONI6YFJZlpcFQndyRZUnoFgmUMzsCN11xpWCzgsqAiDHNvqa3LohQsQKG8kuZQ=@protonmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no
 autolearn=disabled version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 mailout.protonmail.ch
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/linux.scm (linux-libre-with-waydroid,
* waydroid-extra-linux-options): New variables.

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index cfc09580a3..a5d95bf5d4 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -722,6 +722,14 @@ (define %bpf-extra-linux-options
     ;; kheaders module
     ("CONFIG_IKHEADERS" . #t)))

+(define %waydroid-extra-linux-options
+  `(;; Modules required for waydroid:
+   ("CONFIG_ASHMEM" . #t)
+   ("CONFIG_ANDROID" . #t)
+   ("CONFIG_ANDROID_BINDER_IPC" . #t)
+   ("CONFIG_ANDROID_BINDERFS" . #t)
+   ("CONFIG_ANDROID_BINDER_DEVICES" . "binder,hwbinder,vndbinder")))
+
 (define (config->string options)
   (string-join (map (match-lambda
                       ((option . #f)
@@ -1147,6 +1155,24 @@ (define-public linux-libre-mips64el-fuloong2e
                       `(("CONFIG_OVERLAY_FS" . m))
                       %default-extra-linux-options)))

+(define-public linux-libre-waydroid
+  (let ((base-linux-libre
+         (make-linux-libre*
+          linux-libre-5.14-version
+          linux-libre-5.14-gnu-revision
+          linux-libre-5.14-source
+          '("x86_64-linux" "i686-linux" "armhf-linux"
+            "aarch64-linux" "riscv64-linux")
+          #:extra-version "linux"
+          #:configuration-file kernel-config
+          #:extra-options
+          (append %waydroid-extra-linux-options
+                  %default-extra-linux-options))))
+    (package
+      (inherit base-linux-libre)
+         (name "linux-libre-waydroid")
+      (inputs `(("cpio" ,cpio) ,@(package-inputs base-linux-libre))))))
+
 (define-public linux-libre-with-bpf
   (let ((base-linux-libre
          (make-linux-libre*
--
2.33.0




Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#51771] Linux-libre-with-waydroid.
Resent-From: phodina <phodina@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sat, 13 Nov 2021 10:55:01 +0000
Resent-Message-ID: <handler.51771.B51771.163680084610237 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 51771
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: "51771 <at> debbugs.gnu.org" <51771 <at> debbugs.gnu.org>
Cc: Tobias Geerinckx-Rice <me@HIDDEN>
Reply-To: phodina <phodina@HIDDEN>
Received: via spool by 51771-submit <at> debbugs.gnu.org id=B51771.163680084610237
          (code B ref 51771); Sat, 13 Nov 2021 10:55:01 +0000
Received: (at 51771) by debbugs.gnu.org; 13 Nov 2021 10:54:06 +0000
Received: from localhost ([127.0.0.1]:46645 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mlqfd-0002f0-Vo
	for submit <at> debbugs.gnu.org; Sat, 13 Nov 2021 05:54:06 -0500
Received: from mail-4322.protonmail.ch ([185.70.43.22]:31909)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <phodina@HIDDEN>) id 1mlqfa-0002eR-Ql
 for 51771 <at> debbugs.gnu.org; Sat, 13 Nov 2021 05:54:04 -0500
Date: Sat, 13 Nov 2021 10:53:53 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail; t=1636800836;
 bh=xmXxlbss+kEAP3JxngWqX56lQdZ67xRRSrvcbUlk1RA=;
 h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From;
 b=UvEEdqeorAvnRaX8Sn9H+bh02ryQUQeWViTEaSLxCRayHmtw9eBlEgV0V/enaUOBc
 cH3el9/4f95T0YtxIGA4T5YDw4bvUvPKcbOvT4gq42R0H7DdJgMLP0ThvJNHGYrSA4
 WoMu3GgWXlulpojQiv7iMEeHoREH6htAE6ufAdaQ=
From: phodina <phodina@HIDDEN>
Message-ID: <1KXnjy2aoaA0TTPejA7lCvXrBNTRnnK8w5PJhEwHqZd8-1ppEx1bPlWqvFlfcfCJZT_vOZ5UtRr8rTm6A5quQsX2xzmvyntPBGYsrde-c2E=@protonmail.com>
In-Reply-To: <u_ib1orir8DkVGJMursHiPxOfqbl1Ltc1JOk1yo5z7NJPM2fbz1-Tc2WiPJ5BEoHC88RR4k4dgmGx_fK0EFDcuO7oivGtuf5JMn6NB_vFGM=@protonmail.com>
References: <vT1t7q1nSybGdcbnNv0gBkOmsLDQKTpuvLjBmsObWL0vH3rxO_vtPlSdqRKap4nKqivgnqL4pQi0LUmjJ66XJMqDTdAOmmgyn3Pcg3BMmO8=@protonmail.com>
 <u_ib1orir8DkVGJMursHiPxOfqbl1Ltc1JOk1yo5z7NJPM2fbz1-Tc2WiPJ5BEoHC88RR4k4dgmGx_fK0EFDcuO7oivGtuf5JMn6NB_vFGM=@protonmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no
 autolearn=disabled version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 mailout.protonmail.ch
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi,

here are the updated patches that:

- enable to set numbers and strings as options in kernel config
- define a new linux kernel which has support for waydroid

$ grep -E "ANDROID|ASHMEM" /run/current-system/kernel/.config
CONFIG_ASHMEM=3Dy
CONFIG_ANDROID=3Dy
CONFIG_ANDROID_BINDER_IPC=3Dy
CONFIG_ANDROID_BINDERFS=3Dy
CONFIG_ANDROID_BINDER_DEVICES=3D"binder,hwbinder,vndbinder"
# CONFIG_ANDROID_BINDER_IPC_SELFTEST is not set

Huge thanks to Tobias Geerinckx-Rice for help with the parsing issue!

Petr




Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#51771] Linux-libre-with-waydroid.
Resent-From: phodina <phodina@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Thu, 24 Mar 2022 13:31:01 +0000
Resent-Message-ID: <handler.51771.B51771.164812863914358 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 51771
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: "51771 <at> debbugs.gnu.org" <51771 <at> debbugs.gnu.org>
Cc: Tobias Geerinckx-Rice <me@HIDDEN>
Reply-To: phodina <phodina@HIDDEN>
Received: via spool by 51771-submit <at> debbugs.gnu.org id=B51771.164812863914358
          (code B ref 51771); Thu, 24 Mar 2022 13:31:01 +0000
Received: (at 51771) by debbugs.gnu.org; 24 Mar 2022 13:30:39 +0000
Received: from localhost ([127.0.0.1]:47057 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nXNXy-0003jW-Qh
	for submit <at> debbugs.gnu.org; Thu, 24 Mar 2022 09:30:38 -0400
Received: from mail-40134.protonmail.ch ([185.70.40.134]:40241)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <phodina@HIDDEN>) id 1nXNXx-0003jJ-Dm
 for 51771 <at> debbugs.gnu.org; Thu, 24 Mar 2022 09:30:37 -0400
Date: Thu, 24 Mar 2022 13:30:29 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail; t=1648128630;
 bh=/eQGhQM3HokAxLlGQ2aKgJA5dRAP2N9NY1e7QTzbhhs=;
 h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To:
 References:From:To:Cc:Date:Subject:Reply-To:Feedback-ID:
 Message-ID;
 b=rafrNRg23Xb3NUpqotds0GLKYmyvz/mjlThbmTa1KGDKSYTUSOGJ47HZ9ecRNG6lm
 +XKqOm8rEJL2+y7SYRq5hEXnj7uDYyhC/PgpYK7t7ints/jMJeZa4OtyCT+D1IlDQU
 Px397MwrRJgvSArkhADuOziU3+Wqj7StPr5cxWR7oanOw/4cI/7ZlWTwSpK8AHlalo
 mIpyo/Pc4E3UryvByWlxVqabmtX6On71kyFHCpnz7TW0Un5Vwm6llRW1ZDdV/d5sIy
 MgXfpO4MFLdybuBftyfRxACVmg+wRz6nJ472pE69k/cWgcdwon3ByElzt9FS9636wv
 nRXw02tLvgVOw==
From: phodina <phodina@HIDDEN>
Message-ID: <yspArvxtQ67y3K-bMyD9ywkUwKrsImOufKZSqFbH1bynT9verUnNqC42ERDhR8T2xlFVbdMQAJxdfBYrGcnQrPi3mT2tCBV9OMOAsdKne4U=@protonmail.com>
In-Reply-To: <1KXnjy2aoaA0TTPejA7lCvXrBNTRnnK8w5PJhEwHqZd8-1ppEx1bPlWqvFlfcfCJZT_vOZ5UtRr8rTm6A5quQsX2xzmvyntPBGYsrde-c2E=@protonmail.com>
References: <vT1t7q1nSybGdcbnNv0gBkOmsLDQKTpuvLjBmsObWL0vH3rxO_vtPlSdqRKap4nKqivgnqL4pQi0LUmjJ66XJMqDTdAOmmgyn3Pcg3BMmO8=@protonmail.com>
 <u_ib1orir8DkVGJMursHiPxOfqbl1Ltc1JOk1yo5z7NJPM2fbz1-Tc2WiPJ5BEoHC88RR4k4dgmGx_fK0EFDcuO7oivGtuf5JMn6NB_vFGM=@protonmail.com>
 <1KXnjy2aoaA0TTPejA7lCvXrBNTRnnK8w5PJhEwHqZd8-1ppEx1bPlWqvFlfcfCJZT_vOZ5UtRr8rTm6A5quQsX2xzmvyntPBGYsrde-c2E=@protonmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi,

would it be possible to just review the first patch which adds support for =
strings in kernel options?

Unfortunately, there is no way to build just the kernel modules with suppor=
t for ASHMEM as the coded misused the `kallsyms_lookup_name` [1].

Therefore the only way to have working waydroid is to build a kernel with t=
he options enabled.

I'll leave the second patch for the other open issue [2].

[1] https://github.com/anbox/anbox-modules/issues/49#issuecomment-737091629
[2] https://issues.guix.gnu.org/51737

----
Petr




Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#51771] Linux-libre-with-waydroid.
Resent-From: phodina <phodina@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Thu, 14 Apr 2022 08:08:02 +0000
Resent-Message-ID: <handler.51771.B51771.164992367717102 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 51771
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: "51771 <at> debbugs.gnu.org" <51771 <at> debbugs.gnu.org>
Cc: Efraim Flashner <efraim@HIDDEN>, "jsoo1@HIDDEN" <jsoo1@HIDDEN>
Reply-To: phodina <phodina@HIDDEN>
Received: via spool by 51771-submit <at> debbugs.gnu.org id=B51771.164992367717102
          (code B ref 51771); Thu, 14 Apr 2022 08:08:02 +0000
Received: (at 51771) by debbugs.gnu.org; 14 Apr 2022 08:07:57 +0000
Received: from localhost ([127.0.0.1]:54985 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1neuWC-0004Rm-Rh
	for submit <at> debbugs.gnu.org; Thu, 14 Apr 2022 04:07:57 -0400
Received: from mail-4322.protonmail.ch ([185.70.43.22]:63249)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <phodina@HIDDEN>) id 1neuWB-0004RY-62
 for 51771 <at> debbugs.gnu.org; Thu, 14 Apr 2022 04:07:55 -0400
Date: Thu, 14 Apr 2022 08:07:38 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail; t=1649923668;
 bh=XrlQZ+ihSyhRA9JNBHmazfQhZ2xwPlDEj9q1oELt0sA=;
 h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To:
 References:From:To:Cc:Date:Subject:Reply-To:Feedback-ID:
 Message-ID;
 b=rqHiolvVnHAQxWuxi2I6zZVpqfN/LgV9DEKN1rzbmZ6vDT3YE+n2K+eX+wE6s6WG9
 nkP6dsU62pzFiJSrul+xWYosEzAnn/jVDleNYyuXmP+uxuQwlVR3LOFLqBDv+rFwj0
 lD3kj1cTuIwi7wWFAIrysTOpOk+DJtxvUP9qgp+BXFa1H+CRnkVetM2IqmNXKOl5NO
 M+hixc1tSNl00NMg2bR8UNrCn9ALYwrTErrCOA2YDsKyPvWyIjOTz8TaaEXeixo8tl
 2FiWT3tErGirS0noezwuEVcRwDHU6ujJJEP7KsHUco6YHfkwRTzvI9j4ZiZlm6esfk
 FvYRLUmjOo6JA==
From: phodina <phodina@HIDDEN>
Message-ID: <yYsCzlnIBReK7PzR1jtmGDxlTpyjSH-j7HmyjUZZBgNsLrV1RZZCiPSMNr-tskq3AWN_-COo4weUWFT2Kh-znGFThqAtRoBTzhws9tGNhHE=@protonmail.com>
In-Reply-To: <yspArvxtQ67y3K-bMyD9ywkUwKrsImOufKZSqFbH1bynT9verUnNqC42ERDhR8T2xlFVbdMQAJxdfBYrGcnQrPi3mT2tCBV9OMOAsdKne4U=@protonmail.com>
References: <vT1t7q1nSybGdcbnNv0gBkOmsLDQKTpuvLjBmsObWL0vH3rxO_vtPlSdqRKap4nKqivgnqL4pQi0LUmjJ66XJMqDTdAOmmgyn3Pcg3BMmO8=@protonmail.com>
 <u_ib1orir8DkVGJMursHiPxOfqbl1Ltc1JOk1yo5z7NJPM2fbz1-Tc2WiPJ5BEoHC88RR4k4dgmGx_fK0EFDcuO7oivGtuf5JMn6NB_vFGM=@protonmail.com>
 <1KXnjy2aoaA0TTPejA7lCvXrBNTRnnK8w5PJhEwHqZd8-1ppEx1bPlWqvFlfcfCJZT_vOZ5UtRr8rTm6A5quQsX2xzmvyntPBGYsrde-c2E=@protonmail.com>
 <yspArvxtQ67y3K-bMyD9ywkUwKrsImOufKZSqFbH1bynT9verUnNqC42ERDhR8T2xlFVbdMQAJxdfBYrGcnQrPi3mT2tCBV9OMOAsdKne4U=@protonmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi,

could you please share your thoughts on the parsing of the config and possi=
bly also on waydroid?

Petr





Last modified: Thu, 14 Apr 2022 08:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.