From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6DU+F5+Yj2G83AAAgWs5BA (envelope-from ) for ; Sat, 13 Nov 2021 11:51:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id MH7LEp+Yj2GHeAAAbx9fmQ (envelope-from ) for ; Sat, 13 Nov 2021 10:51:11 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D1216B51E for ; Sat, 13 Nov 2021 11:51:10 +0100 (CET) Received: from localhost ([::1]:45326 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlqco-00044U-0S for larch@yhetil.org; Sat, 13 Nov 2021 05:51:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36612) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlqcg-00043v-K2 for guix-patches@gnu.org; Sat, 13 Nov 2021 05:51:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35091) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mlqcg-00007m-Am for guix-patches@gnu.org; Sat, 13 Nov 2021 05:51:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mlqcg-0002ZB-AH for guix-patches@gnu.org; Sat, 13 Nov 2021 05:51:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51771] [PATCH v2 2/2] gnu: Add linux-libre-with-waydroid. References: In-Reply-To: Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 13 Nov 2021 10:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51771 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "51771@debbugs.gnu.org" <51771@debbugs.gnu.org> Received: via spool by 51771-submit@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 ) id 1mlqcK-0002YX-9f for submit@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 ) id 1mlqcI-0002YI-Lr for 51771@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= Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches From: phodina via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1636800671; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=tbH4PoAhfskrthW+HjTM2ObTS5/TKWeQhTfw6Gy/eR4=; b=t1GARfplnLllTVcOYDsGK+hhBFvkWO/FhFyAyb+hoP6Xw8tE9JZKo61Jk5XSRbaZyPHoOK Tx+zRCesanUtsrzlqB+EVS+V3EsGNwCSfTlJxOcTnggu2fQXiS+3Ko1V70VtKl4uKP3oUh G2Vq6l0pB7m/Mr6lQp9E+q8GP7in1Vaa170bYz/bdDedNLSktQAg8TpbqqTGn/TbXAX0Fy k4Kon0GIhMGckIYRrzh+KkgvjNxHLjCKZg5Y9a1Nx+QPuaF6v+snK2O3veKyO2Lec0H5RU Z07SV7eU6WB0verOSOoMiS1VHyNPzlCRWrFmW8AJoGeo9u+w8xYKx5JFU7x6aQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636800671; a=rsa-sha256; cv=none; b=IJEzOwys/9QuEfGKkvUySfg812eAkSECi1SQKSUYhJGJXPlaTwJHwpggwSF343u7g/yZLk e2d3n3gxitqMkD/PVkHQBSc+p7JObKe7ryEbUdqZJ/GZcK3z63USZkfQAj3f3yACRhMiE2 Uox3UBj0Pc1stezv30pVQ1Rk+eGHcEYvGMaWLFWTi6Ajq+2iqexbRhRcIIq0kE2mAGwJ01 hrDx6wcXldBq09cnBtBHASDW427ahr4fMfWA/QPL+5jzKLvXyeNIPCI9TnBogDa+7xk5j1 k3YaHLXAOfwsLg89ScwahoARetGIm0Iq3ynghKHz8gHPiCdHz6gjF1rGjFNUNg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=sMy2nRhX; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.83 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=sMy2nRhX; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D1216B51E X-Spam-Score: -1.83 X-Migadu-Scanner: scn0.migadu.com X-TUID: q9OmXrd/fibB * 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