From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 5A2AA13829C for ; Fri, 10 Jun 2016 03:30:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E10E6142B2; Fri, 10 Jun 2016 03:29:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CB4F614235 for ; Fri, 10 Jun 2016 03:29:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 01156340CC7 for ; Fri, 10 Jun 2016 03:29:56 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7F4D82411 for ; Fri, 10 Jun 2016 03:29:51 +0000 (UTC) From: "Benda XU" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Benda XU" Message-ID: <1465523249.99fb2b0902cd1315df2aa40940068d565779224a.heroxbd@gentoo> Subject: [gentoo-commits] repo/proj/prefix:rap0 commit in: scripts/ X-VCS-Repository: repo/proj/prefix X-VCS-Files: scripts/bootstrap-prefix.sh X-VCS-Directories: scripts/ X-VCS-Committer: heroxbd X-VCS-Committer-Name: Benda XU X-VCS-Revision: 99fb2b0902cd1315df2aa40940068d565779224a X-VCS-Branch: rap0 Date: Fri, 10 Jun 2016 03:29:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: f43d0c91-a527-4c59-b327-27403279a9ec X-Archives-Hash: 8a81fa9ed2478d2be71713ab08c2382b commit: 99fb2b0902cd1315df2aa40940068d565779224a Author: Benda Xu gentoo org> AuthorDate: Thu Jun 9 01:50:33 2016 +0000 Commit: Benda XU gentoo 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