FreeBSD/LiveCD

From Secure Computing Wiki
Revision as of 13:38, 6 July 2010 by Ecrist (Talk | contribs) (Created page with '== 32bit within 64bit land == <pre>14:31 < ecrist> if I chroot to a 32-bit env on a 64-bit host, it wants to install 64-bit packages, can I change that somehow? 14:33 < jpaetzel>...')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

32bit within 64bit land

14:31 < ecrist> if I chroot to a 32-bit env on a 64-bit host, it wants to install 64-bit packages, can I change that somehow?
14:33 < jpaetzel> yeah
14:33 < jpaetzel> if you do man uname
14:34 < jpaetzel> There are some env vars you can set to fool things into thinking it's 32 bit
14:35 < jpaetzel> # setenv MACHINE i386
14:35 < jpaetzel> # setenv UNAME_p i386
14:35 < jpaetzel> # setenv UNAME_m i386