rosenthal: linux-xanmod: Update to 6.1.4.

* rosenthal/packages/linux.scm (linux-xanmod): Update to 6.1.4.
[arguments]<#:phases>: Add phase to remove the localversion file.
remotes/origin/cloudflared-unbundle
Hilton Chain 2 years ago
parent 46e8c75db0
commit 36f746614f
No known key found for this signature in database
GPG Key ID: 5E5AA665614917F7
  1. 10
      rosenthal/packages/linux.scm

@ -42,7 +42,7 @@
(define %ldflags "-Wl,-z,defs -Wl,-z,now -Wl,-z,relro -Wl,-pie") (define %ldflags "-Wl,-z,defs -Wl,-z,now -Wl,-z,relro -Wl,-pie")
(define %xanmod-version "6.1.3") (define %xanmod-version "6.1.4")
(define %xanmod-revision "xanmod1") (define %xanmod-revision "xanmod1")
(define %hardened-version "6.0.16") (define %hardened-version "6.0.16")
@ -78,7 +78,7 @@
(define linux-xanmod-patch (define linux-xanmod-patch
(extract-xanmod-patch (extract-xanmod-patch
(string-append %xanmod-version "-" %xanmod-revision) (string-append %xanmod-version "-" %xanmod-revision)
(base32 "0rxg19mak580bcipa1nrsv5f6ch3q47ckkhnwp1db6ci3rw5mdwb"))) (base32 "15wk6hmsffk31f7yphj7x42y60wwc735bxffav2yf6rp0n3676l7")))
(define linux-hardened-patch (define linux-hardened-patch
(origin (origin
@ -108,7 +108,7 @@
(let ((base (customize-linux #:name "linux-xanmod" (let ((base (customize-linux #:name "linux-xanmod"
#:linux linux-libre #:linux linux-libre
#:source linux-xanmod-source #:source linux-xanmod-source
#:extra-version %xanmod-revision))) #:extra-version %hardened-revision)))
(package (package
(inherit base) (inherit base)
(version %xanmod-version) (version %xanmod-version)
@ -121,6 +121,10 @@
(substitute-keyword-arguments (package-arguments base) (substitute-keyword-arguments (package-arguments base)
((#:phases phases) ((#:phases phases)
#~(modify-phases #$phases #~(modify-phases #$phases
(add-after 'unpack 'remove-localversion
(lambda _
(when (file-exists? "localversion")
(delete-file "localversion"))))
(add-before 'configure 'setenv (add-before 'configure 'setenv
(lambda _ (lambda _
(setenv "LLVM" "1") (setenv "LLVM" "1")

Loading…
Cancel
Save