Here's how I did it...

* Ensured that CONFIG_IA32_EMULATION was set in the kernel config of the
  64-bit host linux (Gentoo)

* rsync'd an entire install of CentOS 6.5, lock-stock-and-barrel, from a
  QEMU VM to /home/misc/centos65

* rm -rf /home/misc/centos65/dev /home/misc/centos65/sys 
/home/misc/centos65/proc

* mount --bind /dev /home/misc/centos65/dev
  mount --bind /proc /home/misc/centos65/proc

* cp /etc/resolv.conf /home/misc/centos65/etc/resolv.conf

* /usr/bin/linux32 /usr/bin/chroot /home/misc/centos65/ /bin/bash

  Then I executed "su -" to a regular user, and set up and ran the
32-bit Pale Moon build.  It works!  The reasons for the bind mounts...

- /dev because a lot of stuff seems to use /dev/null
- /proc because my build script checks /proc/cpuinfo to figure out the
  setting for MOZ_MAKE_FLAGS (similar to MAKEOPTS in make.conf)

-- 
Walter Dnes <waltd...@waltdnes.org>
I don't run "desktop environments"; I run useful applications

Reply via email to