commit: 99fb2b0902cd1315df2aa40940068d565779224a Author: Benda Xu <heroxbd <AT> gentoo <DOT> org> AuthorDate: Thu Jun 9 01:50:33 2016 +0000 Commit: Benda XU <heroxbd <AT> gentoo <DOT> org> CommitDate: Fri Jun 10 01:47:29 2016 +0000 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=99fb2b09
bootstrap-prefix.sh: copy hosts instead of linking it. Portage has modifications to hosts. scripts/bootstrap-prefix.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh index 13fc48a..6fd749c 100755 --- a/scripts/bootstrap-prefix.sh +++ b/scripts/bootstrap-prefix.sh @@ -268,7 +268,7 @@ EOF [[ -f ${ROOT}/etc/group ]] || getent group > "${ROOT}"/etc/group || \ ln -sf {,"${ROOT}"}/etc/group [[ -f ${ROOT}/etc/resolv.conf ]] || ln -s {,"${ROOT}"}/etc/resolv.conf - [[ -f ${ROOT}/etc/hosts ]] || ln -s {,"${ROOT}"}/etc/hosts + [[ -f ${ROOT}/etc/hosts ]] || cp {,"${ROOT}"}/etc/hosts local legacy=$(profile-legacy) fi