From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QFpENec0jWFy1wAAgWs5BA (envelope-from ) for ; Thu, 11 Nov 2021 16:21:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 2CncMOc0jWF0KwAAbx9fmQ (envelope-from ) for ; Thu, 11 Nov 2021 15:21: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 6112CB09A for ; Thu, 11 Nov 2021 16:21:11 +0100 (CET) Received: from localhost ([::1]:47616 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlBt0-0006Um-09 for larch@yhetil.org; Thu, 11 Nov 2021 10:21:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37302) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlBrZ-0003ug-EO for help-guix@gnu.org; Thu, 11 Nov 2021 10:19:42 -0500 Received: from mail-4322.protonmail.ch ([185.70.43.22]:23359) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlBrW-000218-UP for help-guix@gnu.org; Thu, 11 Nov 2021 10:19:40 -0500 Date: Thu, 11 Nov 2021 15:19:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1636643975; bh=ovD/Mr7WEU5ss8oceY8OOh+ydPyAILjU5h/20WTWt2U=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=AhIecUcaJ2rysCa8EjSScrgdaOPCd8c0aD6xLOjqmUPiR6UlhgEa0f2dZS+z0/EPM Ggqj40dB/Qu3tFgQpSaaC8MGXK0ZpqrfaBTIBQhGK9Sk38MnjJETipW+APBPTk3Oaj xdB8mAwmZROecSHIywQE8Vkf1xVjWYwrqEVd1Jzg= To: Tobias Geerinckx-Rice From: phodina Cc: help-guix Subject: Re: Custom libre kernel configuration Message-ID: In-Reply-To: References: <2cc0eaa33fd6bd50b5ecc0dab0ef2491@tobias.gr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.22; envelope-from=phodina@protonmail.com; helo=mail-4322.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_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: phodina Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1636644071; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=ovD/Mr7WEU5ss8oceY8OOh+ydPyAILjU5h/20WTWt2U=; b=rE0ifcZ8mvtHblgQOAKpudcPgw4NrKFZG6YMznVbB9ZtZybJXi6J5grHxPhSG3YQq6zwBU N6PBsR6NJ/JLjqB2ujm4iy2zktfxWuNn0xcFl1GiGCH3H+ht9qDMp6tnDXd0H9bIzc7wG/ 4Fyi+Zdk7SrYzu2WSrsdvECI8/nER+O+IiKLFKhpY7GMSyV1ypTEgw9InTc7djZLq62KzI 1wMhvnIt4h+MabXhPITGC7+3bPjGTen8lZ+KXElTlHrtuWldtHwSHHCAXxxVyGCLzouIVp 6Unc4aVkrb9Ue3oe6QaFGCT9kcafP1ILhOtMdfJ++Jz5cwV2shaCD2kRl3Hwxw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636644071; a=rsa-sha256; cv=none; b=uygmrS567mY94+kTLRIO5fOufxjKj3QKBxxPywnmDwp0DZcjzldZjRN0uNhUnkiwCHdGcZ b4OtSnLAczcsWFCdxLbeV46w2keDkuPenY53SnpOZsFibCez0JhCHIfk98bwPwEMJoSHET hJ6nX1ikNq9idbQ2yhRHD0xF6NgqlwEPkVhyoNfbuaKk3lDhMLLA7WUN8ZEf9y5UQuoCE/ h0qoEF7V1aGwpclkTTODlJsj/acMDY+zunEYxFz23E9MVsilGJyYdtzTP9c7xBKunXoevC rGrEaYadQCRndclraapqM7ABVIehD1YEtu3Y3knDYnVfyqASKzHe04RPF089kw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail header.b=AhIecUca; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -4.03 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail header.b=AhIecUca; dmarc=pass (policy=quarantine) header.from=protonmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 6112CB09A X-Spam-Score: -4.03 X-Migadu-Scanner: scn1.migadu.com X-TUID: LG0XPx3RW8QW > I'm not on a GNU system right now but from memory, Kconfig places double > > quotation marks around "string values", doesn't add any around numbers. > > Don't know how liberal it is in accepting foo=3D"42" and bar=3Dstring. > > Add "s to you current string fallbakc and add a 'number' quasipattern > > above that without "s to play it safe. > I've modified it already. Seems to build, but I want to wait (well have to = on my x230 :-D) till I can give a spin. Here's the modification: (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")) ((option . number) (string-append option "=3D" number)) ((option . string) (string-append option "=3D\"" string "\""))) options) "\n"))