mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2024-11-22 08:28:09 +01:00
nongnu: raspberrypi-firmware: Clean up sources and update.
* nongnu/packages/linux.scm (raspberrypi-firmware): Update to 1.20211118. [source]: Add snippet to keep only firmware for boot up and dtb files. [arguments]: Specify install-plan. Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
This commit is contained in:
parent
3ae6f63be1
commit
a073e42c85
1 changed files with 16 additions and 2 deletions
|
@ -174,16 +174,30 @@ advanced 3D.")))
|
|||
(define-public raspberrypi-firmware
|
||||
(package
|
||||
(name "raspberrypi-firmware")
|
||||
(version "1.20210527")
|
||||
(version "1.20211118")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/raspberrypi/firmware")
|
||||
(commit version)))
|
||||
(modules '((guix build utils)
|
||||
(ice-9 ftw)
|
||||
(srfi srfi-26)))
|
||||
(snippet
|
||||
'(begin
|
||||
(for-each (lambda (name)
|
||||
(delete-file-recursively name))
|
||||
`("documentation" "extra" ".github" "hardfp" "modules" "opt" "README.md"
|
||||
,@(map (lambda (name)
|
||||
(string-append "boot/" name))
|
||||
(scandir "boot" (cut (file-name-predicate "^(kernel.*|COPYING\\.linux)$") <> #f)))))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"08lgg90k6lhqm3ccg7db0lrrng0pgf63dvbrxpfpwm1pswrc5vf5"))))
|
||||
"0ahkb50c61vlwlai4mvkf0kzz0afbh23xkx1y6vx6d56iw80ps4b"))))
|
||||
(arguments
|
||||
'(#:install-plan
|
||||
'(("boot/" "."))))
|
||||
(build-system copy-build-system)
|
||||
(synopsis "Firmware for the Raspberry Pi boards")
|
||||
(description "Pre-compiled binaries of the current Raspberry Pi kernel
|
||||
|
|
Loading…
Reference in a new issue