forked from kiss-community/repo
rust: remove internet connection requirement per build.
This commit is contained in:
parent
af7d59772f
commit
b0f591d15e
@ -1,5 +1,18 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
# This package mimics the download process of rust's 'x.py'
|
||||||
|
# bootstrap library to allow for the removal of the internet
|
||||||
|
# connection requirement per build further enabling checksums
|
||||||
|
# and signature verification by KISS.
|
||||||
|
{
|
||||||
|
cache_dir=build/cache/2019-08-15
|
||||||
|
mkdir -p "$cache_dir"
|
||||||
|
|
||||||
|
for tarball in *.tar.gz\#no-extract; do
|
||||||
|
mv -f "$tarball" "$cache_dir/${tarball%%\#no-extract}"
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
patch -p1 < musl-libressl.patch
|
patch -p1 < musl-libressl.patch
|
||||||
|
|
||||||
# 'rust' checksums files in 'vendor/', but we patch a few files.
|
# 'rust' checksums files in 'vendor/', but we patch a few files.
|
||||||
|
@ -1,2 +1,5 @@
|
|||||||
644263ca7c7106f8ee8fcde6bb16910d246b30668a74be20b8c7e0e9f4a52d80 rustc-1.38.0-src.tar.gz
|
644263ca7c7106f8ee8fcde6bb16910d246b30668a74be20b8c7e0e9f4a52d80 rustc-1.38.0-src.tar.gz
|
||||||
|
fa1d98bf18fb49ff58a70d51ff7924e4d1975f7812dc5217ea31652bf8b7bca4 rust-std-1.37.0-x86_64-unknown-linux-musl.tar.gz#no-extract
|
||||||
|
1981b67c0cbcaf37f40ee9576d6d1b9a554019e571fc4c49ee9457cf011e0f75 rustc-1.37.0-x86_64-unknown-linux-musl.tar.gz#no-extract
|
||||||
|
cbc10b662b36be72f94803bf3a977051648ccef29d914fede1fa7fff04c784b4 cargo-0.38.0-x86_64-unknown-linux-musl.tar.gz#no-extract
|
||||||
9987f344bbce0424199b1fc65dfd3136b7c562520a371f01ce79321dc55019cf musl-libressl.patch
|
9987f344bbce0424199b1fc65dfd3136b7c562520a371f01ce79321dc55019cf musl-libressl.patch
|
||||||
|
@ -1,2 +1,5 @@
|
|||||||
https://static.rust-lang.org/dist/rustc-1.38.0-src.tar.gz
|
https://static.rust-lang.org/dist/rustc-1.38.0-src.tar.gz
|
||||||
|
https://static.rust-lang.org/dist/2019-08-15/rust-std-1.37.0-x86_64-unknown-linux-musl.tar.gz#no-extract
|
||||||
|
https://static.rust-lang.org/dist/2019-08-15/rustc-1.37.0-x86_64-unknown-linux-musl.tar.gz#no-extract
|
||||||
|
https://static.rust-lang.org/dist/2019-08-15/cargo-0.38.0-x86_64-unknown-linux-musl.tar.gz#no-extract
|
||||||
patches/musl-libressl.patch
|
patches/musl-libressl.patch
|
||||||
|
Loading…
Reference in New Issue
Block a user