From: Nikita Karetnikov <nikita@karetnikov.org>
To: bug-guix@gnu.org
Subject: [PATCH] distro: Add Kmod.
Date: Tue, 18 Dec 2012 21:59:50 -0500 [thread overview]
Message-ID: <87bodqoig1.fsf@karetnikov.org> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 752 bytes --]
Hi,
Can we fix the following? Should we report it instead?
TESTSUITE: ERR: sizes do not match /tmp/nix-build-p7bkz7iscax3f0998gss17sfm83k9v7q-kmod-12.drv-0/kmod-12/testsuite/rootfs/test-depmod/modules-order-compressed/lib/modules/3.5.4-1-ARCH/correct-modules.alias /tmp/nix-build-p7bkz7iscax3f0998gss17sfm83k9v7q-kmod-12.drv-0/kmod-12/testsuite/rootfs/test-depmod/modules-order-compressed/lib/modules/3.5.4-1-ARCH/modules.alias
TESTSUITE: ERR: FAILED: exit ok but outputs do not match: depmod_modules_order_for_compressed
FAIL: testsuite/test-depmod
==============================================
2 of 10 tests failed
Please report to linux-modules@vger.kernel.org
==============================================
Can I push it without tests?
Nikita
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-distro-Add-Kmod.patch --]
[-- Type: text/x-diff, Size: 1980 bytes --]
From 6635ce4de63f74c142ae8bb20cd398fa55c950f8 Mon Sep 17 00:00:00 2001
From: Nikita Karetnikov <nikita@karetnikov.org>
Date: Wed, 19 Dec 2012 02:06:27 +0000
Subject: [PATCH] distro: Add Kmod.
* distro/packages/linux.scm (kmod): New variable.
---
distro/packages/linux.scm | 31 ++++++++++++++++++++++++++++++-
1 files changed, 30 insertions(+), 1 deletions(-)
diff --git a/distro/packages/linux.scm b/distro/packages/linux.scm
index 07be3ac..3431e56 100644
--- a/distro/packages/linux.scm
+++ b/distro/packages/linux.scm
@@ -193,4 +193,33 @@ providing the system administrator with some help in common tasks.")
"Tools for working with USB devices, such as lsusb")
(description
"Tools for working with USB devices, such as lsusb.")
- (license gpl2+)))
\ No newline at end of file
+ (license gpl2+)))
+
+(define-public kmod
+ (package
+ (name "kmod")
+ (version "12")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://kernel.org/linux/utils/kernel/kmod/kmod-"
+ version ".tar.xz"))
+ (sha256
+ (base32
+ "0bzrifz0qr5kd5c7wszx36hxzm8cihcbs1l59qidks51qpc9s666"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:configure-flags '("--disable-manpages") ; XXX: requires xsltproc
+ #:tests? #f)) ; testsuite/test-depmod fails
+ (inputs `(("pkg-config" ,pkg-config)
+ ("xz" ,guix:xz)
+ ("zlib" ,guix:zlib)))
+ (home-page
+ "https://www.kernel.org/pub/linux/utils/kernel/kmod/")
+ (synopsis
+ "Kmod, a set of tools for managing modules of the Linux kernel")
+ (description
+ "Kmod is a set of tools to handle common tasks with modules of the
+Linux kernel (e.g., insert, remove, list, check properties, resolve
+dependencies and aliases).")
+ (license '(gpl2+ lgpl2.1+))))
\ No newline at end of file
--
1.7.5.4
[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]
next reply other threads:[~2012-12-19 2:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-19 2:59 Nikita Karetnikov [this message]
2012-12-19 12:31 ` [PATCH] distro: Add Kmod Ludovic Courtès
2012-12-24 19:21 ` Nikita Karetnikov
2012-12-24 22:22 ` Nikita Karetnikov
2012-12-30 14:15 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bodqoig1.fsf@karetnikov.org \
--to=nikita@karetnikov.org \
--cc=bug-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).