commit:     fd77eb779f23f839d9ee85d4bb39dce01915dd41
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Wed May 25 11:38:22 2016 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Thu May 26 04:20:21 2016 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=fd77eb77

scripts/bootstrap-prefix.sh: openrc-run shebang place holder.

 scripts/bootstrap-prefix.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index 0ba0d5a..228bf90 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -1373,6 +1373,10 @@ bootstrap_stage3() {
                virtual/os-headers
                sys-apps/portage
        )
+       if [[ ! -x "${ROOT}"/sbin/openrc-run ]]; then
+               echo "We need openrc-run at ${ROOT}/sbin to merge rsync." > 
"${ROOT}"/sbin/openrc-run
+               chmod +x "${ROOT}"/sbin/openrc-run
+       fi
        USE="ssl" \
        emerge_pkgs "" "${pkgs[@]}" || return 1
 

Reply via email to