1 |
commit: ca38032064b6bbcf36604e5c0421eac7533a0243 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 10 21:02:28 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 10 21:02:39 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca380320 |
7 |
|
8 |
sys-fs/static-dev: fix ROOT check for EAPI 7 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/795285 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
.../static-dev/{static-dev-0.1-r1.ebuild => static-dev-0.1-r2.ebuild} | 2 +- |
14 |
1 file changed, 1 insertion(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/sys-fs/static-dev/static-dev-0.1-r1.ebuild b/sys-fs/static-dev/static-dev-0.1-r2.ebuild |
17 |
similarity index 97% |
18 |
rename from sys-fs/static-dev/static-dev-0.1-r1.ebuild |
19 |
rename to sys-fs/static-dev/static-dev-0.1-r2.ebuild |
20 |
index 42c60e497de..ca46b76ab1e 100644 |
21 |
--- a/sys-fs/static-dev/static-dev-0.1-r1.ebuild |
22 |
+++ b/sys-fs/static-dev/static-dev-0.1-r2.ebuild |
23 |
@@ -30,7 +30,7 @@ pkg_pretend() { |
24 |
fi |
25 |
|
26 |
# We also want to not clobber newer devtmpfs setups. |
27 |
- if [[ ${ROOT} == "/" ]] && \ |
28 |
+ if [[ -z ${ROOT} ]] && \ |
29 |
! awk '$2 == "/dev" && $3 == "devtmpfs" { exit 1 }' /proc/mounts ; then |
30 |
abort |
31 |
fi |