lib/crate.py: update magic hash for new cargo

This commit is contained in:
Steven Walter
2016-09-02 20:14:02 -04:00
parent f89057c0af
commit 08ac2819f8
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -91,8 +91,8 @@ cargo_util_do_compile () {
cd "${B}"
# prevent cargo from trying to fetch down new data
mkdir -p "${WORKDIR}/cargo_home/registry/index/"
touch "${WORKDIR}/cargo_home/registry/index/.cargo-index-lock"
mkdir -p "${WORKDIR}/cargo_home/registry/index/github.com-1ecc6299db9ec823"
touch "${WORKDIR}/cargo_home/registry/index/github.com-1ecc6299db9ec823/.cargo-index-lock"
oe_cargo_fix_env
oe_cargo_build
+2 -1
View File
@@ -35,7 +35,8 @@ class Crate(Wget):
def _cargo_path(self, rootdir, component):
# TODO: make this less brittle
repo = "github.com-88ac128001ac3a9a"
# This can go away entirely once we can build a cargo that supports source-replacement
repo = "github.com-1ecc6299db9ec823"
return os.path.join(rootdir, "cargo_home", "registry", component, repo)
def _cargo_src_path(self, rootdir):