mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: bcachefs-linux-module: Fix build with linux-libre-6.18.
Previously, the actual bcachefs.ko.zst was missing. * gnu/packages/file-systems.scm (bcachefs-linux-module)[arguments]: Set #:make-flags and honour them in the 'prepare-build-directory phase (renamed to avd. p'ntless abbr.). Fixes: #6601 Change-Id: I9df0396bda73421bf1233491a6e7eace40073c51
This commit is contained in:
@@ -982,7 +982,8 @@ minimal bcachefs-tools package. It is meant to be used in initrds.")
|
||||
(build-system linux-module-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:tests? #f ;no 'check' target
|
||||
#:make-flags #~(list "BCACHEFS_DKMS=1")
|
||||
#:tests? #f ;no 'check' target
|
||||
#:source-directory "build/src/fs/bcachefs"
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
@@ -997,11 +998,13 @@ minimal bcachefs-tools package. It is meant to be used in initrds.")
|
||||
;; Remove unnecessary dependencies
|
||||
(("^.*PKG_CONFIG.*$")
|
||||
""))))
|
||||
(add-before 'configure 'prepare-build-dir
|
||||
(lambda _
|
||||
(invoke "make" "install_dkms"
|
||||
(string-append "DESTDIR="
|
||||
(getcwd) "/") "DKMSDIR=build/"))))))
|
||||
(add-before 'configure 'prepare-build-directory
|
||||
(lambda* (#:key make-flags #:allow-other-keys)
|
||||
(apply invoke "make" "install_dkms"
|
||||
(string-append "DESTDIR="
|
||||
(getcwd) "/")
|
||||
"DKMSDIR=build/"
|
||||
make-flags))))))
|
||||
(home-page (package-home-page bcachefs-tools-minimal/static))
|
||||
(synopsis "Bcachefs Linux kernel module")
|
||||
(description
|
||||
|
||||
Reference in New Issue
Block a user