GNU bug report logs -
#39643
(Out-of-tree) system kernel modules only found in :out
Previous Next
To reply to this bug, email your comments to 39643 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#39643
; Package
guix
.
(Mon, 17 Feb 2020 14:46:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Tobias Geerinckx-Rice <me <at> tobias.gr>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Mon, 17 Feb 2020 14:46:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Guix,
After adding (specification->package+output "zfs:module") to my
system packages, it's still missing from current-system:
$ guix system reconfigure …
$ ls /run/current-system/profile/lib/modules/
5.4.0-pf7-4-ed26-M88
That's my horrible custom Linux fork/version/abomination.
Apologies. The ZFS package simply compiles against Guix's default
linux-libre-5.4.20-gnu package.
After editing the zfs package to install everything into the main
:out output:
$ guix system reconfigure …
$ ls /run/current-system/profile/lib/modules/
5.4.0-pf7-4-ed26-M88 5.4.20-gnu
$ ls
/run/current-system/profile/lib/modules/5.4.20-gnu/extra/zfs/
zfs.ko
Kind regards,
T G-R
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#39643
; Package
guix
.
(Tue, 18 Feb 2020 11:44:01 GMT)
Full text and
rfc822 format available.
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
I don't know what could be up with it.
I've never used specification->package+output before and I don't know whether
one has to do something special afterwards.
That said, maybe try using https://debbugs.gnu.org/cgi/bugreport.cgi?bug=37868
(v2) and see whether it magically fixes the problem (probably not).
[Message part 2 (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#39643
; Package
guix
.
(Tue, 18 Feb 2020 11:44:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#39643
; Package
guix
.
(Tue, 18 Feb 2020 17:27:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 39643 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Tobias Geerinckx-Rice via Bug reports for GNU Guix <bug-guix <at> gnu.org>
writes:
> Guix,
>
> After adding (specification->package+output "zfs:module") to my
> system packages, it's still missing from current-system:
>
> $ guix system reconfigure …
>
> $ ls /run/current-system/profile/lib/modules/
> 5.4.0-pf7-4-ed26-M88
>
> That's my horrible custom Linux fork/version/abomination.
> Apologies. The ZFS package simply compiles against Guix's default
> linux-libre-5.4.20-gnu package.
To build out-of-tree modules with a custom kernel I would expect that
you have to rebuild them against your kernel:
(define my-kernel
(package/inherit
linux-libre
...))
(define with-custom-kernel
(package-input-rewriting `((,linux-libre . ,my-kernel))))
(define zfs-with-custom-kernel
(with-custom-kernel zfs))
Alternatively, I see that 'linux-module-build-system' takes a #:linux
argument:
(define zfs-with-my-kernel
(package/inherit
zfs
(arguments (substitute-keyword-arguments (package-arguments zfs))
((#:linux _ #f) my-kernel))))
Will these options work for you, or am I misunderstanding something?
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#39643
; Package
guix
.
(Tue, 18 Feb 2020 17:35:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 39643 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Marius,
Marius Bakke 写道:
> Will these options work for you, or am I misunderstanding
> something?
I think so. The bug is about zfs:module being treated differently
from zfs:out when constructing a system/ union, not about the
build system.
Kind regards,
T G-R
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 5 years and 25 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.