From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikita Karetnikov Subject: [PATCH] distro: Add Kmod. Date: Tue, 18 Dec 2012 21:59:50 -0500 Message-ID: <87bodqoig1.fsf@karetnikov.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:58373) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tl9ss-00054H-9y for bug-guix@gnu.org; Tue, 18 Dec 2012 21:59:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tl9sp-0003vY-Ha for bug-guix@gnu.org; Tue, 18 Dec 2012 21:59:50 -0500 Received: from li305-5.members.linode.com ([178.79.168.5]:40820 helo=cooksoni.karetnikov.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tl9sp-0003vS-8r for bug-guix@gnu.org; Tue, 18 Dec 2012 21:59:47 -0500 List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: bug-guix@gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= 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 --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-distro-Add-Kmod.patch Content-Transfer-Encoding: quoted-printable From=206635ce4de63f74c142ae8bb20cd398fa55c950f8 Mon Sep 17 00:00:00 2001 From: Nikita Karetnikov Date: Wed, 19 Dec 2012 02:06:27 +0000 Subject: [PATCH] distro: Add Kmod. * distro/packages/linux.scm (kmod): New variable. =2D-- 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 =2D-- a/distro/packages/linux.scm +++ b/distro/packages/linux.scm @@ -193,4 +193,33 @@ providing the system administrator with some help in c= ommon tasks.") "Tools for working with USB devices, such as lsusb") (description "Tools for working with USB devices, such as lsusb.") =2D (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/kmo= d-" + version ".tar.xz")) + (sha256 + (base32 + "0bzrifz0qr5kd5c7wszx36hxzm8cihcbs1l59qidks51qpc9s666")))) + (build-system gnu-build-system) + (arguments + `(#:configure-flags '("--disable-manpages") ; XXX: requires xsltproc + #:tests? #f)) ; testsuite/test-depmod f= ails + (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 =2D-=20 1.7.5.4 --=-=-=-- --==-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBAgAGBQJQ0S2jAAoJEM+IQzI9IQ38a4MQAJvtHoDi6vAxSMm70XSV5lNf PxJ+y9Q6raXwProvClMm1hBjmTzw6xpSiB7dh9+3XxTqmSWNSC7crgu0ELTQEXKA seRuY8AJeApiyZMDrNnE3SE1Fx1P0E6OQBuDU1xC4e7wXAPDY4C1eaYJh+WUt9+t 6T/Nt2RwhLd684LzVKFyLyMVY9Zn11BFG6BRNJFeCBpTvm0pBnIZdHMRi+AfY9m5 finG6aEYid+jP3RlJWLVSfUHAM+psW8772XeQeHOs0LymAlJLC3PXj2y9sK8G0Ht aHDIKoxqyNpcXyDQ4Y7uSehM02m4lLyO41Jzuf9n6yQb03rhU7f3bG2CUOlluqgU XLNClCrcvFiGCSH2jGgTzWsCnukj6H48YTgxGWk1T24wZa8NtmRh6fnl08EzU/jx pJ4vvrRGjmpU5kf6eQivtL+pxq4eYFkdPpR9YgeKg+h1zlqwy5M+tig8Qm4LePIz L3r+I7xpIShBDux/PBSjvUu7hZhNtEbRAMgxDupmS1KKuSKZ9wj2ZotwUxNPcqVC PD068J24ja/mzVLpl3GEmZA4ePHC+Xc6qzshnQtDbBa0LEsH4zBpyHLw/HnV6m4G kBbKUDXEtZzJGwFt//FK1lD20TTst9tuyCaDAuY6WiJ5ZqE+0IxI80pMHFomzIU4 miXU2QJyd4AzolcLVD7k =6+eC -----END PGP SIGNATURE----- --==-=-=--