1 |
and drop file removal hack. |
2 |
with --no-track those files are never created. |
3 |
|
4 |
Signed-off-by: Georgy Yakovlev <gyakovlev@g.o> |
5 |
--- |
6 |
eclass/cargo.eclass | 4 +--- |
7 |
1 file changed, 1 insertion(+), 3 deletions(-) |
8 |
|
9 |
diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass |
10 |
index d37293ada136..1a8d665fdad2 100644 |
11 |
--- a/eclass/cargo.eclass |
12 |
+++ b/eclass/cargo.eclass |
13 |
@@ -516,6 +516,7 @@ cargo_src_install() { |
14 |
die "FATAL: please call cargo_gen_config before using ${FUNCNAME}" |
15 |
|
16 |
set -- cargo install $(has --path ${@} || echo --path ./) \ |
17 |
+ --no-track \ |
18 |
--root "${ED}/usr" \ |
19 |
${GIT_CRATES[@]:+--frozen} \ |
20 |
$(usex debug --debug "") \ |
21 |
@@ -523,9 +524,6 @@ cargo_src_install() { |
22 |
einfo "${@}" |
23 |
"${@}" || die "cargo install failed" |
24 |
|
25 |
- rm -f "${ED}/usr/.crates.toml" || die |
26 |
- rm -f "${ED}/usr/.crates2.json" || die |
27 |
- |
28 |
# it turned out to be non-standard dir, so get rid of it future EAPI |
29 |
# and only run for EAPI=7 |
30 |
# https://bugs.gentoo.org/715890 |
31 |
-- |
32 |
2.39.1 |