On 24/02/10 11:17, Daniel J Griffiths (Ghost1227) wrote:
I've always thought the method of modifying your local mirrorlist, running mkarchroot, then reverting the changes to be more tedious than necessary for creation of i686 chroots on x86_64. My recent work with setting up a dedicated build server gave me plenty of time and an excuse to actually do something about it. As such, I've put together a little patch that allows specification of creation of an i686 chroot at runtime. When set, this flag will automatically modify your local mirrorlist, create the requested i686 chroot, then revert the changes to the mirrorlist file. I don't know if others would find this useful or not, but I figured it wouldn't hurt to post it.
I actually have the opposite but the same issue (create x86_64 chroot on i686). My approach is to have a pacman64.conf which has one mirror specified in it and the mirrorlist inclusions commented out. That also means I use a clean pacman.conf and not my local one which has some additional repos added and other modifications... Allan