all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] distro: Add Kmod.
@ 2012-12-19  2:59 Nikita Karetnikov
  2012-12-19 12:31 ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: Nikita Karetnikov @ 2012-12-19  2:59 UTC (permalink / raw)
  To: bug-guix


[-- 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 --]

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-12-30 14:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-19  2:59 [PATCH] distro: Add Kmod Nikita Karetnikov
2012-12-19 12:31 ` 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.