Created
August 3, 2024 00:16
-
-
Save sunshowers/9b6774edfabbea6985881617302caf34 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Commit ID: 87f14192619dc82027cb57915c5cb116e08f4b5d | |
Change ID: vwzxlpmuzslltktrovsuxkrkzlptplkl | |
Author: Rain <rain@oxide.computer> (2024-07-27 02:06:50.000 +00:00) | |
Committer: Rain <rain@sunshowers.io> (2024-08-02 22:14:54.000 +00:00) | |
patch to bootstrap to use tar.xz files | |
diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py | |
index 4e8e0fd253...7c4c0ec3c6 100644 | |
--- a/src/bootstrap/bootstrap.py | |
+++ b/src/bootstrap/bootstrap.py | |
@@ -67,9 +67,10 @@ | |
eprint("ignoring already-download file", | |
path, "due to failed verification") | |
os.unlink(path) | |
- download(temp_path, "{}/{}".format(base, url), True, verbose) | |
- if not verify(temp_path, sha256, verbose): | |
- raise RuntimeError("failed verification") | |
+ shutil.copyfile("/home/rain/dev/rust-1.80-illumos/dist/" + os.path.basename(url), temp_path) | |
+ # download(temp_path, "{}/{}".format(base, url), True, verbose) | |
+ #if not verify(temp_path, sha256, verbose): | |
+ # raise RuntimeError("failed verification") | |
if verbose: | |
eprint("moving {} to {}".format(temp_path, path)) | |
shutil.move(temp_path, path) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment