GNU bug report logs -
#59010
[PATCH] gnu: Add modprobed-db.
Previous Next
Reported by: Hilton Chain <hako <at> ultrarare.space>
Date: Fri, 4 Nov 2022 05:50:02 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 59010 in the body.
You can then email your comments to 59010 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#59010
; Package
guix-patches
.
(Fri, 04 Nov 2022 05:50:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Hilton Chain <hako <at> ultrarare.space>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Fri, 04 Nov 2022 05:50:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/linux.scm (modprobed-db): New variable.
---
gnu/packages/linux.scm | 61 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 61 insertions(+)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 1690957954..5637511964 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -9512,3 +9512,64 @@ (define-public tp-smapi-module
@acronym{SMAPI, System Management Application Program Interface} and direct
access to the embedded controller.")
(license license:gpl2+)))
+
+(define-public modprobed-db
+ (package
+ (name "modprobed-db")
+ (version "2.46")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/graysky2/modprobed-db")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "017w9czm31f5c7wjyrl5fy6cw7ji681jjc7s913nbc0r43j080qr"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list #:tests? #f ;no tests
+ #:make-flags
+ #~(list (string-append "PREFIX=" #$output)
+ "INITDIR_SYSTEMD=no-thanks")
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure)
+ (add-after 'install 'fix-path
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* (string-append #$output "/bin/modprobed-db")
+ (("/usr") #$output)
+ (((string-append "(" (string-join (list "awk"
+ "cp"
+ "cut"
+ "getent"
+ "grep"
+ "logname"
+ "md5sum"
+ "mkdir"
+ "mv"
+ "sed"
+ "sort"
+ "uniq"
+ "wc")
+ "|") ")") m)
+ (search-input-file inputs (string-append "/bin/" m)))
+ (("modprobe ")
+ (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")
+ (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
+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.
+
+@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.")
+ (license license:expat)))
base-commit: e3280ae8b5c4aaf28eb6de8406215927923a4dff
--
2.38.0
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Wed, 09 Nov 2022 22:59:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Hilton Chain <hako <at> ultrarare.space>
:
bug acknowledged by developer.
(Wed, 09 Nov 2022 22:59:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 59010-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hilton Chain <hako <at> ultrarare.space> skribis:
> * gnu/packages/linux.scm (modprobed-db): New variable.
Applied with the cosmetic changes below, thanks!
Ludo’.
[Message part 2 (text/x-patch, inline)]
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
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 08 Dec 2022 12:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 272 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.