# 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; <blubb@gentoo.org> files/initd, files/x86-chroot,
+ -x86-chroot-2006.0.ebuild:
+ fix bug 162353 and remove old version
04 Oct 2006; Simon Stelling <blubb@gentoo.org> x86-chroot-2006.1.ebuild:
tweak make.conf for bug 150022
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"
[[ -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."
}
#!/bin/bash
source /etc/conf.d/x86-chroot
+which xhost &>/dev/null && xhost local:localhost &>/dev/null
linux32 chroot ${CHROOT_LOCATION} /bin/bash