From: Simon Stelling Date: Tue, 16 Jan 2007 14:05:26 +0000 (+0000) Subject: fix bug 162353 and remove old version X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2578ec16f1babbd47a64ca874c0a11e064faf3b2;p=gentoo.git fix bug 162353 and remove old version Package-Manager: portage-2.1.2_rc4-r6 --- diff --git a/app-emulation/x86-chroot/ChangeLog b/app-emulation/x86-chroot/ChangeLog index c86a8b11c1d7..3bd6c3a6cb1a 100644 --- a/app-emulation/x86-chroot/ChangeLog +++ b/app-emulation/x86-chroot/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-emulation/x86-chroot -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/x86-chroot/ChangeLog,v 1.4 2006/10/04 08:57:08 blubb Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/x86-chroot/ChangeLog,v 1.5 2007/01/16 14:05:26 blubb Exp $ + + 16 Jan 2007; files/initd, files/x86-chroot, + -x86-chroot-2006.0.ebuild: + fix bug 162353 and remove old version 04 Oct 2006; Simon Stelling x86-chroot-2006.1.ebuild: tweak make.conf for bug 150022 diff --git a/app-emulation/x86-chroot/files/initd b/app-emulation/x86-chroot/files/initd index 084447a474fc..0bd9bb1d52ea 100644 --- a/app-emulation/x86-chroot/files/initd +++ b/app-emulation/x86-chroot/files/initd @@ -15,7 +15,7 @@ start() { mount -o bind ${loc} ${CHROOT_LOCATION}${loc} >/dev/null done eval "$(portageq envvar -v PORTDIR DISTDIR)" - [[ -d ${PORTDIR}/distfiles ]] || mkdir ${PORTDIR}/distfiles + [[ -d ${CHROOT_LOCATION}/usr/portage/distfiles ]] || mkdir -p ${CHROOT_LOCATION}/usr/portage/distfiles mount -o bind ${PORTDIR} ${CHROOT_LOCATION}/usr/portage >/dev/null mount -o bind ${DISTDIR} ${CHROOT_LOCATION}/usr/portage/distfiles >/dev/null eend $? "An error occured while attempting to mount 32bit chroot directories" @@ -25,7 +25,6 @@ start() { [[ -f /etc/${conffile} ]] && cp -pf /etc/${conffile} ${CHROOT_LOCATION}/etc >/dev/null & done cp -Ppf /etc/localtime ${CHROOT_LOCATION}/etc >/dev/null & - which xhost &>/dev/null && xhost local:localhost &>/dev/null eend $? "An error occured while attempting to copy 32 bits chroot files." } diff --git a/app-emulation/x86-chroot/files/x86-chroot b/app-emulation/x86-chroot/files/x86-chroot index 966c4dac086f..6233c243d91d 100644 --- a/app-emulation/x86-chroot/files/x86-chroot +++ b/app-emulation/x86-chroot/files/x86-chroot @@ -1,3 +1,4 @@ #!/bin/bash source /etc/conf.d/x86-chroot +which xhost &>/dev/null && xhost local:localhost &>/dev/null linux32 chroot ${CHROOT_LOCATION} /bin/bash