aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2019-08-30 08:30:43 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2019-08-30 08:30:43 +0100
commitbe327d4e749d3cc8ece772c87843b64d856cbbf0 (patch)
treeee05e5f3a18f8389d0024b96c23855718f7deb13 /wrappers/emerge-wrapper
parentcrossdev: add a comment into revdep-rebuild entry where is comes from. (diff)
downloadcrossdev-be327d4e749d3cc8ece772c87843b64d856cbbf0.tar.gz
crossdev-be327d4e749d3cc8ece772c87843b64d856cbbf0.tar.bz2
crossdev-be327d4e749d3cc8ece772c87843b64d856cbbf0.zip
wrappers/emerge-wrapper: drop population of profile/package.provided
'profile/package.provided' is created empty for quite a while because wrapper init is called before any cross-* package gets merged. Let's drop that completely and focus on always installing headers and libc into target. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'wrappers/emerge-wrapper')
-rwxr-xr-xwrappers/emerge-wrapper10
1 files changed, 0 insertions, 10 deletions
diff --git a/wrappers/emerge-wrapper b/wrappers/emerge-wrapper
index d084a96..381214e 100755
--- a/wrappers/emerge-wrapper
+++ b/wrappers/emerge-wrapper
@@ -84,16 +84,6 @@ cross_wrap_etc()
-e "s:__CBUILD__:${CBUILD}:g" \
"${confs[@]}"
- # Try to figure out the libc version & os headers to avoid installing over top of it.
- # XXX: Would be nice to use virtual/libc and virtual/os-headers here ...
- # TODO: this does not work as crossdev calls --init before any packages are installed
- cd "${SYSROOT}/etc/portage"
- mkdir -p profile
- qlist -ICv "cross-${CHOST}/" | \
- egrep '/(linux-headers|glibc|musl|newlib|uclibc)-' | \
- sed "s:^[^/]*:sys-libs:" \
- > profile/package.provided
-
return 0
}