Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp2525328rwp; Fri, 14 Jul 2023 07:27:35 -0700 (PDT) X-Google-Smtp-Source: APBJJlEoh2SMS2Nvb+Y+IJtPKj4wA4n3nY4iNyDwK21fLzGA+e3dUQyMwjcHPRaMwLAuxYxnZGQ5 X-Received: by 2002:a05:6a00:17a0:b0:674:8fe0:126f with SMTP id s32-20020a056a0017a000b006748fe0126fmr6498150pfg.27.1689344855243; Fri, 14 Jul 2023 07:27:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689344855; cv=none; d=google.com; s=arc-20160816; b=ZG9EpkE9rkF/s+eh3b4kfWVUbQ4n7rQVqQzhk3vcXch5F5ARzWObUSaNW+f/Z5TzUK GUJ0MI76eVL9jGpTxLsMtyHeYMQApsVG925jQy/K6apFmgumXmrwl1z+EsVXGB7ZqSqW a3jx/IHMW3l+ZP6P5038shTFsiOMMl9mzVT9J3Z8F6MmlfE+T5Yej7V5KmmtI/8j1ILt 3bBZTi/1jS6CKmxnhJ8SC3pZAc2Vv0d6XOa7jg97wANhAcqtGKFkDGZEfYg2ufQKX6hD 4fTuk+a+PcCXFCC+v6k4u/8v21dHY2p5McCtQFu1qBNmlFUDP5Dj5UzbhKfiIxcexi0I DLhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:message-id:in-reply-to:subject:cc:to:from :date; bh=RK87vZfr5MiXcA2PX8OzZNMihGuuAq+1eAkMMKwRvsc=; fh=6xtZDm/98bfWZszEUpun36tJU9TJuVldntDS4QN1cVY=; b=RvnLKoM4EkxK+9evUKeo/AgiCh7RvRVAnzGfXqFFWmibouU8ZN1YKHb1JYuxyo9/bO 16T6Vu44bEolxKgacalKeN1BJuunpxSOI8O4+4YFVnWnjJ2OlS+DmXLI8VX6TVeNqJ0Y VU2VFApDL0/5NxCIhPfgq0GiJzSibbTfaz9I+gkqcUBaEjg2LtiQ6fdx1mP1H+4qQ4+D X0Uv5Y0D1q2Iz28xi/MIDj/7bTGcEp9gd9OQ+yasdIA0rOYN29xxhPDzyXjYqfI1krRH rx48EBDd8B7YJy/3bUffCR49cDtL3WLAA6pqS85VEPggT/eqa272aL1AgWSAdjcSeRzK mtQw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bv191-20020a632ec8000000b0053ff2b1be42si6841675pgb.113.2023.07.14.07.27.23; Fri, 14 Jul 2023 07:27:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235605AbjGNOM1 (ORCPT + 99 others); Fri, 14 Jul 2023 10:12:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234555AbjGNOMZ (ORCPT ); Fri, 14 Jul 2023 10:12:25 -0400 Received: from a3.inai.de (a3.inai.de [IPv6:2a01:4f8:10b:45d8::f5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7946730C4; Fri, 14 Jul 2023 07:12:24 -0700 (PDT) Received: by a3.inai.de (Postfix, from userid 25121) id EFCDA58740D43; Fri, 14 Jul 2023 16:12:22 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by a3.inai.de (Postfix) with ESMTP id EE00360C22668; Fri, 14 Jul 2023 16:12:22 +0200 (CEST) Date: Fri, 14 Jul 2023 16:12:22 +0200 (CEST) From: Jan Engelhardt To: =?UTF-8?Q?Michal_Such=C3=A1nek?= cc: linux-modules@vger.kernel.org, Takashi Iwai , Lucas De Marchi , =?UTF-8?Q?Michal_Koutn=C3=BD?= , Jiri Slaby , Masahiro Yamada , Nathan Chancellor , Nick Desaulniers , Nicolas Schier , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH kmod v2 3/4] kmod: Add config command to show compile time configuration as JSON In-Reply-To: <20230714140229.GJ9196@kitsune.suse.cz> Message-ID: <23n92nss-8571-77p8-3026-7344145414o@vanv.qr> References: <20230711153126.28876-1-msuchanek@suse.de> <20230712140103.5468-3-msuchanek@suse.de> <429o975-ro63-o94r-qs96-76ro6o28on5@vanv.qr> <20230714140229.GJ9196@kitsune.suse.cz> User-Agent: Alpine 2.25 (LSU 592 2021-09-18) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Friday 2023-07-14 16:02, Michal Suchánek wrote: >> >> What about doing it like systemd and generate a .pc file instead >> that can then be queried like so, e.g.: >> >> $ pkg-config kmod --variable=modulesdir > > - .pc files would be shipped with libkmod development package, not the > kmod tool in a binary distribution On that point: No, they would not. Again, confer with systemd: systemd.rpm(SUSE) provides systemd.pc, systemd-devel.rpm provides libsystemd.pc. kmod.rpm would provide kmod.pc, kmod-devel.rpm would continue to provide libkmod.pc as it does today.