From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 25 20:10:18 2018 Received: (at 30604) by debbugs.gnu.org; 26 Feb 2018 01:10:18 +0000 Received: from localhost ([127.0.0.1]:60798 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eq7J4-0000e5-3C for submit@debbugs.gnu.org; Sun, 25 Feb 2018 20:10:18 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:49367) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eq7J2-0000dw-Ox for 30604@debbugs.gnu.org; Sun, 25 Feb 2018 20:10:17 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 8399320D79; Sun, 25 Feb 2018 20:10:16 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Sun, 25 Feb 2018 20:10:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=JZnlXr5pUawNBgTEQ2/mTtgNUVAwVHJFENtQyLoYgrE=; b=i24S8jEQ 8t/58HRl8Sg4E73MdjrKlyiaBmmZtQZ10ffChwRBgEPaYHeqor+SDLGQ9hGyLF9p 10g5jc/DIq8d8AznHPJjhF5CQc8jT71b7ZOiiWfe+lZuMgxGGt//MNPPOP8G0xnI Gbr9l0YBhbpVx3RgdtsJlvgL4wq80i7JHCrjhFyTOYiOjOyQECGq7y+M8VNlfqEV T/jBxQkll1ctVcxnvSxqEqiEb+ZnUcpBu3pcD3kRfYERwqrfqHs3PBq6YW3UvZGj S3AixT0nw4M/VNOtG4BesE8F9lDSeFiGLzpgBypNXXN40IpoQCjzt7HnTp6qS7gX lZ6tt/MSq1GXnQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=JZnlXr5pUawNBgTEQ2/mTtgNUVAwV HJFENtQyLoYgrE=; b=hE+tmTMQ4oM4lt/HggTg5+xlrASestzl4v+KKST5T8I3K U0SZR4qIbq1zieQAW+NUSWedXdgelUoBA/Cn+5bLXUo9wWOqAmkEyOGMwRxUYeSj FC3ESVjlR68wKHT/WvK3expOxG9aVLa9afFdX54ZlUlIEp4DphAfI6KES/QhYvZ4 S33CRad8CgKXYFmgaEEUqCR3udlG7rZr5koD8px2pqcD6+yNgpTW3AqpDSHwilBl MbRmLzYyEyHGiwUTQfffi65yK/I0szOBdid2Qjsfw1glc5CmORlU49fr3SCxyrwn Zeom4ALkwhuSe06vlnl/91BjopxZWdVB3ISP+ynSA== X-ME-Sender: Received: from localhost (cm-84.214.173.174.getinternet.no [84.214.173.174]) by mail.messagingengine.com (Postfix) with ESMTPA id 23BDD24651; Sun, 25 Feb 2018 20:10:16 -0500 (EST) From: Marius Bakke To: Danny Milosavljevic , 30604@debbugs.gnu.org Subject: Re: [bug#30604] [PATCH 1/4] gnu: kmod: Split off kmod-minimal. In-Reply-To: <20180225114816.869-1-dannym@scratchpost.org> References: <20180225114557.816-1-dannym@scratchpost.org> <20180225114816.869-1-dannym@scratchpost.org> User-Agent: Notmuch/0.26 (https://notmuchmail.org) Emacs/25.3.1 (x86_64-pc-linux-gnu) Date: Mon, 26 Feb 2018 02:10:14 +0100 Message-ID: <87h8q4wo7d.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 30604 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Danny Milosavljevic writes: > * gnu/packages/linux.scm (kmod-minimal): New variable. > (kmod): Modify. > --- > gnu/packages/linux.scm | 49 +++++++++++++++++++++++++++++++++-----------= ----- > 1 file changed, 33 insertions(+), 16 deletions(-) > > diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm > index 238398e84..1f8bf3050 100644 > --- a/gnu/packages/linux.scm > +++ b/gnu/packages/linux.scm > @@ -1933,8 +1933,35 @@ for systems using the Linux kernel. This includes= commands such as > to use Linux' inotify mechanism, which allows file accesses to be monito= red.") > (license license:gpl2+))) >=20=20 > -(define-public kmod > +(define kmod-minimal > (package > + (name "kmod-minimal") > + (version "13") Why this old version? > + (source (origin > + (method url-fetch) > + (uri > + (string-append "mirror://kernel.org/linux/utils/kernel/km= od/" > + "kmod-" version ".tar.xz")) > + (sha256 > + (base32 > + "0mkrklih0f33c3zc4mkk9qqbzy36r18mj9xffd4wi61gpamx6dkc")) > + (patches (search-patches "kmod-13-module-directory.patch")= ))) This patch seems to be missing. > + (build-system gnu-build-system) > + (arguments > + `(#:tests? #f)) ; FIXME: Investigate test failures > + (home-page "https://www.kernel.org/") > + (synopsis "Kernel module tools") > + (description "Kmod is a set of tools to handle common tasks with Lin= ux > +kernel modules like insert, remove, list, check properties, resolve > +dependencies and aliases. > + > +These tools are designed on top of libkmod, a library that is shipped wi= th > +kmod. The aim is to be compatible with tools, configurations and indices > +from the module-init-tools project.") > + (license license:gpl2+))) ; library under lgpl2.1+ > + > +(define-public kmod > + (package (inherit kmod-minimal) > (name "kmod") > (version "24") > (source (origin > @@ -1946,15 +1973,14 @@ to use Linux' inotify mechanism, which allows fil= e accesses to be monitored.") > (base32 > "15xkkkzvca9flvkm48gkh8y8f13vlm3sl7nz9ydc7b3jy4fqs2v1")) > (patches (search-patches "kmod-module-directory.patch")))) > - (build-system gnu-build-system) > (native-inputs > `(("pkg-config" ,pkg-config))) > (inputs > `(("xz" ,xz) > ("zlib" ,zlib))) > (arguments > - `(#:tests? #f ; FIXME: Investigate test failures > - #:configure-flags '("--with-xz" "--with-zlib") > + `(#:configure-flags '("--with-xz" "--with-zlib") > + #:tests? #f ; FIXME: Investigate test failures > #:phases (alist-cons-after > 'install 'install-modprobe&co > (lambda* (#:key outputs #:allow-other-keys) > @@ -1964,18 +1990,9 @@ to use Linux' inotify mechanism, which allows file= accesses to be monitored.") > (symlink "kmod" > (string-append bin "/" tool))) > '("insmod" "rmmod" "lsmod" "modprobe" > - "modinfo" "depmod")))) > - %standard-phases))) > - (home-page "https://www.kernel.org/") > - (synopsis "Kernel module tools") > - (description "Kmod is a set of tools to handle common tasks with Lin= ux > -kernel modules like insert, remove, list, check properties, resolve > -dependencies and aliases. > - > -These tools are designed on top of libkmod, a library that is shipped wi= th > -kmod. The aim is to be compatible with tools, configurations and indices > -from the module-init-tools project.") > - (license license:gpl2+))) ; library under lgpl2.1+ > + "modinfo" "depmod")) > + #t)) > + %standard-phases))))) >=20=20 > (define-public eudev > ;; The post-systemd fork, maintained by Gentoo. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlqTXnYACgkQoqBt8qM6 VPpGtAf9HdKJjuRHFJxIT76qB3Yjub3mj5c3LRNhSA1vPnaPEMOXVDDTlq4t8XcR K0oaixbKYcSvSmHJ+Sp17jy+SYpeA1WGGpCxKVsBl8FCKhEYh2ztbgRUtMwjXZyF ZjO15dLd2SU40hWXVabKDeDTZyD9whMZMrbKAmu1OelG9lSPJw7fWfSU8UnZeXJg TflXbAN+9Ikm5ey4kxY/v+IjE60aWd5CRlUqcWVzKzZ7bSmU81r+paUWSe+11V7n 7LoBFm/MwQM3JFkglmSkWsDv/9eQwfm6CI6yV15qChL+MXuSFKzuJNKeETd7TvV9 P8zks8IDY7CA9I3PwJXPEZRuwA7QYw== =YgmH -----END PGP SIGNATURE----- --=-=-=--