diff --git a/prepare.sh b/prepare.sh index 02a2747..bad0e5f 100755 --- a/prepare.sh +++ b/prepare.sh @@ -42,9 +42,11 @@ if [ ! -f portage/make.conf/10-crossdev.conf ]; then > "${O}"/portage/etc/portage/make.conf/10-crossdev.conf fi -FEATURES="${FEATURES}" \ +FEATURES="${FEATURES} -preserve-libs -protect-owned" \ PKGDIR="${PKGDIR}" \ -${target}-emerge -bk1nvj sys-libs/glibc +emerge -bk1nvj \ + --root=/usr/"${target}" --sysroot=/usr/"${target}" \ + sys-libs/glibc FEATURES="${FEATURES}" \ PKGDIR=$(portageq envvar PKGDIR) \