From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 8EOQJ9j+9F+2ZwAA0tVLHw (envelope-from ) for ; Wed, 06 Jan 2021 00:05:44 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id sF1gI9j+9F/vZQAAB5/wlQ (envelope-from ) for ; Wed, 06 Jan 2021 00:05:44 +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 17B36940418 for ; Wed, 6 Jan 2021 00:05:43 +0000 (UTC) Received: from localhost ([::1]:57000 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kwwKa-0004Kv-UN for larch@yhetil.org; Tue, 05 Jan 2021 19:05:41 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57400) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwvl8-00055s-9Q for guix-patches@gnu.org; Tue, 05 Jan 2021 18:29:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59655) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kwvl8-0004Hw-2Y for guix-patches@gnu.org; Tue, 05 Jan 2021 18:29:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kwvl7-0002DM-Un for guix-patches@gnu.org; Tue, 05 Jan 2021 18:29:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45680] [PATCH] Allow customised xkeyboard-config package in initrd References: <76bcd66b8a02aff74ad75c506d2d11f62bce09d2.camel@telenet.be> In-Reply-To: <76bcd66b8a02aff74ad75c506d2d11f62bce09d2.camel@telenet.be> Resent-From: henkjan gersen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Jan 2021 23:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45680 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: maximedevos@telenet.be X-Debbugs-Original-Cc: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16098892888413 (code B ref -1); Tue, 05 Jan 2021 23:29:01 +0000 Received: (at submit) by debbugs.gnu.org; 5 Jan 2021 23:28:08 +0000 Received: from localhost ([127.0.0.1]:42968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kwvkG-0002Bd-Bd for submit@debbugs.gnu.org; Tue, 05 Jan 2021 18:28:08 -0500 Received: from lists.gnu.org ([209.51.188.17]:38340) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kwvkE-0002BU-Qc for submit@debbugs.gnu.org; Tue, 05 Jan 2021 18:28:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57312) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwvkE-00053X-A9 for guix-patches@gnu.org; Tue, 05 Jan 2021 18:28:06 -0500 Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]:41615) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kwvkA-0003yZ-O7 for guix-patches@gnu.org; Tue, 05 Jan 2021 18:28:04 -0500 Received: by mail-lf1-x134.google.com with SMTP id s26so2447530lfc.8 for ; Tue, 05 Jan 2021 15:28:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:from:date:message-id:subject:to:cc; bh=gkMc9EfQimq93bWIAscDolPG/bJuLmFM+Zld1HQs7rw=; b=gaXh/JEjVgLXAVz9r6d7DWjArG7cU0Ht+COScZcAYPawhkMgGdcAmGR4GxeqEMSrfc TbiYvf1IiflOiVCVKcYCYyKXYM+z/n2M/TtiOMDGgCQ42E69FzFfzPMDIjhgdpr7DqQj M6RTpJ1xiPg3qtbSYj0SS//4JU9S9yg+BAkkYQsWFRVtYjWBshFH6vpfP5M38wntdq/+ JUSe0yIum6p1otDFjaBkFLFXNA9z1VsKo44I9oQHlXhmxcaPd7wVO7hDIR9a95KRm7Nf e8keu+TJDxYDbdm0jShgSCEmIPQ4aLfW1rIz1Zp6daplTdY/l6Tb0W7XbC/M58PEPxyR yzDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:from:date:message-id :subject:to:cc; bh=gkMc9EfQimq93bWIAscDolPG/bJuLmFM+Zld1HQs7rw=; b=NikUQL5AVr7QE2cTvKoSOK4s+pp5BI4ZyoT13nShG5Zvr3BnMyIBHoGPGbrypt/Gl2 0eMrqZleWYhNfTjlkkNAnjLpHE3oSB0AxAGGEZsPiDJBQhA8tFP8bBpL6D3FkPmJXKdv m3Y9dqXSxeecBKo6K3qKJViagWj6XxoBABDkCNFrsPV8pdKpPrs3J40x8NBts5G5fhS9 M8JsIRKvvgo06dInnkPUsDRvKUHO08QJpwHiiEn7XMPWVmuJ9S8+t0qbOUP/KWldvMR1 r4DPB7nFks3jUxn719k3PGyE/nWPdTnNcBr6SOLXNB2l7q2zAsvbdKif0XPCv9+qETwV faGg== X-Gm-Message-State: AOAM5322xVzsmAwiLvMxtMB3NorKMlpCihPpEJ01wrtUo6PFOdmHb3nB d5PsoXBUpnv6As29HqjgNMXRbbiBga0BOKohgnc= X-Google-Smtp-Source: ABdhPJyfuJRH5aWP4wvK+ttWj6SSNAVBE67p8rO0sFXA3Epsskb8Cnhadz2wlPrT7ruwL9riPttkPLUlugI0sYDlLas= X-Received: by 2002:ac2:5979:: with SMTP id h25mr663152lfp.57.1609889279251; Tue, 05 Jan 2021 15:27:59 -0800 (PST) MIME-Version: 1.0 From: henkjan gersen Date: Tue, 5 Jan 2021 23:27:48 +0000 Message-ID: Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::134; envelope-from=h.gersen@gmail.com; helo=mail-lf1-x134.google.com 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_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Tue, 05 Jan 2021 19:04:45 -0500 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: h.gersen@gmail.com Cc: 45680@debbugs.gnu.org Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.24 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=gaXh/JEj; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 17B36940418 X-Spam-Score: -1.24 X-Migadu-Scanner: scn0.migadu.com X-TUID: HVHzIR+3L8sn As I triggered this patch with my question on the chat.... Looking at the patch I don't think it does what is intended as the keymaps defined in xkeyboard-config are in an xkb format and need to be converted to the correct format to allow them to be loaded in an initrd. For the console keymap layout ckbcomp is used in keyboard.scm to do this conversion that is then loaded by loadkeys, which is a pretty elegant approach. I actually don't know how the keymaps used in an initrd are defined or whether it is even needed to add them as they wouldn't help for the disk decryption password. Note that my original question was how I could replace xkeyboard-config for a patched version that has my own customized keyboard layout included; this does mean that any patch that adds keyboard layouts to initrd can be tested using the standard keyboard layouts that are available in the "standard" xkeyboard-config. If it works for existing layouts included it should also work for additional keyboard layouts I add to my version of xkeyboard-config.