1 |
Here's how I did it... |
2 |
|
3 |
* Ensured that CONFIG_IA32_EMULATION was set in the kernel config of the |
4 |
64-bit host linux (Gentoo) |
5 |
|
6 |
* rsync'd an entire install of CentOS 6.5, lock-stock-and-barrel, from a |
7 |
QEMU VM to /home/misc/centos65 |
8 |
|
9 |
* rm -rf /home/misc/centos65/dev /home/misc/centos65/sys /home/misc/centos65/proc |
10 |
|
11 |
* mount --bind /dev /home/misc/centos65/dev |
12 |
mount --bind /proc /home/misc/centos65/proc |
13 |
|
14 |
* cp /etc/resolv.conf /home/misc/centos65/etc/resolv.conf |
15 |
|
16 |
* /usr/bin/linux32 /usr/bin/chroot /home/misc/centos65/ /bin/bash |
17 |
|
18 |
Then I executed "su -" to a regular user, and set up and ran the |
19 |
32-bit Pale Moon build. It works! The reasons for the bind mounts... |
20 |
|
21 |
- /dev because a lot of stuff seems to use /dev/null |
22 |
- /proc because my build script checks /proc/cpuinfo to figure out the |
23 |
setting for MOZ_MAKE_FLAGS (similar to MAKEOPTS in make.conf) |
24 |
|
25 |
-- |
26 |
Walter Dnes <waltdnes@××××××××.org> |
27 |
I don't run "desktop environments"; I run useful applications |