From patchwork Wed Nov 9 22:58:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ludovic_Court=C3=A8s?= X-Patchwork-Id: 44421 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id B92CE27BBEB; Wed, 9 Nov 2022 22:59:21 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 70A8F27BBE9 for ; Wed, 9 Nov 2022 22:59:20 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1osu2B-000391-La; Wed, 09 Nov 2022 17:59:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1osu2A-00038s-Rp for guix-patches@gnu.org; Wed, 09 Nov 2022 17:59:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1osu2A-0005VS-JS for guix-patches@gnu.org; Wed, 09 Nov 2022 17:59:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1osu2A-0005HL-74 for guix-patches@gnu.org; Wed, 09 Nov 2022 17:59:02 -0500 Subject: bug#59010: [PATCH] gnu: Add modprobed-db. Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Wed, 09 Nov 2022 22:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 59010 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Hilton Chain Cc: 59010-done@debbugs.gnu.org Mail-Followup-To: 59010@debbugs.gnu.org, ludo@gnu.org, hako@ultrarare.space Received: via spool by 59010-done@debbugs.gnu.org id=D59010.166803469020225 (code D ref 59010); Wed, 09 Nov 2022 22:59:02 +0000 Received: (at 59010-done) by debbugs.gnu.org; 9 Nov 2022 22:58:10 +0000 Received: from localhost ([127.0.0.1]:41280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1osu1K-0005G9-HN for submit@debbugs.gnu.org; Wed, 09 Nov 2022 17:58:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51472) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1osu1I-0005Fv-QI for 59010-done@debbugs.gnu.org; Wed, 09 Nov 2022 17:58:09 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1osu1D-0005MA-4d; Wed, 09 Nov 2022 17:58:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=VLlYVWrUdI6zGswd6xihSJfF0e3iokPxEXdxanxqoW0=; b=haaz8rWUhXf7zTUafI9d gqa55m3f1XmIKtE/Z78mV5xsLXOJrLK/nofHRy5px/D6OYNx2jvQVWnqpfddA5zbsY5BNYAnzggDY mbMTrYscd72s/NdaOGSA99ufuc6uNDee1ktaFTX9ufsCjX8cMmgQvzxhkL3jf+5Mj49OMjy2o2eH/ JzFVsoKrh1uSkSVV9nZd+/WpW+FM+ZgdUf1UOF8hyxi1YOKL1pGc2Lyla6MXQa5XMHvp2u9/S3lGn EC1OTJpv0youD1lkShwx3LZ2WpExlXcSBfQ1nMGhl1hC1dp3ZXiz484iCZevNgn4KMcWU/rLUPMT6 DzHtr2DcPHTt5A==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1osu1C-0001dq-Ip; Wed, 09 Nov 2022 17:58:02 -0500 From: Ludovic =?utf-8?q?Court=C3=A8s?= References: Date: Wed, 09 Nov 2022 23:58:00 +0100 In-Reply-To: (Hilton Chain's message of "Fri, 04 Nov 2022 13:49:16 +0800") Message-ID: <87iljnn3bb.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Hilton Chain skribis: > * gnu/packages/linux.scm (modprobed-db): New variable. Applied with the cosmetic changes below, thanks! Ludo’. diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 69a81ed653..574b0ae027 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -9524,20 +9524,20 @@ (define-public modprobed-db (string-append (search-input-file inputs "/bin/modprobe") " ")))))))) (inputs (list coreutils kmod gawk glibc grep sed)) - (home-page "https://wiki.archlinux.org/index.php/Modprobed-db") - (synopsis "Keep track of EVERY kernel module that has ever been probed") + (home-page "https://wiki.archlinux.org/title/Modprobed-db") + (synopsis "Keep track of Linux modules that have been probed") (description - "@code{Modprobed-db} is a useful utility for users wishing to build a -minimal kernel via a @code{make localmodconfig}. In a nutshell, this make + "Modprobed-db is a useful utility for users wishing to build a minimal +kernel via a @code{make localmodconfig}. In a nutshell, this @command{make} target creates a config based on the current config and a list of modules you -define (@code{modprobed-db} keeps for you). It then disables any module -option that is not needed thus not building hundreds/potentially thousands of -extraneous modules. This results in a system-specific, streamlined kernel -package and footprint as well as reduced compilation times. +define (that @command{modprobed-db} keeps for you). It then disables any +module option that is not needed thus not building extraneous modules. This +results in a system-specific, streamlined kernel package and footprint as well +as reduced compilation times. -@code{Modprobed-db} simply logs every module ever probed on the target system -to a text-based database (@code{$XDG_CONFIG_HOME/modprobed-db}) which can be -read directly by @code{make localmodconfig} as described above.") +Modprobed-db simply logs every module ever probed on the target system to a +text-based database (@file{$XDG_CONFIG_HOME/modprobed-db}), which can be read +directly by @code{make localmodconfig} as described above.") (license license:expat))) (define-public kconfig-hardened-check