Confirmed users
72
edits
GavinSharp (talk | contribs) mNo edit summary |
No edit summary |
||
Line 57: | Line 57: | ||
</pre></code> | </pre></code> | ||
= Notes on 64 Bit Ubuntu Ibex = | |||
Scratchbox contains 32 bit binaries which must be accommodated on a 64 bit system. The easiest way to do this is with a 32 bit chroot. Scratchbox also uses a chroot - so they will be executing 2 deep when the build is done. | |||
Steps 1 through 4 in http://danielkitta.org/howto/maemo-amd64 provide a guide to setting up a 32 bit chroot under ubuntu. Use "hardy" or "intrepid" instead of "dapper" in the instructions in order to have a glibc current enough to run scratchbox. | |||
When that is complete, change to the chroot (linux32 dchroot -c hardy-i386 -d) and you can install scratchbox largely based on the instructions above, with a few modifications: | |||
* change `uname -m` in maemo-scratchbox-install to be `linux32 uname -m` | |||
* in sysctl.conf, instead of vm.vdso_enabled =0 , use abi.vsyscall32 = 0 (do this in the real root, not the chroot), Indeed this is needed for either 32 or 64 bit Ibex. | |||
* make certain binfmt_misc is loaded (modprobe -a binfmt_misc) | |||
* inside chroot make sure /proc is mounted (mount /proc) | |||
= Upgrading a centos ref vm with scratchbox installed = | = Upgrading a centos ref vm with scratchbox installed = |