Skip to content

Commit 201c5e4

Browse files
committed
Merge bitcoin#22465: guix: Pin kernel-header version, time-machine to upstream 1.3.0 commit
e6a94d4 guix: Bump to version-1.3.0 from upstream (Carl Dong) 90fd13b guix: Pin kernel header version (Carl Dong) Pull request description: ``` - Use 4.19 for riscv64 (earliest LTS release w/ riscv64 support) - Use 4.9 for all others (second-oldest LTS release, released in combination with glibc glibc 2.24 in Debian stretch) ``` ``` The chosen commit is the HEAD of Guix's version-1.3.0 branch as of July 15th, 2021. Also fix visual indenting. ``` ----- This + the documentation PR should make our Guix system ready for release! ACKs for top commit: MarcoFalke: review ACK e6a94d4 to change to vanilla guix. Did not review the kernel change. laanwj: ACK e6a94d4 fanquake: ACK e6a94d4 Tree-SHA512: a175e4ddb3ee786a39f5e800ce336932ad2f6797a3a28400a6f723875d0f19833fd36cedc41b3580e4604110517211bd9f557be36adf7265fd8e591c434ae032
2 parents 4fdd0ff + e6a94d4 commit 201c5e4

File tree

3 files changed

+14
-12
lines changed

3 files changed

+14
-12
lines changed

contrib/guix/guix-build

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,8 +238,8 @@ SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH:-$(git log --format=%at -1)}"
238238
# across time.
239239
time-machine() {
240240
# shellcheck disable=SC2086
241-
guix time-machine --url=https://github.com/dongcarl/guix.git \
242-
--commit=490e39ff303f4f6873a04bfb8253755bdae1b29c \
241+
guix time-machine --url=https://git.savannah.gnu.org/git/guix.git \
242+
--commit=aa34d4d28dfe25ba47d5800d05000fb7221788c0 \
243243
--cores="$JOBS" \
244244
--keep-failed \
245245
--fallback \

contrib/guix/guix-codesign

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -226,14 +226,14 @@ SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH:-$(git log --format=%at -1)}"
226226
# across time.
227227
time-machine() {
228228
# shellcheck disable=SC2086
229-
guix time-machine --url=https://github.com/dongcarl/guix.git \
230-
--commit=490e39ff303f4f6873a04bfb8253755bdae1b29c \
231-
--cores="$JOBS" \
232-
--keep-failed \
233-
--fallback \
234-
${SUBSTITUTE_URLS:+--substitute-urls="$SUBSTITUTE_URLS"} \
235-
${ADDITIONAL_GUIX_COMMON_FLAGS} ${ADDITIONAL_GUIX_TIMEMACHINE_FLAGS} \
236-
-- "$@"
229+
guix time-machine --url=https://git.savannah.gnu.org/git/guix.git \
230+
--commit=aa34d4d28dfe25ba47d5800d05000fb7221788c0 \
231+
--cores="$JOBS" \
232+
--keep-failed \
233+
--fallback \
234+
${SUBSTITUTE_URLS:+--substitute-urls="$SUBSTITUTE_URLS"} \
235+
${ADDITIONAL_GUIX_COMMON_FLAGS} ${ADDITIONAL_GUIX_TIMEMACHINE_FLAGS} \
236+
-- "$@"
237237
}
238238

239239
# Make sure an output directory exists for our builds

contrib/guix/manifest.scm

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ chain for " target " development."))
156156
(define* (make-bitcoin-cross-toolchain target
157157
#:key
158158
(base-gcc-for-libc gcc-7)
159-
(base-kernel-headers linux-libre-headers-5.4)
159+
(base-kernel-headers linux-libre-headers-4.9)
160160
(base-libc (make-glibc-without-ssp glibc-2.24))
161161
(base-gcc (make-gcc-rpath-link base-gcc)))
162162
"Convenience wrapper around MAKE-CROSS-TOOLCHAIN with default values
@@ -647,7 +647,9 @@ inspecting signatures in Mach-O binaries.")
647647
osslsigncode))
648648
((string-contains target "-linux-")
649649
(list (cond ((string-contains target "riscv64-")
650-
(make-bitcoin-cross-toolchain target #:base-libc glibc-2.27/bitcoin-patched))
650+
(make-bitcoin-cross-toolchain target
651+
#:base-libc glibc-2.27/bitcoin-patched
652+
#:base-kernel-headers linux-libre-headers-4.19))
651653
(else
652654
(make-bitcoin-cross-toolchain target)))))
653655
((string-contains target "darwin")

0 commit comments

Comments
 (0)