aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2023-06-16 14:17:34 -0400
committerMike Gilbert <floppym@gentoo.org>2023-06-16 14:17:34 -0400
commit54839f5869b46c727c43f247e421b1f9e32704d4 (patch)
treee8e106f7d0a673d7b86f1c00483e8a23ffcbf9dc /wrappers/emerge-wrapper
parentcrossdev: initial nvptx-none porting (diff)
downloadcrossdev-54839f5869b46c727c43f247e421b1f9e32704d4.tar.gz
crossdev-54839f5869b46c727c43f247e421b1f9e32704d4.tar.bz2
crossdev-54839f5869b46c727c43f247e421b1f9e32704d4.zip
Avoid calling portageq from Makefile20230616
It is probably better to look up the repo path at runtime anyway. Bug: https://bugs.gentoo.org/908602 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'wrappers/emerge-wrapper')
-rwxr-xr-xwrappers/emerge-wrapper3
1 files changed, 2 insertions, 1 deletions
diff --git a/wrappers/emerge-wrapper b/wrappers/emerge-wrapper
index 051948a..87dcb00 100755
--- a/wrappers/emerge-wrapper
+++ b/wrappers/emerge-wrapper
@@ -1,5 +1,5 @@
#!/bin/bash
-# Copyright 2008-2010 Gentoo Foundation
+# Copyright 2008-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
if [[ $1 == "--help" || $1 == "-h" ]] ; then
@@ -37,6 +37,7 @@ cross_wrap_etc()
setup_warning=false
cp -a "${PREFIX}"/share/crossdev/etc ${SYSROOT}/ || return 1
+ ln -snf "${MAIN_REPO_PATH}/profiles/embedded" "${SYSROOT}/etc/portage/make.profile" || return 1
local confs=(
${SYSROOT}/etc/portage/make.conf