1 Star 2 Fork 1

cirno/os

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
linux-nonfree.scm 6.84 KB
一键复制 编辑 原始数据 按行查看 历史
cirno 提交于 2020-08-16 14:28 +08:00 . guix-packages: 添加新的Linux内核
(define-module (luhux packages linux-nonfree)
#:use-module (gnu packages linux)
#:use-module (guix build-system copy)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (guix gexp)
#:use-module (srfi srfi-1)
)
;; from https://github.com/pmeiyu/guix-packages/blob/master/meiyu/packages/linux-nonfree.scm
(define-public linux-5.6.13
(package
(inherit linux-libre)
(name "linux-nonfree")
(version "5.6.13")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://kernel.org"
"/linux/kernel/v" (version-major version) ".x/"
"linux-" version ".tar.xz"))
(sha256
(base32 "11zriz0jwqizv0pq0laql0svsnspdfnxqykq70v22x39iyfdf9gi"))))
(home-page "https://www.kernel.org/")
(synopsis "主线Linux内核")
(description "主线Linux内核")))
(define-public linux-5.7.1
(package
(inherit linux-libre)
(name "linux-nonfree")
(version "5.7.1")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://kernel.org"
"/linux/kernel/v" (version-major version) ".x/"
"linux-" version ".tar.xz"))
(sha256
(base32 "1vcxrrb2i4366iciw0mfahwbdrzmhrrsr7gi4vdkzznfv2niils0"))))
(home-page "https://www.kernel.org/")
(synopsis "主线Linux内核")
(description "主线Linux内核")))
(define-public linux-5.7.7
(package
(inherit linux-libre)
(name "linux-nonfree")
(version "5.7.7")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://kernel.org"
"/linux/kernel/v" (version-major version) ".x/"
"linux-" version ".tar.xz"))
(sha256
(base32 "0zzff78fjn0a87lr1j11hx97gcpbf0q5qn0nalb3qd43j9kvjh7q"))))
(home-page "https://www.kernel.org/")
(synopsis "主线Linux内核")
(description "主线Linux内核")))
(define-public linux-5.7.15
(package
(inherit linux-libre)
(name "linux-nonfree")
(version "5.7.15")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://kernel.org"
"/linux/kernel/v" (version-major version) ".x/"
"linux-" version ".tar.xz"))
(sha256
(base32 "04jj7vmwd1fjpfnwrhnc92qnskj7i150dyxvilfmkg3ki521gsqf"))))
(home-page "https://www.kernel.org/")
(synopsis "主线Linux内核")
(description "主线Linux内核")))
(define-public linux-5.4.41
(package
(inherit linux-libre)
(name "linux-nonfree-lts")
(version "5.4.41")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://kernel.org"
"/linux/kernel/v" (version-major version) ".x/"
"linux-" version ".tar.xz"))
(sha256
(base32 "0mxhz3f0ayz0nggndbikp44kx307yxf16qzsv46hni6p8z1ffr0y"))))
(home-page "https://www.kernel.org/")
(synopsis "主线Linux内核")
(description "主线Linux内核")))
(define-public linux-5.4.45
(package
(inherit linux-libre)
(name "linux-nonfree-lts")
(version "5.4.45")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://kernel.org"
"/linux/kernel/v" (version-major version) ".x/"
"linux-" version ".tar.xz"))
(sha256
(base32 "0bpy2lb3bqmkaqxzdmssgmhbjsys7d3lyfv4x919q0596jgh6gqh"))))
(home-page "https://www.kernel.org/")
(synopsis "主线Linux内核")
(description "主线Linux内核")))
(define-public linux-5.4.50
(package
(inherit linux-libre)
(name "linux-nonfree-lts")
(version "5.4.50")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://kernel.org"
"/linux/kernel/v" (version-major version) ".x/"
"linux-" version ".tar.xz"))
(sha256
(base32 "1qm6m3ww7cxr0mqzma9swq6jax6anjy5vdh397my7x00x70z845d"))))
(home-page "https://www.kernel.org/")
(synopsis "主线Linux内核")
(description "主线Linux内核")))
(define-public linux-5.4.58
(package
(inherit linux-libre)
(name "linux-nonfree-lts")
(version "5.4.58")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://kernel.org"
"/linux/kernel/v" (version-major version) ".x/"
"linux-" version ".tar.xz"))
(sha256
(base32 "0iqnn98hj3lq1avlrbjv9qdyfwffv01vd0a465xkhxck26py4bvh"))))
(home-page "https://www.kernel.org/")
(synopsis "主线Linux内核")
(description "主线Linux内核")))
;;
;; 待修复
;; 使用此内核配置无法正常通过initrd切换到真正的根
;;
(define-public linux-lip100sc-5.4.50
(package
(inherit linux-5.4.50)
(name "linux-nonfree-lip100sc-lts")
(version "5.4.50")
(native-inputs
`(("kconfig" ,(local-file "kernel-config/lip100sc-linux-5.4.50.config"))
,@(alist-delete "kconfig"
(package-native-inputs linux-libre)))
)
(synopsis "(!需要修复!) 主线Linux内核(使用在 Lenovo Ideapad 100s chromebook)")
(description "(!需要修复!) 主线Linux内核(使用在 Lenovo Ideapad 100s chromebook")))
(define-public linux-firmware-nonfree-20200421
(package
(name "linux-firmware-nonfree")
(version "20200421")
(source
(origin
(method url-fetch)
(uri (string-append
"mirror://kernel.org"
"/linux/kernel/firmware/linux-firmware-"
version ".tar.xz"
)
)
(sha256
(base32 "1a5zyc54lblcnpis8w5fvynzzalgrhkr16sjclgh6k39bnicpmvd")
)
)
)
(build-system copy-build-system)
(arguments
`(#:install-plan '(("./" "lib/firmware/"))
#:phases (modify-phases %standard-phases
(delete 'strip)
(delete 'validate-runpath))))
(home-page "https://kernel.org/")
(synopsis "主线内核固件")
(description "主线内核固件")
(license #f)))
(define-public linux-firmware-nonfree-20200619
(package
(name "linux-firmware-nonfree")
(version "20200619")
(source
(origin
(method url-fetch)
(uri (string-append
"mirror://kernel.org"
"/linux/kernel/firmware/linux-firmware-"
version ".tar.xz"
)
)
(sha256
(base32 "08lp6fk1n0h2fg96pmbwg0irsapigrpp9iwwkwjwh9njjzhklbcn")
)
)
)
(build-system copy-build-system)
(arguments
`(#:install-plan '(("./" "lib/firmware/"))
#:phases (modify-phases %standard-phases
(delete 'strip)
(delete 'validate-runpath))))
(home-page "https://kernel.org/")
(synopsis "主线内核固件")
(description "主线内核固件")
(license #f)))
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/nluhux/os.git
git@gitee.com:nluhux/os.git
nluhux
os
os
master

搜索帮助