nongnu: ibt-hw-firmware: Install files to expected location.

Fixes https://gitlab.com/nonguix/nonguix/-/issues/113.

* nongnu/packages/linux.scm (ibt-hw-firmware)[arguments]<phases>{install}:
Install firmware files, patches and configuration to the intel subdirectory.
This commit is contained in:
Jelle Licht 2021-06-17 21:35:46 +02:00
parent 20bd1f19c8
commit d81564f21e
No known key found for this signature in database
GPG key ID: DA4597F947B41025

View file

@ -382,10 +382,10 @@ WLAN.TF.2.1-00021-QCARMSWP-1 (ath10k/QCA9377/hw1.0/firmware-6.bin)
(replace 'install (replace 'install
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out")) (let* ((out (assoc-ref outputs "out"))
(fw-dir (string-append out "/lib/firmware"))) (fw-dir (string-append out "/lib/firmware/intel")))
(for-each (lambda (file) (for-each (lambda (file)
(install-file file fw-dir)) (install-file file fw-dir))
(find-files "." "ibt-hw-.*\\.bseq$")) (find-files "intel" "ibt-.*\\.(bseq|ddc|sfi)$"))
#t))) #t)))
(delete 'validate-runpath)))) (delete 'validate-runpath))))
(home-page "http://www.intel.com/support/wireless/wlan/sb/CS-016675.htm") (home-page "http://www.intel.com/support/wireless/wlan/sb/CS-016675.htm")