Gentoo Archives: gentoo-commits

From: Benda XU <heroxbd@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/prefix:master commit in: scripts/
Date: Thu, 26 May 2016 04:20:40
Message-Id: 1464236421.fd77eb779f23f839d9ee85d4bb39dce01915dd41.heroxbd@gentoo
1 commit: fd77eb779f23f839d9ee85d4bb39dce01915dd41
2 Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 25 11:38:22 2016 +0000
4 Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
5 CommitDate: Thu May 26 04:20:21 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=fd77eb77
7
8 scripts/bootstrap-prefix.sh: openrc-run shebang place holder.
9
10 scripts/bootstrap-prefix.sh | 4 ++++
11 1 file changed, 4 insertions(+)
12
13 diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
14 index 0ba0d5a..228bf90 100755
15 --- a/scripts/bootstrap-prefix.sh
16 +++ b/scripts/bootstrap-prefix.sh
17 @@ -1373,6 +1373,10 @@ bootstrap_stage3() {
18 virtual/os-headers
19 sys-apps/portage
20 )
21 + if [[ ! -x "${ROOT}"/sbin/openrc-run ]]; then
22 + echo "We need openrc-run at ${ROOT}/sbin to merge rsync." > "${ROOT}"/sbin/openrc-run
23 + chmod +x "${ROOT}"/sbin/openrc-run
24 + fi
25 USE="ssl" \
26 emerge_pkgs "" "${pkgs[@]}" || return 1